• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

log files grow up very fast after update

O

omid

Guest
hi
after i upgrade from 8.1.1 to 8.2.1 my customer and i too see some problem in php sites.
one of this problem is about error_log.
before upgrade the size of this file was small about 1 or 2 MB and just error event was at it. but now the error log is about 3GB:confused: and every php event is in it.every php file and every line has PHP Notice.
my question is : how i can stop PHP Notice?
here is the error_log:
[client 193.188.105.230] PHP Notice: Constant _Title already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 244, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _Book already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 245, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _Writer already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 246, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _PubDate already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 247, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _Pic already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 248, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _Year already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 251, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _NoBook already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 256, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _NoMag already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 257, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _NoKanoon already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 258, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _NoBio already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 259, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _NoInfo already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 262, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _SelectPicFromList already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 264, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _SelectSoundFromList already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 266, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _CloseList already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 267, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _Back already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 269, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _Edit already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 271, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _Num already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 273, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _Doing already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 275, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _Deleted already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 287, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=
[client 193.188.105.230] PHP Notice: Constant _Date already defined in /var/www/vhosts/mydomain.com/httpdocs/inc/ar/adminlang.php on line 290, referer: http://www.google.com.bh/search?hl=ar&q=الخيرة&btnG=بحث+Google‏&lr=

===
before upgrade the error_log didnt has this PHP Notice.. pls help ...
my php version is:
php 4.3.9-3.22.3
mysql 4.1.20-1.RHEL4.1
 
Or update the code so it doesn't generate the notices. And you might want to enable log rotation.
 
Back
Top