Author Topic: SOLVED: Fatal Error after Upgrade 1.5.3 -> 1.6  (Read 1907 times)

virtualweb

  • Newbie
  • *
  • Posts: 5
    • View Profile
SOLVED: Fatal Error after Upgrade 1.5.3 -> 1.6
« on: December 11, 2009, 07:13:19 am »
After the manual Upgrade, OpenGoo isn't working anymore. After login only the Header and Footer is visible but no Tabs or Content.

In the HTML Source is visible, what the error is:

og.loggedUserHasEmailAccounts = <br />
<b>Fatal error</b>:  Call to undefined method User::hasEmailAccounts() in <b>/var/www/web11/web/opengoo-1.6/application/layouts/website.php</b> on line <b>209</b><br />

Line 209 contains this line of code:
og.loggedUserHasEmailAccounts = <?php echo logged_user()->hasEmailAccounts() ? 'true' : 'false' ?>;

---

SOLVED - after deleting the files of the /cache folder everything is working fine. Maybe it should be described in the upgrade instructions.
« Last Edit: December 11, 2009, 07:36:25 am by virtualweb »

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: SOLVED: Fatal Error after Upgrade 1.5.3 -> 1.6
« Reply #1 on: December 14, 2009, 11:43:22 am »
File 'cache/autoloader.php' has to be deleted if you move the installation to another path. Otherwise it shouldn't be necessary.