[PHP] Re: How to download and configure php mvc website locally

2009-08-22 Thread 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



Re: [PHP] Re: How to download and configure php mvc website locally

2009-08-21 Thread 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: [PHP] Re: How to download and configure php mvc website locally

2009-08-20 Thread 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: [PHP] Re: How to download and configure php mvc website locally

2009-08-20 Thread 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



[PHP] Re: How to download and configure php mvc website locally

2009-08-20 Thread Sumit Sharma
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
>