error 500 (internal server error) after updating with CVS
schlieper
Joined: 2005-02-06
Posts: 18 |
Posted: Sun, 2005-02-06 19:13 |
I have been running a test system from early Jan and everything was fine (Liniux server, PHP4, MySQL 4.1, ImageMagick.... After loggin into my Gallery, I now always get the message: Gallery don´t run anymore. ( ---- |
|
Posts: 32509
sometimes cvs update destroys some files.
try this:
1. delete all g2 application files (not g2data)
2. cvs update -dP (or redownload G2)
Posts: 18
There are 15 directories in my gallery2 main-directory:
lib
modules
gallery_remote
etc.
Which directories contain the application files ?
Posts: 32509
all but g2data, or if g2data is outside your gallery2 dir, all.
Posts: 18
I have tried this (with your CVS-Comand line), everything was copied new, but again:
error 500: Interner Serverfehler
Posts: 32509
http://www.path_go_g2/lib/tools/test/
Flush Cache
doesn't work neither?
And do you get 500 error in the installer too?
Posts: 18
I now get the following message while upgrading with the tool:
---------------------------
An error ocurred while upgrading Gallery Core Module
Something went wrong when we tried to upgrade the core module. In the boxes below you can find some debug information. Report this in the Gallery Forums and we'll help you diagnose the problem.
Stack Trace:
Error (ERROR_BAD_PLUGIN) : Unknown module version 0
* in modules/core/CoreModuleExtras.inc at line 84 (gallerystatus::error)
* in modules/core/module.inc at line 663 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 168 (coremodule::upgrade)
* in upgrade/steps/UpgradeCoreModuleStep.class at line 50 (coremodule::installorupgrade)
* in upgrade/index.php at line 146 (upgradecoremodulestep::loadtemplatedata)
-----------------------
I´v made an .txt-attachement of the dump.
Posts: 32509
That's bad, something went wrong during the upgrade process.
What was the version before, the version from "early January"?
I try getting a guru [mindless] aboard ;)
Posts: 18
Thanks a lot for your help; i´ve started a total new install-process with CVS and now the Gallery is ok again; but I´m afraid of updating again with CVS:
My version now:
Core 0.8.12
With this version everything seems to be ok, but I know, that there is a newer core-module.
What would be your suggestion?
Posts: 32509
I don't have many items in my G2, but I "cvs update -dP" every week or so and the G2 upgrade process works for me without problems...
Posts: 8601
i have no idea where those errors came from, but if you're afraid your cvs updates are getting corrupted files you can update from nightly snapshots instead. you can run the installer (gallery2/install) and just go up to step 2 where it runs the manifest check to see if all your file checksums are ok before you run thru the upgrader... hm, i wonder if we should make the upgrader run the manifest check?