Here are some of the errors:
Warning: Illegal offset type in /home/httpd/vhosts/webmail/horde/lib/Registry.php on line 126
Warning: array_key_exists(): The second argument should be either an array or an object in /home/httpd/vhosts/webmail/horde/lib/Registry.php on line 126
Warning: Illegal offset type in /home/httpd/vhosts/webmail/horde/lib/Registry.php on line 132
Warning: Illegal offset type in /home/httpd/vhosts/webmail/horde/lib/Registry.php on line 126
Warning: array_key_exists(): The second argument should be either an array or an object in /home/httpd/vhosts/webmail/horde/lib/Registry.php on line 126
Warning: Illegal offset type in /home/httpd/vhosts/webmail/horde/lib/Registry.php on line 132
Warning: Illegal offset type in /home/httpd/vhosts/webmail/horde/lib/Registry.php on line 126
Here is my php and mysql versions:
[root@gz root]# rpm -qa |grep mysql
mysql-debuginfo-(none)-4.0.20-art.2
mysql-devel-(none)-4.0.21-1.rhel3.art
libdbi-dbd-mysql-(none)-0.6.5-5
mysql-(none)-4.0.21-1.rhel3.art
mysql-server-(none)-4.0.21-1.rhel3.art
mysql-compat-(none)-4.0.21-1.rhel3.art
php-mysql-(none)-4.3.10-1.rhel3.art
[root@gz root]# rpm -qa |grep php
php-pear-(none)-4.3.9-11.rhel3.art
php-mcrypt-(none)-4.3.10-1.rhel3.art
phpBB-(none)-2.0.8a-rhel3.build71041118.17
php-domxml-(none)-4.3.10-1.rhel3.art
phpBook-(none)-1.50-rhel3.build71041118.17
php-pgsql-(none)-4.3.10-1.rhel3.art
php-imap-(none)-4.3.10-1.rhel3.art
php-(none)-4.3.10-1.rhel3.art
php-snmp-(none)-4.3.10-1.rhel3.art
php-ldap-(none)-4.3.10-1.rhel3.art
php-mbstring-(none)-4.3.10-1.rhel3.art
php-xmlrpc-(none)-4.3.10-1.rhel3.art
php-devel-(none)-4.3.10-1.rhel3.art
php-mysql-(none)-4.3.10-1.rhel3.art
Also getting the Illegal offset type with ModernBill...
Would it make any difference that I have tomact enabled?
Can anyone tell me why I'm getting these errors with Horde?
-
- Forum Regular
- Posts: 471
- Joined: Mon Dec 06, 2004 10:43 pm
-
- Forum Regular
- Posts: 471
- Joined: Mon Dec 06, 2004 10:43 pm
-
- Forum Regular
- Posts: 471
- Joined: Mon Dec 06, 2004 10:43 pm
Ok, think I've found my problem..
When I upgraded PHP to 4.3.10 I thought I'd applied the update to Zend.
Found that I'm still running Zend Optimizer 2.5.5 even after updating it to 2.5.7, when I try to update that to 2.5.7, the update doesn't take hold.
Anyone see this kind of behavor before?
Running the ./install as root, answer the questions.. restart apache.. yet no 2.5.7 on system..
Wierd.
When I upgraded PHP to 4.3.10 I thought I'd applied the update to Zend.
Found that I'm still running Zend Optimizer 2.5.5 even after updating it to 2.5.7, when I try to update that to 2.5.7, the update doesn't take hold.
Anyone see this kind of behavor before?
Running the ./install as root, answer the questions.. restart apache.. yet no 2.5.7 on system..
Wierd.
When you installed the new Zend, did you tell it to use /etc as the location of php.ini or did you leave the default /usr/lib/Zend/ or whatever the default is?
I find that you HAVE to say it is in /etc otherwise something doens't quite go correctly in my experience. Try installing again...
Also, in order to avoid problems and making it easy to figure out what is going on and where, everytime I install Zend Optimizer I use a different directory, even if I am re-installing the same version again. to /wherever/Zend257 or /Zend257a etc
Then you can check php.ini to see where it is looking for the Zend Optimizer files. If it is looking in the wrong place, you can then manually change the path to the correct location (note: in general if it is looking in the wrong place it is probably because of where you told it to look for php.ini)
As an aside, I'm almost certain that in Zend 2.5.7, no matter where you specify for the php.ini, during the installation it still talks about the actual location (/etc/php.ini will have been symlinked to the real location of php.ini which is in a Zend directory). But by specifying /etc as the location, all the links get correctly rebult so /etc/php.ini then gets symlinked to the correct new Zend directory.
I'm sure that this unusual way I do things is probably considered strange/wrong/mad, but it works for me
Faris.
I find that you HAVE to say it is in /etc otherwise something doens't quite go correctly in my experience. Try installing again...
Also, in order to avoid problems and making it easy to figure out what is going on and where, everytime I install Zend Optimizer I use a different directory, even if I am re-installing the same version again. to /wherever/Zend257 or /Zend257a etc
Then you can check php.ini to see where it is looking for the Zend Optimizer files. If it is looking in the wrong place, you can then manually change the path to the correct location (note: in general if it is looking in the wrong place it is probably because of where you told it to look for php.ini)
As an aside, I'm almost certain that in Zend 2.5.7, no matter where you specify for the php.ini, during the installation it still talks about the actual location (/etc/php.ini will have been symlinked to the real location of php.ini which is in a Zend directory). But by specifying /etc as the location, all the links get correctly rebult so /etc/php.ini then gets symlinked to the correct new Zend directory.
I'm sure that this unusual way I do things is probably considered strange/wrong/mad, but it works for me
Faris.
-
- Forum Regular
- Posts: 471
- Joined: Mon Dec 06, 2004 10:43 pm
Faris, that is exactly what I ended up doing.. I commented out the zend lines in my /etc/php.ini and then when I did the script I changed the default path of the php.ini from /usr/local/Zend/etc to /etc and all went well.
You'd think there was better documentation on this....
Now however I know. So, the next time I have to upgrade Zend, I'll take your advice and install it into different dir's and make sure I specify /etc/php.ini for the path and all should be well.
Thanks again.
You'd think there was better documentation on this....
Now however I know. So, the next time I have to upgrade Zend, I'll take your advice and install it into different dir's and make sure I specify /etc/php.ini for the path and all should be well.
Thanks again.