Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Path Repeating


Guest

Recommended Posts

Posted

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?

Posted

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/');

Posted

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.

Posted

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

Posted

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

Posted

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

 

:)

Posted

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

 

:)

Posted

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)

Posted

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

Posted

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/');

Posted

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.

Posted

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

Posted

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

Posted
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

Posted

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:

Posted

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!!!!

Posted

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

Posted

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.

Posted

I have to agree on that even though I am the hosting company.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...