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

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

Stacey Heron -
Atsakymų skaičius: 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

Atsakymas į Stacey Heron

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

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!
Atsakymas į Stacey Heron

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

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
Atsakymas į Stacey Heron

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

Steve Graham -
This fix worked for me!  Thanks Stacy!
Atsakymas į Steve Graham

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

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