Project just displays empty page in browser after checkout from SVN

2010-09-09 Thread psybear83
Hello everybody

I have worked on a project on a windows machine using XAMPP. Now I
checked the same project out from Subversion to a mac 10.5 machine.
But when opening it in a browser, the page loads for 2-3 seconds, but
nothing happens: it just stays a blank, white page. No error, nothing.

I'm quite new to CakePHP, so could anybody please help debugging this,
so I can get the stuff to work?

A clean CakePHP installation works without a problem, by the way.

Thanks
Josh

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Project just displays empty page in browser after checkout from SVN

2010-09-09 Thread Joshua Muheim
woah, it was because i hadn't created a database.php file... very
strange, that it doesn't display at least some ort of an include
error?!

On Thu, Sep 9, 2010 at 11:53 AM, psybear83 psybea...@gmail.com wrote:
 Hello everybody

 I have worked on a project on a windows machine using XAMPP. Now I
 checked the same project out from Subversion to a mac 10.5 machine.
 But when opening it in a browser, the page loads for 2-3 seconds, but
 nothing happens: it just stays a blank, white page. No error, nothing.

 I'm quite new to CakePHP, so could anybody please help debugging this,
 so I can get the stuff to work?

 A clean CakePHP installation works without a problem, by the way.

 Thanks
 Josh

 Check out the new CakePHP Questions site http://cakeqs.org and help others 
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups 
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Project just displays empty page in browser after checkout from SVN

2010-09-09 Thread Andrei Mita
I believe it depends on the debug value in your config file. If you migrated
a production app, the debug has to be set to 0.


On Thu, Sep 9, 2010 at 12:59 PM, Joshua Muheim psybea...@gmail.com wrote:

 woah, it was because i hadn't created a database.php file... very
 strange, that it doesn't display at least some ort of an include
 error?!

 On Thu, Sep 9, 2010 at 11:53 AM, psybear83 psybea...@gmail.com wrote:
  Hello everybody
 
  I have worked on a project on a windows machine using XAMPP. Now I
  checked the same project out from Subversion to a mac 10.5 machine.
  But when opening it in a browser, the page loads for 2-3 seconds, but
  nothing happens: it just stays a blank, white page. No error, nothing.
 
  I'm quite new to CakePHP, so could anybody please help debugging this,
  so I can get the stuff to work?
 
  A clean CakePHP installation works without a problem, by the way.
 
  Thanks
  Josh
 
  Check out the new CakePHP Questions site http://cakeqs.org and help
 others with their CakePHP related questions.
 
  You received this message because you are subscribed to the Google Groups
 CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en
 

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Project just displays empty page in browser after checkout from SVN

2010-09-09 Thread Joshua Muheim
Thanks, it's much better now already. But I always get the error

Error:  The requested address '/users/login' was not found on this server.

