Guest Posted June 18, 2007 Posted June 18, 2007 The following error is happening http://www.domain.com/storestore/images The same is happening for backups etc. The store directory is repeating itself .. there should be just one instance of store. I have checked the configure.php file and it seems to be normal. Any ideas?
Guest Posted June 19, 2007 Posted June 19, 2007 http://www.artwithoutlimits.com/artstore/ the artstoreartstore shows up in the admin section for images and backups .. the images for products does nto show online
usernamenone Posted June 19, 2007 Posted June 19, 2007 open your configure.php files there are 2 one in includes and one in admin includes and make sure the path to your images are correct. This is the only issue I see. I am not sure what your mean by the The store directory is repeating itself. define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
Guest Posted June 20, 2007 Posted June 20, 2007 I checked both configure.php files and they match what you have I am still getting this /artstoreartstore/images/ in the admin section tried to upload an item with image and this error shows Error: Destination does not exist. Error: Catalog images directory does not exist: /var/././.com/./artstoreartstore/images/ Not sure where else to look This is a fresh install of osCommerce through the Plesk Power Pack.
usernamenone Posted June 20, 2007 Posted June 20, 2007 maake sure your images folder is read and writeable.
Guest Posted June 20, 2007 Posted June 20, 2007 they are set to 777 this is the first time I have seen this happen with an OSCommerce install .. I will remove this one and start fresh .. again
Guest Posted June 20, 2007 Posted June 20, 2007 the same thing happened .. you can see the site is fine http://www.artwithoutlimits.com/artstore but when I go to the admin area I get the same thing ... /artstorearstore/images .. does not exist so this must be something in the admin section causing this you think? this is an install from the Plesk power pack
Guest Posted June 20, 2007 Posted June 20, 2007 Cannot get this working I deleted artstore from the artstore/admin in the configure.php admin/includes file then I quit fighting this and added an artstore/images directories and gave them both rw permissions it did not work .. getting broken images :)
Jack_mcs Posted June 20, 2007 Posted June 20, 2007 Try posting your configure file here, without the database entries. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
usernamenone Posted June 20, 2007 Posted June 20, 2007 Ok it is working ok now. Glad you figured it out. Cannot get this working I deleted artstore from the artstore/admin in the configure.php admin/includes file then I quit fighting this and added an artstore/images directories and gave them both rw permissions it did not work .. getting broken images :)
usernamenone Posted June 20, 2007 Posted June 20, 2007 Now I see that you have added a test product and the image does not show. Try saving your image as jpg or gif and see it you can get the image to upload. ( not JPG)
Guest Posted June 20, 2007 Posted June 20, 2007 image did not upload as .jpg I have installed other osCommerce from the Plesk Power pack on various sites and never had this issue arise. Now the error messages no longer show up but the images in the admin section of the cart do not show. The header images are still showing in the admin section. It must be a path problem. I will post the config file
Guest Posted June 20, 2007 Posted June 20, 2007 artstore/includes/configure.php <?php // Please, note that all changes in this file will be lost // after reconfiguring application by Plesk ini_set("register_globals", "On"); // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://artwithoutlimits.com/'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://artwithoutlimits.com/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 0); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'artwithoutlimits.com'); define('HTTPS_COOKIE_DOMAIN', 'artwithoutlimits.com'); define('HTTP_COOKIE_PATH', 'artstore/'); define('HTTPS_COOKIE_PATH', 'artstore/'); define('DIR_WS_HTTP_CATALOG', 'artstore/'); define('DIR_WS_HTTPS_CATALOG', 'artstore/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
Guest Posted June 20, 2007 Posted June 20, 2007 I am going to do another fresh install .. when viewing this one it looks like extra coding has been included. Every line has the little box at the end and other coding marks.
Guest Posted June 20, 2007 Posted June 20, 2007 This is nuts. Same error msg. Error: Catalog images directory does not exist: /var/www/vhosts/artwithoutlimits.com/httpdocs/artstoreartstore/images/ At least 5 fresh installs and each time the same error. Image files are set to 777
usernamenone Posted June 20, 2007 Posted June 20, 2007 Did you rename your images jpg and not JPG? JPG isn't a common supported format.
Guest Posted June 21, 2007 Posted June 21, 2007 sure did renane it to .jpg also tried a .gif there is something wrong .. I removed the application I will dl a copy from oscommerce and install it myself
Jack_mcs Posted June 21, 2007 Posted June 21, 2007 artstore/includes/configure.php <?php // Please, note that all changes in this file will be lost // after reconfiguring application by Plesk ini_set("register_globals", "On"); // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://artwithoutlimits.com/'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://artwithoutlimits.com/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 0); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'artwithoutlimits.com'); define('HTTPS_COOKIE_DOMAIN', 'artwithoutlimits.com'); define('HTTP_COOKIE_PATH', 'artstore/'); define('HTTPS_COOKIE_PATH', 'artstore/'); define('DIR_WS_HTTP_CATALOG', 'artstore/'); define('DIR_WS_HTTPS_CATALOG', 'artstore/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); These all should have leading slashes:define('HTTP_COOKIE_PATH', '/artstore/'); define('HTTPS_COOKIE_PATH', '/artstore/'); define('DIR_WS_HTTP_CATALOG', '/artstore/'); define('DIR_WS_HTTPS_CATALOG', '/artstore/'); Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted June 21, 2007 Posted June 21, 2007 Thanks usernameone and Jack for your help. But nothing works. The path just keeps showing up and images will not show in the admin section nor any images that are loaded. I do have osCommerce working on other sites but they are not new installs. They were migrated from Plesk 8 with Fedora to Plesk 8.1 with CentOS. So far there is no complaints on these. I will dl and install the application rather than use the Plesk Power Pack. (I am really rolling my eyes at this mess.) :rolleyes:
usernamenone Posted June 21, 2007 Posted June 21, 2007 It is a mystery as the stock images uploaded just fine, it is only the images you upload from your computer to use as product images!!!!
Guest Posted June 21, 2007 Posted June 21, 2007 osCommerce application has been installed successully and much easier to work with now ... what a difference installing from the actual application rather than a one-click application .. it looks good and solid .. no errors are showing http://www.artwithoutlimits.com/catalog/ thanks so much for responding
usernamenone Posted June 21, 2007 Posted June 21, 2007 This should be a lession to all who choose to install second party installs through their hosting company. It is a No No as the software can be flawed and outdated.
Guest Posted June 21, 2007 Posted June 21, 2007 I have to agree on that even though I am the hosting company.
Jack_mcs Posted June 22, 2007 Posted June 22, 2007 The configure file you posted is for the shop. If the problem is in admin, you need to post that one. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.