php 4.4.0

General project discussion. NOT for help questions.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

php 4.4.0

Post 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
Last edited by Greg on Wed Jul 13, 2005 12:59 am, edited 1 time in total.
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: php 4.4.0

Post 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.
ljbadenz

Re: php 4.4.0

Post 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... :(
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: php 4.4.0

Post 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!
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: php 4.4.0

Post 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 !
Greg
Bubble

Re: php 4.4.0

Post 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?
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: php 4.4.0

Post 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
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: php 4.4.0

Post by Ted »

Come back?!?

None of that code has been touched since 7/19...
bob

Re: php 4.4.0

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: php 4.4.0

Post by Ted »

Meaning I put the latest release of ADODB into the svn version of CMSMS.
Bubble

Re: php 4.4.0

Post by Bubble »

Fixed!

Change this line in adodb.inc.php:
$ret =& $fn($this,$sql,$inputarr);

To this:
$ret = $fn($this,$sql,$inputarr);
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: php 4.4.0

Post 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!
Last edited by Anonymous on Thu Aug 18, 2005 1:53 pm, edited 1 time in total.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: php 4.4.0

Post 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
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: php 4.4.0

Post 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.
Last edited by Anonymous on Fri Aug 19, 2005 12:17 am, edited 1 time in total.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: php 4.4.0

Post 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
Greg
Post Reply

Return to “General Discussion”