View unanswered posts | View active topics It is currently Fri Sep 22, 2017 1:32 pm



Post new topic Reply to topic  [ 3 posts ] 
 CakePHP/PHP5 Strict Standards error + Blank web interface 
Author Message

Joined: Sat Apr 07, 2012 10:47 pm
Posts: 3
Reply with quote
Post 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)


Last edited by ZTiK on Mon Apr 09, 2012 7:00 pm, edited 1 time in total.



Mon Apr 09, 2012 3:30 pm
Profile

Joined: Sat Apr 07, 2012 10:47 pm
Posts: 3
Reply with quote
Post 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 !


Mon Apr 09, 2012 3:35 pm
Profile

Joined: Sat Apr 07, 2012 10:47 pm
Posts: 3
Reply with quote
Post Re: CakePHP/PHP5 Strict Standards error + Blank web interfac
undid my changes so I could pastebin the debug error :
http://pastebin.com/7sBMSq7c


Mon Apr 09, 2012 7:17 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.