How to download and configure php mvc website locally

How to download and configure php mvc website locally

am 20.08.2009 08:25:57 von Sumit Sharma

--001485f6c95e0fd24204718cd3ba
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi,
Please help as I have downloaded a php website for my client which is
developed using model view controller pattern. Now when I am accessing this
site locally it is not showing any thing. Please tell me the what's the
problem

Thanks,
Sumit Sharma

--001485f6c95e0fd24204718cd3ba--

Re: How to download and configure php mvc website locally

am 20.08.2009 09:48:20 von Sudheer Satyanarayana

Sumit Sharma wrote:
> Hi,
> Please help as I have downloaded a php website for my client which is
> developed using model view controller pattern. Now when I am accessing this
> site locally it is not showing any thing. Please tell me the what's the
> problem
>
> Thanks,
> Sumit Sharma
>
>
It should at least show some error messages. Look into the logs of your
web server and try to fix them.

We will be able to help you if you provide us more information about
your application.



--

With warm regards,
Sudheer. S
Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net, Personal: http://sudheer.net


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: How to download and configure php mvc website locally

am 20.08.2009 11:00:46 von Sumit Sharma

--001485f6d2f0bd693904718efcdf
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi all,
The site I have download was developed using cake php. Now when trying to
access the website it is showing a blank page. As Sudheer suggested I went
to error log and noted down the errors there, which are as follows:

[Thu Aug 20 14:10:16 2009] [error] [client 127.0.0.1] File does not exist:
F:/Rabin/xampp/htdocs/favicon.ico

I think there is no file called favicon.ico but how to create this file. Is
this something related to cakephp configuration.

Regards,
Sumit



On Wed, Aug 19, 2009 at 8:25 PM, Sumit Sharma wrote:

> Hi,
> Please help as I have downloaded a php website for my client which is
> developed using model view controller pattern. Now when I am accessing this
> site locally it is not showing any thing. Please tell me the what's the
> problem
>
> Thanks,
> Sumit Sharma
>

--001485f6d2f0bd693904718efcdf--

Re: Re: How to download and configure php mvc website locally

am 20.08.2009 11:43:06 von Ashley Sheridan

On Wed, 2009-08-19 at 23:00 -1000, Sumit Sharma wrote:
> Hi all,
> The site I have download was developed using cake php. Now when trying to
> access the website it is showing a blank page. As Sudheer suggested I went
> to error log and noted down the errors there, which are as follows:
>
> [Thu Aug 20 14:10:16 2009] [error] [client 127.0.0.1] File does not exist:
> F:/Rabin/xampp/htdocs/favicon.ico
>
> I think there is no file called favicon.ico but how to create this file. Is
> this something related to cakephp configuration.
>
> Regards,
> Sumit
>
>
>
> On Wed, Aug 19, 2009 at 8:25 PM, Sumit Sharma wrote:
>
> > Hi,
> > Please help as I have downloaded a php website for my client which is
> > developed using model view controller pattern. Now when I am accessing this
> > site locally it is not showing any thing. Please tell me the what's the
> > problem
> >
> > Thanks,
> > Sumit Sharma
> >
This is not related to Cake whatsoever, and a 5 second Google search
would have told you that. Is the app perhaps using a database that
you've not set up? Are the permissions on the files exactly as they are
on the remote app? Is the server set up in the same general way? Are
there any missing web server modules that the app requires that you need
to add in locally?

There are a lot of questions here, but in order for anyone to help, we
need a bit more information. A blank screen could be caused by any
number of issues. What other messages are in your error log?

Thanks,
Ash
http://www.ashleysheridan.co.uk




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: How to download and configure php mvc website locally

am 20.08.2009 11:55:47 von Nitebirdz

On Wed, Aug 19, 2009 at 11:00:46PM -1000, Sumit Sharma wrote:
> Hi all,
> The site I have download was developed using cake php. Now when trying to
> access the website it is showing a blank page. As Sudheer suggested I went
> to error log and noted down the errors there, which are as follows:
>
> [Thu Aug 20 14:10:16 2009] [error] [client 127.0.0.1] File does not exist:
> F:/Rabin/xampp/htdocs/favicon.ico
>
> I think there is no file called favicon.ico but how to create this file. Is
> this something related to cakephp configuration.
>

As far as I know, this shouldn't cause the problem you are describing
here. The "favicon.ico" file only contains the small icon you see to
the left of the URL in your browser. If it doesn't exist, the browser
will just use a generic one.

I'd suggest proceeding as follows:

o Within the browser window displaying the page you are having
problems with, check the source code. This way you can see what the
server returns to the client (the browser, in this case) and rule
out possible issues caused by the browser itself while rendering a
page.

o Continue searching the web server logs for other more meaningful
errors.


Are you sure you don't see any other errors in the browser window?
Also, are you sure you simulated the very same environment from the
original system? Same directories, databases, etc.? I'm not familiar
with CakePHP, but perhaps you need to set certain config options to get
it to work.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: How to download and configure php mvc website locally

am 22.08.2009 06:10:02 von Paul M Foster

On Wed, Aug 19, 2009 at 11:00:46PM -1000, Sumit Sharma wrote:

> Hi all,
> The site I have download was developed using cake php. Now when trying to
> access the website it is showing a blank page. As Sudheer suggested I went
> to error log and noted down the errors there, which are as follows:
>
> [Thu Aug 20 14:10:16 2009] [error] [client 127.0.0.1] File does not exist:
> F:/Rabin/xampp/htdocs/favicon.ico
>
> I think there is no file called favicon.ico but how to create this file. Is
> this something related to cakephp configuration.
>
> Regards,
> Sumit

Lack of favicon.ico will show up in your logs if the file isn't there,
but it will do nothing to prevent your site from showing up.

Frameworks like CakePHP require additional files and database tables to
be created by the programmer, before anything will show up on the
screen. There are either omitted files or missing tables (or missing
table rows).

Paul

--
Paul M. Foster

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: How to download and configure php mvc website locally

am 22.08.2009 18:04:32 von Shawn McKenzie

Sumit Sharma wrote:
> Hi all,
> The site I have download was developed using cake php. Now when trying to
> access the website it is showing a blank page. As Sudheer suggested I went
> to error log and noted down the errors there, which are as follows:
>
> [Thu Aug 20 14:10:16 2009] [error] [client 127.0.0.1] File does not exist:
> F:/Rabin/xampp/htdocs/favicon.ico
>
> I think there is no file called favicon.ico but how to create this file. Is
> this something related to cakephp configuration.
>
> Regards,
> Sumit
>
>
>
> On Wed, Aug 19, 2009 at 8:25 PM, Sumit Sharma wrote:
>
>> Hi,
>> Please help as I have downloaded a php website for my client which is
>> developed using model view controller pattern. Now when I am accessing this
>> site locally it is not showing any thing. Please tell me the what's the
>> problem
>>
>> Thanks,
>> Sumit Sharma
>>
>

Have you installed the CakePHP framework in your include path?

--
Thanks!
-Shawn
http://www.spidean.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php