Posts made by Peter Ruthven-Stuart

Picture of Plugin developers
l taylor

It's always a good idea in these situations to search moodle.org. If you search for 'adodb.inc.php' you'll find the following thread:

http://moodle.org/mod/forum/discuss.php?d=27453

I had the same problem yesterday. My hosting company upgraded PHP to 4.4.1 (do you use Bluehost as well?), and the information in this thread seems to have provided the solution, which is:
  1. download the latest stable branch of moodle - or go to the CVS archive and download the adodb.inc.php file from there
  2. extract just the adodb.inc.php file from this package; you'll find it in moodle/lib/adodb/
  3. access your moodle directory on your server
  4. access the /lib/adodb/ directory
  5. rename the adodb.inc.php file to adodb.inc_old.php, just in case you need to revert back to the original
  6. upload the new adodb.inc.php file to the /lib/adodb/ directory
Note, I am not a programmer, so can't gurantee that this solution will not cause any other problems, however it has fixed the problem for the moment, and based on the information in the thread, this seems to be an acceptable solution.

Good luck!
Picture of Plugin developers
Hello,

This thread re the 'adodb.inc.php' file relates to the thread below:

http://moodle.org/mod/forum/discuss.php?d=27453


It seems that the latest version of the 'adodb.inc.php' file has been updated, and so it is no longer neccessary to edit the file.
Picture of Plugin developers
Hello,

In order to remove this error message and its related problems:

Notice: Only variable references should be returned by reference in /home/petesweb/public_html/moodle/lib/adodb/adodb.inc.php on line 2689

I have replaced the adodb.inc.php file with the same file from the Latest Stable Branch. Was this the right thing to do?

Like many of the people in the above thread, I also woke up this morning to find that my ISP (Bluehost) had upgraded PHP. I assume this is the case because I got the above error message on all four of my moodle sites:

Since I am not a programmer, I felt certain that I'd not be able to solve the problem any time soon. However, I did search for 'adodb.inc.php' and found this thread and, thanks to the above posts, the problem appears to have been solved. However, my solution was simply to replace the old adodb.inc.php file with the latest version. I did not change any of the code. Was this the right thing to do, and should I make any other changes?

Any advice will be much appreciated.

Moodle version: 1.5.2 +
PHP version: 4.4.1

Picture of Plugin developers
Marc,

Just a small suggestion for Macs and PDFs. There is a 'PDF Browser Plugin' for Mac browsers (except IE) that allows for PDFs to be opened in a browser window.

The plugin can be downloaded from:

http://www.schubert-it.com/