Datawalke / Coordino

Self-hosted Knowledge Software your question & answer system written on top of the CakePHP Framework
http://coordino.com
MIT License
714 stars 173 forks source link

HTTP 500's prevent any sort of interaction w/the system #38

Open zamoose opened 12 years ago

zamoose commented 12 years ago

I can't get past the front page. All pageloads result in

[Mon Mar 05 13:46:52 2012] [error] [client 10.128.44.192] PHP Notice: Trying to get property of non-object in /var/www/html/cake/libs/cache/file.php on line 248 [Mon Mar 05 13:46:52 2012] [error] [client 10.128.44.192] PHP Fatal error: Call to a member function cd() on a non-object in /var/www/html/cake/libs/cache/file.php on line 248

Server is running RedHat Enterprise 6.2. PHP is 5.3.3. httpd is 2.2.15.

Any ideas?

zamoose commented 12 years ago

Looks like this is related to the fact that you HAVE to set your timezone in PHP 5.3+ for CakePHP:

http://cakephp.lighthouseapp.com/projects/42648/tickets/672-call-to-a-member-function-cd-on-a-non-object

Weird requirement.

Datawalke commented 12 years ago

Weird!

I will look into moving a date setting into the main config of the application to prevent this confusion in the future.

Did this fix the issue for you?

Thank you @zamoose

zamoose commented 12 years ago

Still erroring, just in a different way now. grin

That's what we call "progress".

zamoose commented 12 years ago

Now I'm just getting garbage:

css('install.css');?> image('coordino_logo.png');?> flash(); ?>

zamoose commented 12 years ago

As I suspected -- you HAVE to have

short_open_tag = On.

That seems... suboptimal. Is this the case for ALL CakePHP apps?