adodb.inc.php error msg - and Can't Log In

Re: adodb.inc.php error msg - and Can't Log In

by Stacey Heron -
Number of replies: 5

Hi Sharon,

Finally fixed.. first you need to download the latest ADOdb library from here. Then open up the adodb.inc.php file. 

The error is around line 2660 of the 4.6.4 (most recent version) of the adodb system.  Look for the following section:

Change this line: 

function &GetAssoc($force_array = false $first2cols = false)

To this:

function GetAssoc($force_array = false $first2cols = false )

A big thanks to Scott Grogg for this fix.. You're a life saver!!!

Stacey

In reply to Stacey Heron

Re: adodb.inc.php error msg - and Can't Log In

by Scott Grogg -
Stacey and everyone... glad that I could help with finding the fix to this issue.  After extensive testing on multiple servers, I've experienced no problems.  Just keep me informed if you find anything!
In reply to Stacey Heron

Re: adodb.inc.php error msg - and Can't Log In

by Sharon Peters -
Thanks Stacey and Scott,

Fixed the problem with your solution.

I noticed as of just several minutes ago that there is a new version of  ADOdb - 4.6.5.

I downloaded and installed it, but alas, the fix was not in it, so one will still have to change the code as you described.

Thanks for all the collaborative efforts to get this little bug solved. Moodle at its best!

Sharon
In reply to Stacey Heron

Re: adodb.inc.php error msg - and Can't Log In

by Steve Graham -
This fix worked for me!  Thanks Stacy!
In reply to Steve Graham

Re: adodb.inc.php error msg - and Can't Log In

by Julian Whitehead -
Have now done both fixes and all the errors have gone - HURRAY!
Thanks chaps