when accessing a page. Interestingly when I access an invalid URL
(that definitely doesn't exist) the error is

Error:  The requested address '/' was not found on this server.

(always a / instead of the URL itself). Any idea on how to debug this? Thanks.
Josh

On Thu, Sep 9, 2010 at 12:55 PM, Andrei Mita andrei.m...@gmail.com wrote:
 I believe it depends on the debug value in your config file. If you migrated
 a production app, the debug has to be set to 0.


 On Thu, Sep 9, 2010 at 12:59 PM, Joshua Muheim psybea...@gmail.com wrote:

 woah, it was because i hadn't created a database.php file... very
 strange, that it doesn't display at least some ort of an include
 error?!

 On Thu, Sep 9, 2010 at 11:53 AM, psybear83 psybea...@gmail.com wrote:
  Hello everybody
 
  I have worked on a project on a windows machine using XAMPP. Now I
  checked the same project out from Subversion to a mac 10.5 machine.
  But when opening it in a browser, the page loads for 2-3 seconds, but
  nothing happens: it just stays a blank, white page. No error, nothing.
 
  I'm quite new to CakePHP, so could anybody please help debugging this,
  so I can get the stuff to work?
 
  A clean CakePHP installation works without a problem, by the way.
 
  Thanks
  Josh
 
  Check out the new CakePHP Questions site http://cakeqs.org and help
  others with their CakePHP related questions.
 
  You received this message because you are subscribed to the Google
  Groups CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
  at http://groups.google.com/group/cake-php?hl=en
 

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Project just displays empty page in browser after checkout from SVN

2010-09-09 Thread Andrei Mita
Go to /app/config
In core.php you should have Configure::write('debug', 2);

This will give you a very detailed explanation on what's wrong with your
controller/model/view.


On Thu, Sep 9, 2010 at 1:58 PM, Joshua Muheim psybea...@gmail.com wrote:

 Thanks, it's much better now already. But I always get the error

 Error:  The requested address '/users/login' was not found on this server.

 when accessing a page. Interestingly when I access an invalid URL
 (that definitely doesn't exist) the error is

 Error:  The requested address '/' was not found on this server.

 (always a / instead of the URL itself). Any idea on how to debug this?
 Thanks.
 Josh

 On Thu, Sep 9, 2010 at 12:55 PM, Andrei Mita andrei.m...@gmail.com
 wrote:
  I believe it depends on the debug value in your config file. If you
 migrated
  a production app, the debug has to be set to 0.
 
 
  On Thu, Sep 9, 2010 at 12:59 PM, Joshua Muheim psybea...@gmail.com
 wrote:
 
  woah, it was because i hadn't created a database.php file... very
  strange, that it doesn't display at least some ort of an include
  error?!
 
  On Thu, Sep 9, 2010 at 11:53 AM, psybear83 psybea...@gmail.com wrote:
   Hello everybody
  
   I have worked on a project on a windows machine using XAMPP. Now I
   checked the same project out from Subversion to a mac 10.5 machine.
   But when opening it in a browser, the page loads for 2-3 seconds, but
   nothing happens: it just stays a blank, white page. No error, nothing.
  
   I'm quite new to CakePHP, so could anybody please help debugging this,
   so I can get the stuff to work?
  
   A clean CakePHP installation works without a problem, by the way.
  
   Thanks
   Josh
  
   Check out the new CakePHP Questions site http://cakeqs.org and help
   others with their CakePHP related questions.
  
   You received this message because you are subscribed to the Google
   Groups CakePHP group.
   To post to this group, send email to cake-php@googlegroups.com
   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
more options, visit this group
   at http://groups.google.com/group/cake-php?hl=en
  
 
  Check out the new CakePHP Questions site http://cakeqs.org and help
 others
  with their CakePHP related questions.
 
  You received this message because you are subscribed to the Google
 Groups
  CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group
  at http://groups.google.com/group/cake-php?hl=en
 
  Check out the new CakePHP Questions site http://cakeqs.org and help
 others
  with their CakePHP related questions.
 
  You received this message because you are subscribed to the Google Groups
  CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group at
  http://groups.google.com/group/cake-php?hl=en
 

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Project just displays empty page in browser after checkout from SVN

2010-09-09 Thread Joshua Muheim
oh thank you, this is really a great hint.

i figured out what's the problem: cakephp can't connect to mysql! but
why does it present me the error message

Error:  Database table acos for model Aco was not found.

instead of something like can't connect to the db?!

looks damn unpretty to me... :-/

On Thu, Sep 9, 2010 at 1:04 PM, Andrei Mita andrei.m...@gmail.com wrote:
 Go to /app/config
 In core.php you should have Configure::write('debug', 2);

 This will give you a very detailed explanation on what's wrong with your
 controller/model/view.


 On Thu, Sep 9, 2010 at 1:58 PM, Joshua Muheim psybea...@gmail.com wrote:

 Thanks, it's much better now already. But I always get the error

 Error:  The requested address '/users/login' was not found on this server.

 when accessing a page. Interestingly when I access an invalid URL
 (that definitely doesn't exist) the error is

 Error:  The requested address '/' was not found on this server.

 (always a / instead of the URL itself). Any idea on how to debug this?
 Thanks.
 Josh

 On Thu, Sep 9, 2010 at 12:55 PM, Andrei Mita andrei.m...@gmail.com
 wrote:
  I believe it depends on the debug value in your config file. If you
  migrated
  a production app, the debug has to be set to 0.
 
 
  On Thu, Sep 9, 2010 at 12:59 PM, Joshua Muheim psybea...@gmail.com
  wrote:
 
  woah, it was because i hadn't created a database.php file... very
  strange, that it doesn't display at least some ort of an include
  error?!
 
  On Thu, Sep 9, 2010 at 11:53 AM, psybear83 psybea...@gmail.com wrote:
   Hello everybody
  
   I have worked on a project on a windows machine using XAMPP. Now I
   checked the same project out from Subversion to a mac 10.5 machine.
   But when opening it in a browser, the page loads for 2-3 seconds, but
   nothing happens: it just stays a blank, white page. No error,
   nothing.
  
   I'm quite new to CakePHP, so could anybody please help debugging
   this,
   so I can get the stuff to work?
  
   A clean CakePHP installation works without a problem, by the way.
  
   Thanks
   Josh
  
   Check out the new CakePHP Questions site http://cakeqs.org and help
   others with their CakePHP related questions.
  
   You received this message because you are subscribed to the Google
   Groups CakePHP group.
   To post to this group, send email to cake-php@googlegroups.com
   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.com For more options, visit this
   group
   at http://groups.google.com/group/cake-php?hl=en
  
 
  Check out the new CakePHP Questions site http://cakeqs.org and help
  others
  with their CakePHP related questions.
 
  You received this message because you are subscribed to the Google
  Groups
  CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this
  group
  at http://groups.google.com/group/cake-php?hl=en
 
  Check out the new CakePHP Questions site http://cakeqs.org and help
  others
  with their CakePHP related questions.
 
  You received this message because you are subscribed to the Google
  Groups
  CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
  at
  http://groups.google.com/group/cake-php?hl=en
 

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en