gallery2 install problem

jeanlyon

Joined: 2005-04-04
Posts: 4
Posted: Mon, 2005-04-04 08:21

When trying to follow intallation set up I get following message at the end of installation process:

Error (ERROR_BAD_PLUGIN) : Unknown module version 0.9.0
in modules/core/CoreModuleExtras.inc at line 358 (gallerystatus::error)
in modules/core/module.inc at line 512 (coremoduleextras::upgrade)
in modules/core/classes/GalleryModule.class at line 137 (coremodule::upgrade)
in install/steps/InstallCoreModuleStep.class at line 84 (coremodule::installorupgrade)
in install/index.php at line 168 (installcoremodulestep::loadtemplatedata)
What can I do ?
Thanks for help
Rgds

 
jeanlyon

Joined: 2005-04-04
Posts: 4
Posted: Mon, 2005-04-04 09:01
jeanlyon wrote:
When trying to follow intallation set up I get following message at the end of installation process:

Error (ERROR_BAD_PLUGIN) : Unknown module version 0.9.0
in modules/core/CoreModuleExtras.inc at line 358 (gallerystatus::error)
in modules/core/module.inc at line 512 (coremoduleextras::upgrade)
in modules/core/classes/GalleryModule.class at line 137 (coremodule::upgrade)
in install/steps/InstallCoreModuleStep.class at line 84 (coremodule::installorupgrade)
in install/index.php at line 168 (installcoremodulestep::loadtemplatedata)
What can I do ?
Thanks for help
Rgds

I did installation process all over again and didn't get the above problem
but when installation process is over going to Go to my Gallery I get following message:
Warning: requireonce(/Users/jeanlyon/Sites/gallery2/modules/core/classes/../../../themes//theme.inc): failed to open stream: No such file or directory in /Users/jeanlyon/Sites/gallery2/modules/core/classes/GalleryCoreApi.class on line 2290

Fatal error: requireonce(): Failed opening required '/Users/jeanlyon/Sites/gallery2/modules/core/classes/../../../themes//theme.inc' (include_path='.:/usr/lib/php') in /Users/jeanlyon/Sites/gallery2/modules/core/classes/GalleryCoreApi.class on line 2290
Any ideas ?
Thanks for help
Rgds

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-04-04 16:23

both problems indicate the install did not complete properly. try a completely clean install (empty db, empty g2data dir, clear cookies or restart browser) and see how it goes. i recommend using a currently nightly build too.

 
jeanlyon

Joined: 2005-04-04
Posts: 4
Posted: Tue, 2005-04-05 07:55

I have tried as you instructed me and installation went without error but I got a new error when following instructions in upgrader for gallery 2
Instructions mentionned I nedded to upgrade Core version 0.8 to Core version 0.9
after that I got following message
Error (ERROR_STORAGE_FAILURE)
• in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1162 (gallerystatus::error)
• in modules/core/classes/GalleryStorage.class at line 241 (mysqldatabasestorage::execute)
• in modules/core/CoreModuleExtras.inc at line 330 (gallerystorage::execute)
• in modules/core/module.inc at line 512 (coremoduleextras::upgrade)
• in modules/core/classes/GalleryModule.class at line 137 (coremodule::upgrade)
• in upgrade/steps/UpgradeCoreModuleStep.class at line 68 (coremodule::installorupgrade)
• in upgrade/index.php at line 155 (upgradecoremodulestep::loadtemplatedata)
and below
(mysql): SHOW TABLES  

file_exists(/Users/jeanlyon/Sites/gallery2/g2data//versions.dat)
file_exists(/Users/jeanlyon/Sites/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
opendir(/Users/jeanlyon/Sites/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
readdir(Resource id #40)
readdir(Resource id #40)
readdir(Resource id #40)
......
......
What is the problem ?
What is a "currently nightly build " as suggested in your last message ?
Sorry to sound so stupid !
Thanks for help
Rgds

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-04-05 15:49

if you see the upgrader right after a new install then something has already gone wrong. did any steps in the install timeout or just end and you had to click reload in your browser?
see G2 FAQ for info on nightly builds.

 
jeanlyon

Joined: 2005-04-04
Posts: 4
Posted: Wed, 2005-04-06 07:19

everything went fine after a new install following instructions you gave me in previous message (empty db, empty g2data dir, clear cookies or restart browser) no extra click or reload or timeout or anything !
but it did take me to the upgrader right after installation was finished
Thanks for help

 
pesiiin

Joined: 2005-04-06
Posts: 1
Posted: Wed, 2005-04-06 10:45

when I trying access the setup page, this errorr is shown:

Warning: main(): Unable to access /3w/wz.cz/p/pesiiin/lib/Form.php in /3w/wz.cz/p/pesiiin/util.php on line 3687

Warning: main(/3w/wz.cz/p/pesiiin/lib/Form.php): failed to open stream: No such file or directory in /3w/wz.cz/p/pesiiin/util.php on line 3687

Fatal error: main(): Failed opening required '/3w/wz.cz/p/pesiiin/lib/Form.php' (include_path='.:/usr/local/lib/php') in /3w/wz.cz/p/pesiiin/util.php on line 3687

Whats wrong ?
Thanx

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-04-06 11:07

pesiiin,
1. this seems to be Gallery 1 and not Gallery 2. The forums are categorized, please choose a Gallery 1 forum.
2. your problem has nothing to do with the above discussion. please open your own topic if you don't find an existing topic for the same problem with the forum search function.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-04-06 15:13

jeanlyon, please try another clean install with the current nightly build.. i added some code so it should not let you past the install-core step if it only partially completed (though i don't know how that can happen w/o a request dying requiring you to click reload in the browser, hmm).
if it still doesn't work you can PM me ssh/ftp access to your server and i can try to debug.