ispCP - Board - Support
after rc7: T_OBJECT_OPERATOR error in control panel - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: after rc7: T_OBJECT_OPERATOR error in control panel (/thread-5702.html)



after rc7: T_OBJECT_OPERATOR error in control panel - supaplex - 02-13-2009 03:22 PM

Has anyone seen the T_OBJECT_OPERATOR php error in the control panel? I already rolled back to rc5, but I'll try again soon.

Thanks.


RE: after rc7: T_OBJECT_OPERATOR error in control panel - BeNe - 02-13-2009 08:03 PM

No! Never seen before.

Greez BeNe


RE: after rc7: T_OBJECT_OPERATOR error in control panel - supaplex - 02-14-2009 01:56 PM

Our old unhappy friend is back.

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /var/www/ispcp/gui/index.php on line 58

Just upgraded to rc7. thoughts?

# cat -n /var/www/ispcp/gui/index.php | grep 58
58 if ((Config::get('MAINTENANCEMODE') || databaseUpdate::getInstance()->checkUpdateExists() || criticalUpdate::getInstance()->checkUpdateExists()) && !isset($_GET['admin'])) {


print phpversion shows 4.4.4-8+etch6. is that too old?

I doubt the courier things are related but I should mention we use dovecot. Should this be configured differently to skip courier stuff? reconfigure to use dovecot if possible? (I don't think ispcp directly supports the latter)

DEBUG: push_el() sub_name: sys_command('/etc/init.d/postfix restart'), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
Stopping domain name service...: bind.
Starting domain name service...: bind.
DEBUG: push_el() sub_name: sys_command('/etc/init.d/bind9 restart'), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
Can't exec "/etc/init.d/courier-pop": No such file or directory at /var/www/ispcp/engine/setup/../ispcp_common_methods.pl line 756.
DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/etc/init.d/courier-pop restart' returned '72057594037927935
' status !
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
Can't exec "/etc/init.d/courier-imap": No such file or directory at /var/www/ispcp/engine/setup/../ispcp_common_methods.pl line 756.
DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/etc/init.d/courier-imap restart' returned '7205759403792793
5' status !
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
Stopping ftp server: proftpd.
Starting ftp server: proftpd - processing configuration directory '/etc/proftpd/ispcp'
.
DEBUG: push_el() sub_name: sys_command('/etc/init.d/proftpd restart'), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
Can't exec "/etc/init.d/courier-authdaemon": No such file or directory at /var/www/ispcp/engine/setup/../ispcp_common_methods.pl lin
e 756.
DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/etc/init.d/courier-authdaemon restart' returned '7205759403
7927935' status !
DEBUG: push_el() sub_name: setup_shut_down(), msg: Starting...

Congratulations!

ispCP '1.0.0 RC7 OMEGA' Update completed successfully!

Please type http://node.example.com in your browser,
log in with your Administrator Account and perform
Database Updates if exists.

DEBUG: push_el() sub_name: setup_shut_down(), msg: Ending...

Thanks again =)
solved by using php5 instead.

<IfModule mod_fcgid.c>
<Directory /var/www/ispcp/gui>
FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
Options +ExecCGI
</Directory>


RE: after rc7: T_OBJECT_OPERATOR error in control panel - sci2tech - 02-15-2009 01:38 AM

In RC6 was dropped suport for PHP4. So you need PHP5