ERROR Installing Gallery Core

asiastar

Joined: 2005-05-01
Posts: 15
Posted: Sun, 2005-05-01 04:12

I'm a little stuck, Can anyone help me out

this is the error I am getting.

Stack Trace:
Error (ERROR_BAD_PATH) : File /home/content/m/a/x/maxiebaby/html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc does not exist

in modules/core/classes/GalleryUtilities.class at line 499 (gallerystatus::error)
in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 74 (galleryutilities::requireonce)
in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 90 (gallerypluginhelper_simple::loadplugin)
in modules/core/classes/GalleryCoreApi.class at line 186 (gallerypluginhelper_simple::loadplugin)
in install/steps/InstallCoreModuleStep.class at line 74 (gallerycoreapi::loadplugin)
in install/index.php at line 168 (installcoremodulestep::loadtemplatedata)

Debug Output:
file_exists(/home/content/m/a/x/maxiebaby/html/gallery2/g2data//cache/entity)
file_exists(/home/content/m/a/x/maxiebaby/html/gallery2/g2data//cache/layout)
file_exists(/home/content/m/a/x/maxiebaby/html/gallery2/g2data//cache/module)
file_exists(/home/content/m/a/x/maxiebaby/html/gallery2/g2data//cache/derivative)
--------------------------------------------------------------------------------
(mysql): SHOW TABLES
--------------------------------------------------------------------------------

file_exists(/home/content/m/a/x/maxiebaby/html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
file_exists(/home/content/m/a/x/maxiebaby/html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
realpath(/home/content/m/a/x/maxiebaby/html/gallery2/modules/core/classes/../../../)
>

----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL: http://www.maxiebaby.com/gallery2/install/index.php?step=7
Gallery version: 2.0
Apache version: Apache 2.0.40
PHP version (don't just say PHP 4, please): 4.3.11
Graphics Toolkit:
Operating system: Linux kernel 2.4.20
Web browser/version (if applicable):

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Sun, 2005-05-01 07:22

Gallery 2 issue -> Gallery 2 support forums!

 
buggs_moran

Joined: 2005-04-25
Posts: 11
Posted: Sun, 2005-05-01 13:41

Were there any missing files at step 2?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-01 14:02

right, seems to be a missing file. check the installer step "systemcheck" and reupload all modified and missing files to the server.

 
asiastar

Joined: 2005-05-01
Posts: 15
Posted: Sun, 2005-05-01 15:31

Yeah, I'm getting this message:

Warning: opendir(/home/content/m/a/x/maxiebaby/html/gallery2/themes): failed to open dir: No such file or directory in /home/content/m/a/x/maxiebaby/html/gallery2/modules/core/classes/GalleryUtilities.class on line 1158

Warning: readdir(): supplied argument is not a valid Directory resource in /home/content/m/a/x/maxiebaby/html/gallery2/modules/core/classes/GalleryUtilities.class on line 1159

Warning: closedir(): supplied argument is not a valid Directory resource in /home/content/m/a/x/maxiebaby/html/gallery2/modules/core/classes/GalleryUtilities.class on line 1164

I'm also getting success in everything but Gallery File integrity,

Missing files (39)
README.html
templates/debug.tpl
templates/embedBody.tpl
templates/embedHead.tpl
templates/errorBody.tpl
templates/errorHead.tpl
templates/global.tpl
templates/layout.css
templates/redirect.tpl
templates/sidebar.tpl
templates/standalone.tpl
upgrade/GalleryStub.class
upgrade/StatusTemplate.class
upgrade/UpgradeStep.class
upgrade/images/background.png
upgrade/images/g2Logo_upgrade_head.png
upgrade/index.php
upgrade/steps/AuthenticateStep.class
upgrade/steps/CleanCacheStep.class
upgrade/steps/FinishedStep.class
upgrade/steps/SystemChecksStep.class
upgrade/steps/UpgradeCoreModuleStep.class
upgrade/steps/UpgradeOtherModulesStep.class
upgrade/steps/WelcomeStep.class
upgrade/styles/style.css
upgrade/templates/AuthenticateRequest.html
upgrade/templates/AuthenticateSuccessful.html
upgrade/templates/CleanCache.html
upgrade/templates/Finished.html
upgrade/templates/MainPage.html
upgrade/templates/ManifestSystemCheck.html
upgrade/templates/SystemChecks.html
upgrade/templates/UpgradeCoreModuleError.html
upgrade/templates/UpgradeCoreModuleRequest.html
upgrade/templates/UpgradeCoreModuleSuccess.html
upgrade/templates/UpgradeCoreModuleUpToDate.html
upgrade/templates/UpgradeOtherModulesRequest.html
upgrade/templates/UpgradeOtherModulesSuccess.html
upgrade/templates/Welcome.html

What did I do wrong ?, or did the zip I have not have all the files ?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-01 15:53

1. don't use winzip to unzip
2. if you upload thousands of files via FTP, you may lose some files, it's very unreliable. we encourage the use of server side unarchive / extract programs. this is explained in the README.html of the newest nightly snapshots.

3. as you obviously have missing / modified files, please upload these files manually again.

 
asiastar

Joined: 2005-05-01
Posts: 15
Posted: Sun, 2005-05-01 15:55

Thanks, I'm on it right now....

 
asiastar

Joined: 2005-05-01
Posts: 15
Posted: Sun, 2005-05-01 15:58

By the way, What is the Newest Nightly Snapshot?, and where can I find it ?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-01 16:36

http://galleryupdates.jpmullan.com
you'd find this page with in the download now! link of the menu.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-05-01 16:44

* G2 FAQ *

 
buggs_moran

Joined: 2005-04-25
Posts: 11
Posted: Mon, 2005-05-02 01:42

also be careful if you are unarchiving with a web based shell, I did that and the deeply nested files got bits cut off their filenames. I had to manually upload by directory. go with the shell if at all possible.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-05-02 09:57

buggs_moran, in the end that's because of a weird binary and not because of the usage of a web based shell. but yes, always look at the systemcheck step in the installer.