Hello all
its been a while since i have posted on here, my webhost recently decided to move the path of my home directory,
in doing this they stopped zencart and gallery from working, i have changed the paths in the config files on gallery and zencart,
all was fine until i tried to delete a photo, when i got error after error, basically it is saying it cannot find the configuration.php file
'Error (ERROR_BAD_PATH) : /home9/sub001/sc12959-MDCR/www/portfolio/cart/admin/includes/configure.php'
my old directory was /home9/ they have moved me to '/home35c/sub001/sc12959-MDCR'
i have tried clearing the cache to see if that works, i have looked at the zencart intregration files many times to try and find the config path but i beleive it just refers back to config.php inside the gallery install (which i have changed the settings on)
ok so next i deactivated the zencart module in the idea that when i reactivated it, it would fix the problem, well i cannot reactivate it because it is looking for the configuration file inside the zencart installation, (it is looking in /home9 still) and not /home35c/
the webhost cannot move me back to home9.
below i have posted the error when i try and reactivate the module.
Quote:
Error (ERROR_BAD_PATH) : /home9/sub001/sc12959-MDCR/www/portfolio/cart/admin/includes/configure.php
in modules/zencart/classes/ZenCartAbstraction.class at line 122 (gallerystatus::error)
in modules/zencart/classes/GalleryZenCart.class at line 114 (zencartabstraction::init)
in modules/zencart/module.inc at line 91 (galleryzencart::init)
in modules/core/AdminModules.inc at line 109 (zencartmodule::activate)
in main.php at line 174 (adminmodulescontroller::handlerequest)
in main.php at line 87
in main.php at line 80
i have 50,000 photos on this site and really dont want to have to completly start again,
there must be somewhere that the zencart module is reading the path from to the old /home9 but i cannot find it anywhere
i had an idea it may be stored in the database but i do not know how to search it.
any help would be greatly apreciated
Thank you
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.3.11 apache
Webserver = Servage.net Cluster/(Enhanced Apache)
Database = mysql 4.0.26-standard
Toolkits = ArchiveUpload, ImageMagick, SquareThumb
Operating system = Linux node1.c2 2.4.20-28.8smp #1 SMP Thu Dec 18 12:25:21 EST 2003 i686
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Posts: 1642
mombos
Open modules/zencart/classes/ZenCartAbstraction.class & modules/zencart/classes/GalleryZenCart.class, search for your old path and change.
.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com