Problem upgrading from Dark Fibre to G2 2.0.1

jschor

Joined: 2005-01-22
Posts: 13
Posted: Tue, 2005-11-01 17:33

I tried to upgrade from the dark fibre release to G2 2.0.1. Copied all the files to my server and went to the upgrade directory.
I got the following error:
Warning: requireonce(/usr/home/robeco/domains/zomerconcerten-beeldbank.nl/public_html/gallery2/modules/core/classes/../../..//usr/home/robeco/domains/zomerconcerten-beeldbank.nl/public_html/gallery2/modules/core/classes/GalleryCoreApi.class on line 2505

Fatal error: requireonce(): Failed opening required '/usr/home/robeco/domains/zomerconcerten-beeldbank.nl/public_html/gallery2/modules/core/classes/../../../
<?php $data = unserialize('a:30:{s:21:"permissions.directory";s:3:"755";s:16:"permissions.file";s:3:"644";s:22:"uploadLocalServer.dirs";s:83:"/usr/home/robeco/domains/zomerconcerten-beeldbank.nl/public_html/gallery2/tmpupload";s:19:"exec.expectedStatus";s:1:"0";s:15:"default.orderBy";s:11:"orderWeight";s:22:"default.orderDirection";s:3:"asc";s:14:"default.layout";s:6:"matrix";s:13:"default.theme";s:6:"matrix";s:16:"default.language";s:5:"nl_NL";s:17:"language.selector";s:4:"none";s:16:"session.lifetime";s:9:"788400000";s:25:"session.inactivityTimeout";s:7:"1209600";s:11:"misc.markup";s:6:"bbcode";s:17:"mi in /usr/home/robeco/domains/zomerconcerten-beeldbank.nl/public_html/gallery2/modules/core/classes/GalleryCoreApi.class on line 2505

Can anyone help me with this

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-11-01 17:34

1. reupload the G2.0.1 release files
2. clean your browser cookie cache / use another browser
3. go to upgrade/index.php again

 
jschor

Joined: 2005-01-22
Posts: 13
Posted: Wed, 2005-11-02 09:35

I tried this (also deleted all my cookies), but still the same error.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-11-02 12:31

oh, found the bugger. i've used the search function to find this:
http://gallery.menalto.com/node/36664?highlight=Fatal+error%3A+requireonce (no need to read it)

please go to /lib/support/ -> click on cache management -> delete the db and template cache.

this should fix your problems.