25 Jul 2008
Support Center Home
Moodle: Notice: Only variable references should be returned by reference
Solution
Notice: Only variable references should be returned by reference
The issue is with Moodle using an old adodb set that uses "references" which resulted in memory curruption which was addressed in PHP 4.4.0.
To correct perform the following:
Open up the adodb.inc.php file.
The error is around line 2660 of the 4.64 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 )
Once complete upload this update over the existing adodb.inc.php in your account.
You can also download the latest available version of adodb
here
.
Article Details
Article ID:
202
Created On:
15 Aug 2005 05:42 AM
This answer was helpful
This answer was not helpful
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Fullname:
Email: (Optional)
Comments:
Back
Client Login
Billing Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Downloads
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Submit a Ticket
|
Knowledgebase
|
News
|
Downloads
Language:
English (U.S.)
All pages Copyright © 2002-2008 by Flux Services, Inc. All rights reserved.
All trademarks used are properties of their respective owners.
Refund Policy
Privacy Statement
Service Agreement