Xplico.org
http://forum.xplico.org/

CakePHP/PHP5 Strict Standards error + Blank web interface
http://forum.xplico.org/viewtopic.php?f=4&t=511
Page 1 of 1

Author:  ZTiK [ Mon Apr 09, 2012 3:30 pm ]
Post subject:  CakePHP/PHP5 Strict Standards error + Blank web interface

I'm running Xplico 1.0.0 + CakePHP 1.3.13 + PHP5 on Debian Wheezy

When Im finished with the installation, and I browse to the web interface for the first time, I get a blank page.
When I chmod -R /opt/xplico to 444 I DO get a webinterface telling me that the cache folder is not writable
After turning on debug level 2, I receive loads and loads of Strict Standards errors (php 5 errors).

This meant I had been stuck for a while, until I found the fix for my troubles.

For those of you who are looking at a blank page AND (!) receiving loads of 'Strict Standards' errors when hitting debug mode, the solution is quite simple, change the following in your php.ini file :

Code:
;date.timezone =


to

Code:
date.timezone = Europe/Amsterdam


change the location to your proper location, see link below for allowed alternatives.
once you enter a location and restart apache2/php service, you will no longer be bothered by these errors and you will be able to succesfully log in
http://www.php.net/manual/en/timezones.php

(ofcourse you need to properly chmod/chown/chgrp /opt/xplico as well)

Took me 3 days to figure out, hope someone else learns from my failures as a human being :P


(changed /opt/xi to /opt/xplico in the 2nd line)

Author:  ZTiK [ Mon Apr 09, 2012 3:35 pm ]
Post subject:  Re: CakePHP/PHP5 Strict Standards error + Blank web interfac

By the way, while Googling this error, a lot of suggestions involve turning down/off PHP error reporting.
This is not a smart thing to do, make sure you know what you're doing before making such changes.

Also, I love your program, keep up the great work !

Author:  ZTiK [ Mon Apr 09, 2012 7:17 pm ]
Post subject:  Re: CakePHP/PHP5 Strict Standards error + Blank web interfac

undid my changes so I could pastebin the debug error :
http://pastebin.com/7sBMSq7c

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/