Jump to content
Froxlor Forum
  • 0

[solved] froxlor_master_cronjob.php warnings for register_long_arrays and magic_quotes_gpc (Debian Squeeze)


Werner Fischer

Question

I have now successfully upgraded my Debian-5-SysCP system (first to Debian-5-Froxlor, and now to Debian-6-Froxlor).

 

The only problem I have currently is that the cronjob executes with warnings, leading to emails sent to root:

 

From: root@*** (Cron Daemon)
To: root@***
Subject: Cron <root@***>    /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
Date: Wed, 20 Jul 2011 12:00:02 +0200 (CEST)


Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

 

Has anyone an idea how this could be fixed?

 

Best regards,

Werner

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

I have corrected the issue.

 

Reason was an old configuration file in /etc/php5/cli/php.ini (it was still an old configuration of Debian Lenny)

 

I enforced the creation of a new php.ini there with:

 

dpkg --force-depends -r php5-cli
dpkg --force-depends --purge php5-cli
apt-get install php5-cli

 

Now everything works fine!

 

Best regards,

Werner

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...