adodb MySQL errors

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
TimothyFoo
Forum Members
Forum Members
Posts: 44
Joined: Wed Oct 12, 2005 8:50 pm

adodb MySQL errors

Post by TimothyFoo »

I am suddenly receiving adodb/mySQL on all of my sites.

I have contacted support at my hosting company and they tell me the servers have recently been upgraded to MySQL 5

Operating system  Linux
Apache version  1.3.34 (Unix)
PHP version  4.4.4
MySQL version  5.0.27-standard

I am receiving the following error on the front end:

Code: Select all

Notice: Only variable references should be returned by reference in /home/public_html/lib/adodb_lite/adodb.inc.php on line 136
I am receiving the same error and some others, when viewing the admin.

This seems to have happened after the upgrade to MySQL 5.

Any suggestions as to what I can do to fix this?
Last edited by TimothyFoo on Sat Mar 17, 2007 7:42 pm, edited 1 time in total.
TimothyFoo
Forum Members
Forum Members
Posts: 44
Joined: Wed Oct 12, 2005 8:50 pm

Re: adodb MySQL errors

Post by TimothyFoo »

It turns out they also turned off register_globals, when they made the upgrade.

Setting "register_globals = On;" in the php.ini and adding a suPHP_ConfigPath to the .htaccess file fixed it as usual.

I really should have thought of that myself.
User avatar
johnbmcdonald
Forum Members
Forum Members
Posts: 60
Joined: Mon May 14, 2007 8:01 pm

Re: adodb MySQL errors

Post by johnbmcdonald »

Hi Guys,

I am getting this error on the page:
We are currently experiencing technical difficulties. We will try to fix the problem as soon as possible. Sorry for the inconvenience.

and then in email (after installing the error reporting module) I am getting:

Message: Only variable references should be returned by reference
File: /home/www/okctips.com/lib/Tree/Tree.php
Line: 213

So I tried the suggestion in this thread
Setting "register_globals = On;" in the php.ini and adding a suPHP_ConfigPath to the .htaccess file fixed it as usual.
register_globals = On  - by it self did not make a difference.
When I added a .htaccess file and added "suPHP_Config /sys/php4" to the file, I got the following:


Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.
Error 500
www.okctips.com
Wed Jun 13 18:57:30 2007
Apache/2.0.54 (Debian GNU/Linux) mod_auth_pgsql/2.0.2b1 PHP/4.3.10-18 mod_ssl/2.0.54 OpenSSL/0.9.7e

I expect I did not have the .htaccess file formatted correctly (but I am not sure that is the only problem) the only line I had in there was the line suPHP_Config /sys/php4

CMS Made Simple version 1.1rc2

If anyone has any ideas, I'd greatly apprecieate it.

Thanks
John
Post Reply

Return to “CMSMS Core”