ispCP - Board - Support
Daemon returned 0 state code - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Daemon returned 0 state code (/thread-10427.html)



Daemon returned 0 state code - miloszes - 04-17-2010 03:22 AM

Hi all,

today I've founded strange message on a manage users -> ispCpdebugger page. The message appears after a click on a link at the bottom (execute tasks).

Yesterday I've updated PHP and had some problems with other applications. I've also have errors on System tools page:

Deprecated: Function split() is deprecated in /var/www/ispcp/gui/include/phpsysinfo/common_functions.php on line 169

Seams to the php problem.

What could be wrong and how can I fix it? The ISPCP version is 1.0.5 on the debian 6 system.


Regards,
MiloszeS


RE: Daemon returned 0 state code - mr.x - 04-17-2010 08:56 PM

(04-17-2010 03:22 AM)miloszes Wrote:  Seams to the php problem.
What could be wrong and how can I fix it? The ISPCP version is 1.0.5 on the debian 6 system.

which php version is running?


RE: Daemon returned 0 state code - miloszes - 04-19-2010 04:46 PM

PHP 5.3.2-1 on Debian 6.


RE: Daemon returned 0 state code - gOOvER - 04-19-2010 05:07 PM

is this from Sid?? Or is php 5.3.2 allready in Squeeze??


RE: Daemon returned 0 state code - mr.x - 04-19-2010 05:11 PM

(04-19-2010 04:46 PM)miloszes Wrote:  PHP 5.3.2-1 on Debian 6.

ok, that makes it clear .-)

Code:
Note: As of PHP 5.3.0, the regex extension is deprecated in favor of the PCRE extension. Calling this function will issue an E_DEPRECATED notice. See the list of differences for help on converting to PCRE.
from Link to php.net

There was a discussion in german in an other thread of ispcp
Forum

Br
Jan
one more .-)

(04-19-2010 05:11 PM)mr.x Wrote:  
Code:
Note: As of PHP 5.3.0, the regex extension is deprecated in favor of the PCRE extension. Calling this function will issue an E_DEPRECATED notice. See the list of differences for help on converting to PCRE.
from Link to php.net

preg_split() will replace this function in php 5.3 ff. In php 6.x the split fuction will be deleted.

Br
Jan


RE: Daemon returned 0 state code - miloszes - 04-19-2010 06:06 PM

Ok, but how can I resolve a problem? I cannot switch to the previous php version because of other applications compatibility.

Should I manually change all files ? Maybe there is already some patch done?


RE: Daemon returned 0 state code - joximu - 04-19-2010 06:13 PM

AFAIK the only part where this function is called is in the sysinfo (where you stated).
This is an external library and the authors do not seem to update the library...

You can help yourself: search in /var/www/ispcp fro the function name and replace it with the new code (see php docu).
But make a backup before! :-)

/J


RE: Daemon returned 0 state code - mr.x - 04-19-2010 07:16 PM

(04-19-2010 06:06 PM)miloszes Wrote:  Ok, but how can I resolve a problem? I cannot switch to the previous php version because of other applications compatibility.

Should I manually change all files ? Maybe there is already some patch done?

Hi,

please try this LINK

Br
jan