Forums | Mahara Community

Support /
Upgrade fails


anonymous profile picture
Account deleted
Posts: 5

05 May 2011, 15:23

Hi

Currently, we are on version 1.2.5 and thought it was about time to update to soemthing more recent. However, the upgrade process stops upon accessing upgrade.php. Error generated is:

Fatal error: Call to a member function read() on a non-object in /(our site information)/lib/file.php on line 716

This has occured with 1.2.6, 1.2.8 and 1.3.5 so it does not seem related to the version. My guess is that it is a permissions issue, but it is not clear to me what it is trying to accomplish.

Any thoughts?

Thanks
Neil

anonymous profile picture
Account deleted
Posts: 808

05 May 2011, 16:40

The upgrade script always tries to delete the smarty/dwoo cache from your dataroot, and it's possible it doesn't have permission to do that for some reason.

If you remove (or give the webserver write permission on) <dataroot>/smarty/compile/ and <dataroot>/dwoo/compile/ before upgrading you may have more luck.

anonymous profile picture
Account deleted
Posts: 5

05 May 2011, 16:52

That did the trick

Thanks!

3 results