Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zamoose opened this issue Mar 5, 2012 · 5 comments
Open

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

zamoose opened this issue Mar 5, 2012 · 5 comments
Assignees

Comments

@zamoose
Copy link

zamoose commented Mar 5, 2012

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?

This was referenced Mar 5, 2012
@zamoose
Copy link
Author

zamoose commented Mar 5, 2012

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
Copy link
Owner

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
Copy link
Author

zamoose commented Mar 5, 2012

Still erroring, just in a different way now. grin

That's what we call "progress".

@zamoose
Copy link
Author

zamoose commented Mar 5, 2012

Now I'm just getting garbage:

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

@zamoose
Copy link
Author

zamoose commented Mar 5, 2012

As I suspected -- you HAVE to have

short_open_tag = On.

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

@Datawalke Datawalke self-assigned this Mar 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants