HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   ispconfig php 5 errors (http://www.howtoforge.com/forums/showthread.php?t=22660)

itamarjp 23rd April 2008 21:33

ispconfig php 5 errors
 
anyone can fix this errors please ?




PHP Notice: Undefined variable: find in /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php on line 689


in the line 689 of the file /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php should be "find" or 'find' instead file




PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 39
PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 59
PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 60
PHP Notice: Undefined property: FastTemplate::$table in /root/ispconfig/scripts/lib/classes/ispconfig_template.lib.php on line 391
PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 59
PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 60
PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 59
PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 60
PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 59
PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 60
PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 77
PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 78
PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 100
PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 101
PHP Notice: Use of undefined constant TABLE - assumed 'TABLE' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 128
PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 128
PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 148
PHP Notice: Use of undefined constant EMAILALIAS - assumed 'EMAILALIAS' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 253
PHP Notice: Use of undefined constant USER - assumed 'USER' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 254
PHP Notice: Use of undefined constant VIRTUSERTABLE - assumed 'VIRTUSERTABLE' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 255
PHP Notice: Undefined property: FastTemplate::$table in /root/ispconfig/scripts/lib/classes/ispconfig_template.lib.php on line 391
PHP Notice: Use of undefined constant TABLE - assumed 'TABLE' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 268
PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 268
PHP Notice: Undefined offset: 1 in /root/ispconfig/scripts/lib/classes/ispconfig_file.lib.php on line 110
PHP Notice: Undefined variable: new_lines in /root/ispconfig/scripts/lib/classes/ispconfig_file.lib.php on line 130
PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/config.lib.php on line 1286
PHP Notice: Use of undefined constant SERVERIP - assumed 'SERVERIP' in /root/ispconfig/scripts/lib/config.lib.php on line 1299
PHP Notice: Use of undefined constant NAMEVHOST - assumed 'NAMEVHOST' in /root/ispconfig/scripts/lib/config.lib.php on line 1308
PHP Notice: Undefined property: FastTemplate::$table in /root/ispconfig/scripts/lib/classes/ispconfig_template.lib.php on line 391
PHP Notice: Use of undefined constant SERVERIP - assumed 'SERVERIP' in /root/ispconfig/scripts/lib/config.lib.php on line 1299
PHP Notice: Use of undefined constant NAMEVHOST - assumed 'NAMEVHOST' in /root/ispconfig/scripts/lib/config.lib.php on line 1308
PHP Notice: Use of undefined constant SERVERNAME - assumed 'SERVERNAME' in /root/ispconfig/scripts/lib/config.lib.php on line 1622
PHP Notice: Use of undefined constant IP - assumed 'IP' in /root/ispconfig/scripts/lib/config.lib.php on line 1623
PHP Notice: Use of undefined constant DOCUMENTROOT - assumed 'DOCUMENTROOT' in /root/ispconfig/scripts/lib/config.lib.php on line 1624
PHP Notice: Use of undefined constant SERVERALIAS - assumed 'SERVERALIAS' in /root/ispconfig/scripts/lib/config.lib.php on line 1625
PHP Notice: Use of undefined constant DIRECTORYINDEX - assumed 'DIRECTORYINDEX' in /root/ispconfig/scripts/lib/config.lib.php on line 1626
PHP Notice: Use of undefined constant CGI - assumed 'CGI' in /root/ispconfig/scripts/lib/config.lib.php on line 1627
PHP Notice: Use of undefined constant WEB_ERROR_LOG - assumed 'WEB_ERROR_LOG' in /root/ispconfig/scripts/lib/config.lib.php on line 1628
PHP Notice: Use of undefined constant SERVERADMIN - assumed 'SERVERADMIN' in /root/ispconfig/scripts/lib/config.lib.php on line 1629
PHP Notice: Use of undefined constant PHP - assumed 'PHP' in /root/ispconfig/scripts/lib/config.lib.php on line 1630
PHP Notice: Use of undefined constant RUBY - assumed 'RUBY' in /root/ispconfig/scripts/lib/config.lib.php on line 1631
PHP Notice: Use of undefined constant SSI - assumed 'SSI' in /root/ispconfig/scripts/lib/config.lib.php on line 1632
PHP Notice: Use of undefined constant WAP - assumed 'WAP' in /root/ispconfig/scripts/lib/config.lib.php on line 1633
PHP Notice: Use of undefined constant ERRORALIAS - assumed 'ERRORALIAS' in /root/ispconfig/scripts/lib/config.lib.php on line 1634
PHP Notice: Use of undefined constant ERROR - assumed 'ERROR' in /root/ispconfig/scripts/lib/config.lib.php on line 1635
PHP Notice: Use of undefined constant WEB - assumed 'WEB' in /root/ispconfig/scripts/lib/config.lib.php on line 1636
PHP Notice: Use of undefined constant HTTPD_INCLUDE - assumed 'HTTPD_INCLUDE' in /root/ispconfig/scripts/lib/config.lib.php on line 1637
PHP Notice: Use of undefined constant SUEXEC - assumed 'SUEXEC' in /root/ispconfig/scripts/lib/config.lib.php on line 1638
PHP Notice: Use of undefined constant REWRITE_RULE - assumed 'REWRITE_RULE' in /root/ispconfig/scripts/lib/config.lib.php on line 1639
PHP Notice: Use of undefined constant FRONTPAGE - assumed 'FRONTPAGE' in /root/ispconfig/scripts/lib/config.lib.php on line 1640
PHP Notice: Use of undefined constant SSL - assumed 'SSL' in /root/ispconfig/scripts/lib/config.lib.php on line 1641
PHP Notice: Use of undefined constant HTTPD_ROOT - assumed 'HTTPD_ROOT' in /root/ispconfig/scripts/lib/config.lib.php on line 1642
PHP Notice: Use of undefined constant VHOST - assumed 'VHOST' in /root/ispconfig/scripts/lib/config.lib.php on line 1643
PHP Notice: Use of undefined constant FP_RESOURCE_CONFIG - assumed 'FP_RESOURCE_CONFIG' in /root/ispconfig/scripts/lib/config.lib.php on line 1669
PHP Notice: Use of undefined constant FP_ACCESS_CONFIG - assumed 'FP_ACCESS_CONFIG' in /root/ispconfig/scripts/lib/config.lib.php on line 1670
PHP Notice: Use of undefined constant TABLE - assumed 'TABLE' in /root/ispconfig/scripts/lib/config.lib.php on line 1671
PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/config.lib.php on line 1671
PHP Notice: Undefined variable: find in /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php on line 689



--------------------

Itamar Reis Peixoto

e-mail/msn: itamar@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

itamarjp 23rd April 2008 22:10

ispconfig php 5 errors
 
anyone can fix this php5 related errors ?


http://www.howtoforge.com/forums/showthread.php?t=22660

till 23rd April 2008 23:18

Looks as if you modifoed the ISPConfig php.ini. Please restore the original php.ini in the directory /root/ispconfig/php/

This php.ini shall not be changed as it is only used by the ISPConfig control panel and not for the websites or any other applications.

itamarjp 23rd April 2008 23:30

I don't changed anything

this is a bug

HP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 39


why not write ['table'] or ["table"] instead using [table]

?

itamarjp 23rd April 2008 23:54

ispconfig php5 bugs
 
can you contact me using msn, icq, skype or anything ?

I am receiving segfault when running


/root/ispconfig/php/php -q writeconf.php

till 24th April 2008 11:09

Quote:

Originally Posted by itamarjp
HP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 39

Thats not a bug. The notation is valid. Please keep in mind that most of the code has been written for php4 and in php4 this was a valid notation and it is still valid in php5 but maybe not recommended anymore. You most likely changed the error_reporting level in the file /root/ispconfig/php/php.ini

Change it to:

error_reporting = E_ALL & ~E_NOTICE

or

error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR

till 24th April 2008 11:10

Quote:

Originally Posted by itamarjp
I am receiving segfault when running /root/ispconfig/php/php -q writeconf.php

http://www.howtoforge.com/forums/showthread.php?t=13184

itamarjp 24th April 2008 22:51

update
 
please give me cvs access

and a tutorial about how to send patches.

why ispconfig have the path /root/ispconfig hardcoded in files ?

till 25th April 2008 10:20

Quote:

why ispconfig have the path /root/ispconfig hardcoded in files ?
ISPConfig has been written this way and it was not intended to change this path.

Quote:

please give me cvs access
ISPConfig uses SVN and not CVS. I will send you the login data later today.


All times are GMT +2. The time now is 16:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.