Current time: 11-23-2024, 10:45 PM Hello There, Guest! (LoginRegister)


Post Reply 
Daemon returned 0 state code
Author Message
miloszes Offline
Newbie
*

Posts: 8
Joined: Feb 2010
Reputation: 0
Post: #1
Daemon returned 0 state code
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
04-17-2010 03:22 AM
Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #2
RE: Daemon returned 0 state code
(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?
04-17-2010 08:56 PM
Find all posts by this user Quote this message in a reply
miloszes Offline
Newbie
*

Posts: 8
Joined: Feb 2010
Reputation: 0
Post: #3
RE: Daemon returned 0 state code
PHP 5.3.2-1 on Debian 6.
04-19-2010 04:46 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: Daemon returned 0 state code
is this from Sid?? Or is php 5.3.2 allready in Squeeze??
04-19-2010 05:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #5
RE: Daemon returned 0 state code
(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
(This post was last modified: 04-19-2010 05:13 PM by mr.x.)
04-19-2010 05:11 PM
Find all posts by this user Quote this message in a reply
miloszes Offline
Newbie
*

Posts: 8
Joined: Feb 2010
Reputation: 0
Post: #6
RE: Daemon returned 0 state code
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?
04-19-2010 06:06 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: Daemon returned 0 state code
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
04-19-2010 06:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #8
RE: Daemon returned 0 state code
(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
04-19-2010 07:16 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)