ispCP - Board - Support
[SOLVED]PHP Warnings during ISPCP Operation - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [SOLVED]PHP Warnings during ISPCP Operation (/thread-12788.html)



[SOLVED]PHP Warnings during ISPCP Operation - Martini - 01-31-2011 08:51 AM

Hello everyone!

I have a strange problem with my ISPCP Installation.
I use ISPCP Omega with CentOS 5.5 on an i386 arch.
The install of the ISPCP and the base system itself went pretty smoothly without any errors, but things are getting out of control during day-to-day usage of the system. Each time I log into ISPCP I keep getting PHP Warning Messages - regardless of which part of the panel I'm in (e.g. the WebFTP module). I've already tried to silence these warns by altering the value of error_reporting parameter in /etc/php.ini, but it's all for nothing.
I've attached 2 screenshots to this post showing different examples of the above mentioned warning messages - hope this gives you a clue on what exactly is wrong in my setup.
Any help would be much appreciated, thanks in advance,
Martini


RE: PHP Warnings during ISPCP Operation - joximu - 01-31-2011 09:03 AM

Since you did not write which ispcp version you're running it's like a shot in the dark...

you need to manually set the setting which is described in the warning message...

/J


RE: PHP Warnings during ISPCP Operation - Martini - 02-01-2011 12:59 AM

Oops, I didn't notice, sorry for that - it's version 1.0.6 - I couldn't use 1.0.7 because of Perl v.5.8 on my system.

Where should I edit the settings to make these warnings disappear?


RE: PHP Warnings during ISPCP Operation - joximu - 02-01-2011 08:12 AM

/var/www/fcgi/master/php5/php.ini

date.timezone = ...

/J


RE: PHP Warnings during ISPCP Operation - Martini - 02-02-2011 06:47 AM

OK, I've altered the setting and ensured there's no spelling errors in timezone ID, but the warnings are still displayed. I've already tried reloading httpd, but it didn't help. I'm stuck again.


RE: PHP Warnings during ISPCP Operation - joximu - 02-02-2011 10:21 AM

something like
date.timezone = Europe/Zurich
?

Ok, I could not test ispcp on a php 5.3 system...

otherwise just disable the output of errors in this php.ini
display_errors or something like this...

/J


RE: PHP Warnings during ISPCP Operation - Martini - 02-03-2011 07:13 AM

Yup, that's right - mine is PHP 5.3.3 but disabling error display solved my problem and all services seem to be working (ISPCP shows all deamons 'UP') - no more warns, no problems so far. Thank you very much for your assisstance, joximu, much appreciated Smile