Page 1 of 2
php 4.4.0
Posted: Wed Jul 13, 2005 12:55 am
by Greg
Upgraded to version 4.4.0 of php and now get this notice with CMSMS .10
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796
Cannot access admin pages at all
Notice: Undefined variable: url in d:\aaaweb\cms\lib\misc.functions.php on line 48
Notice: Undefined variable: url in d:\aaaweb\cms\lib\misc.functions.php on line 52
Re: php 4.4.0
Posted: Wed Jul 13, 2005 1:03 am
by Ted
Thanks for the heads up. Hopefully it's only an adodb bug... They'll probably have a new version out soon, around the same time I'm planning on releasing 0.10.1.
Re: php 4.4.0
Posted: Sun Jul 24, 2005 11:40 pm
by ljbadenz
I am using 4.4.0 on my server without problems...
Does anyone else use 4.4.0 without problems? If so it could be your setup...
I recently upgraded my webserver's php from 4.3.4 to 4.4.0.
I am looking to php 5, but their libxml2 is to old for php 5 to compile...

Re: php 4.4.0
Posted: Mon Jul 25, 2005 2:04 am
by Ted
Oh. Forgot to post...
I upgraded adodb to the latest version in svn, which is supposed to work properly with 4.4.0. Please test it a bit and make sure it's working ok. There could be other 4.4 related issues out there, and it would be good to track them down.
Thanks!
Re: php 4.4.0
Posted: Mon Jul 25, 2005 11:54 pm
by Greg
I'm not getting any errors with latest svn and php 4.4.0 with error reporting turned back on.
All is well again !
Re: php 4.4.0
Posted: Wed Jul 27, 2005 9:05 am
by Bubble
Hi,
Got the same problem here, downloaded the latest adodb from sourceforge, and uploaded it, but nothing changes..
Running version 0.8.2, because of the modules i installed are not compatible with 9+.. Hope i don't have to upgrade, that would mean i'd have to rewrite 6 modules :S
What to do?
Re: php 4.4.0
Posted: Sun Jul 31, 2005 12:36 pm
by Greg
Using the 31-07-05 daily and the problem has come back
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796
Maybe some ideas
here
Re: php 4.4.0
Posted: Sun Jul 31, 2005 1:40 pm
by Ted
Come back?!?
None of that code has been touched since 7/19...
Re: php 4.4.0
Posted: Mon Aug 15, 2005 10:51 pm
by bob
wishy wrote:
Oh. Forgot to post...
I upgraded adodb to the latest version in svn, which is supposed to work properly with 4.4.0. Please test it a bit and make sure it's working ok. There could be other 4.4 related issues out there, and it would be good to track them down.
Thanks!
Where is the adodb SVN site? Nothing is listed on there sourceforge page. DO they have a public SVN? What is he address? thanks
Re: php 4.4.0
Posted: Mon Aug 15, 2005 11:31 pm
by Ted
Meaning I put the latest release of ADODB into the svn version of CMSMS.
Re: php 4.4.0
Posted: Thu Aug 18, 2005 8:34 am
by Bubble
Fixed!
Change this line in adodb.inc.php:
$ret =& $fn($this,$sql,$inputarr);
To this:
$ret = $fn($this,$sql,$inputarr);
Re: php 4.4.0
Posted: Thu Aug 18, 2005 1:50 pm
by Ted
Well, I just went back and looked. I updated all of the adodb files EXCEPT for that one. I'm a slow one. Going to do that now before I forget.
Fixed. Please someone try tomorrow's daily and see if it's fixed for good. Thanks!
Re: php 4.4.0
Posted: Thu Aug 18, 2005 11:55 pm
by Greg
adodb.inc.php build 1863 with error_reporting = E_ALL; and display_errors = On in php.ini gives the following notices
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796
Re: php 4.4.0
Posted: Fri Aug 19, 2005 12:13 am
by Ted
It's not going to be run until tomorrow morning. If you want, I can run the script tonight. Let me know.
Nevermind. I just ran it.
Re: php 4.4.0
Posted: Fri Aug 19, 2005 1:03 pm
by Greg
Hi wishy,
Getting the same error with error reporting on:
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796
Notice: Only variables should be assigned by reference in d:\aaaweb\cms\lib\adodb\adodb.inc.php on line 796