Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please Help!!!


design pros

Recommended Posts

Posted

Can anyone please help me with this issue? I installed the oscommerce store with no problems, I login to the Admin Panel and try to add a new product but the image I try and upload for the product says IMAGE DOES NOT EXIST.

 

I have followed all the directions and CHMOD the image directory to 777. Still getting the same thing, any help would be greatly appreciated!!!

 

Thanks

Posted

If you are using the Browse function to locate the image on your hard drive at the time that you add the product to your catalogue then I just don't see how you can get the error 'Image Does Not Exist'.

 

Are you uploading the images seperately via FTP?

 

Vger

Posted

I'm using the BROWSE function while adding the product, which I try to upload from my computer. Then it says IMAGE DOES NOT EXIST when I preview. I'm assuming maybe its just not uploading the image to the server. I've checked with my host and the PHP upload function is turned on so it must be within the installation that causes it.

 

Any suggestions???

Posted

Is the image appearing on the website, just not appearing when you view Preview?

 

If so, go to Configuration --> Images in osC 'admin' and check that Image Required is set to True

 

Vger

Posted

The image doesnt show up on the store at all, its just broken, its not uploading the image it seems, when i right click on the broken image it doesn't show the image was uploaded.

Posted

It sounds like your includes/configure.php file is not set up correctly.

 

The path to images should be 'images/' and nothing else.

 

Vger

Posted

post your configure.php file here, without the database connection info. everyone's configure.php is different, hence you need to post yours.

Posted

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.pbk1.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.pbk1.com');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/catalog/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
?>

 

 

Thats the configure.php file located in /catalog/admin/includes

Posted

here, i will post it for you. to show you how vulnerable you are, in posting what you did. I can get full access to your server by doing things like this.

i will not post the database info tho. i suggest you go change the passwords on the database and password protect your admin area.

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.pbk1.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.pbk1.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '');

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

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

i did change your document root path, go to tools in the admin, server info and search for document_root

Posted

what do you want me to do with that?

 

i'm aware of the security risk, this is a beta site which will be removed after i figure out this bug with the images

Posted

i made a change in your document root, which is very strange, it is in the root and no site should ever be in the root directory.

this could be causing some of your problems too.

Posted

yes, you have a document root problem, starting with the server setup. once you get that fixed, then you can fix oscommerce. it is not an oscommerce problem.

Posted

The following constants are wrong:

DIR_FS_DOCUMENT_ROOT

DIR_FS_ADMIN

DIR_FS_CATALOG

 

You'll need to enter the appropriate server paths.

Posted

Yes... You have a very strange server path.

 

If this is a new installation, try setting it up again. And try to keep the default configurations.

Archived

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

×
×
  • Create New...