![]() |
PHP 5.4 problems
Hello,
i tested 5.4 a little bit and got some errors: PHP Code:
regards xaver |
Have you tried to define both methods as static?
|
No, but i will look into it.
I fixed some other PHP 5.4 Notice Errors. e.g. if $conf['country'] is not defined and $conf = array() is defined it will drop an notice error if you use $conf['country'] i did s small if.. (isset($conf['country']) ? $conf['country'] : '') |
I guess that there is a wrong variable used, the country settings in ISPConfig are in the variable $conf['language'] and not $conf['country'] (there is no separate contry setting available, so replacing the variable should fix the error.
|
Its in client and reseller in list. (My last commit)
Also i think it was readData witch had an error with readData['demo_viewmode'] or Notice: Undefined variable: maintenance_mode_error in /usr/local/ispconfig/interface/web/login/index.php on line 238 Looks like each array element need a "isset() && condition(e.g. == != > <= ...)" the possibility exists its not set, because the element will be created. I turned two functions into static functions and it looks like it works. |
Quote:
|
Quote:
|
This was a spam post, I removed that now. I edited your post and removed the spam link that you quoted with his message :)
|
Oh i saw no link, maybe blocked by my Browser and addons.
i will commit simplepie with static functions. Looks like it works fine. can you take a look at commit 3011? fixed a lot of stuff for php 5.4. (+ i think small bug -> see comment) Last know errors are at FAQ management, but i think the problem is of the wrong use of list/template system. mail_transport_edit and mail_user_edit have a lot of @. That is bad because if a real problem comes around you won't see it. |
Quote:
Quote:
Quote:
Quote:
|
| All times are GMT +2. The time now is 08:06. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.