[SOLVED] CVS upgrade gone wrong
|
Tonton_Fred
Joined: 2005-04-17
Posts: 28 |
Posted: Fri, 2005-05-27 09:07
|
|
Hi, Notice: Use of undefined constant GALLERY_CONFIG_DIR - assumed 'GALLERY_CONFIG_DIR' in /blahblah/gallery2/upgrade/steps/UpgradeCoreModuleStep.class on line 67 Notice: Use of undefined constant GALLERY_CONFIG_DIR - assumed 'GALLERY_CONFIG_DIR' in /blahblah/gallery2/upgrade/templates/UpgradeCoreModuleRequest.html on line 40 Unable to write to config.php in your GALLERY_CONFIG_DIR directory. Please change its permissions. You can do chmod 666 config.php to fix this. I checked my config.php and found that it was still there with the usual permissions that worked until now ( 644). I chmoded it to 666 as advised, to no effect. It just seems that the config path constant is not being defined as it should. Any idea ? Additional info : Fred ---- |
|

Posts: 32509
please test the upgrade with a nightly snapshot, i.e. http://galleryupdates.jpmullan.com/G2/current.gallery2.tar.gz
reason: cvs versions don't have updated MANIFEST files and i'd like to make sure you have zero modified / missing files.
plus, are you using a multisite G2? if so, you have to read the instructions in README.html, the multisite upgrade includes manual steps (this time).
Posts: 28
Alright, that worked, thanks !
* Gallery integrity was ok this time, since the manifest was updated
* the Core Upgrade showed 9.21 instead of 9.20
* I was advised after the Core Upgrade to make sure that config.php was not 'globally writeable', which I assumed meant chmodding it to 644.
And to answer your question, I am not running a multisite gallery. So I can only guess something went wrong with the CVS update. I just ran another one after putting in the nightly build, and it worked ok. I note that I get a few "move away (some file) ... it is in the way" messages, don't know if it's ok :
Fred
Posts: 32509
never seen this error before, but google knows the answer, as usual:
http://www.google.com/search?hl=en&q=cvs+move+away++it+is+in+the+way&btnG=Google+Search
marking the topic as solved.