Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image Problem


Guest

Recommended Posts

Posted

I recieved this error, can anyone help me out

Error: Catalog images directory does not exist: DIR_FS_CATALOG_IMAGES

Posted

Is this when you are in the admin section? If so

 

Post your ./admin/includes/configure.php file. Remove the db info prior to posting (name, username, pw).

 

It should look something like this:

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

[code]

 

Does the file referenced in that line exist in the location that it is referring to?

V6

Posted
Is this when you are in the admin section? If so

 

Post your ./admin/includes/configure.php file. Remove the db info prior to posting (name, username, pw).

 

It should look something like this:

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

[code]

 

Does the file referenced in that line exist in the location that it is referring to?

V6

 

 

here is my configure.php

i added the line,is this correct? I dont understand the "remove db info" part you mentioned

Thanks

 

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

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://krausrocketry.com/catalog'); // eg, http://localhost - should not be empty for productive servers

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

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

define('HTTP_COOKIE_DOMAIN', 'krausrocketry.com');

define('HTTPS_COOKIE_DOMAIN', 'krausrocketry.com');

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

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

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_ADMIN', '/admin/');

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

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

 

// protected since inside docroot instead of outside to facilitate addon installer

define('DIR_FS_WORK', '/home/krausroc/public_html/catalog/admin/_work/');

 

// define our database connection

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

define('DB_SERVER_USERNAME', 'krausroc_osc3');

define('DB_SERVER_PASSWORD', 'ZKas5KXHIe');

define('DB_DATABASE', 'krausroc_osc1');

define('DB_TABLE_PREFIX', 'osc3_');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Posted
// define our database connection

define('DB_SERVER', '***'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '***

define('DB_SERVER_PASSWORD', '***');

define('DB_DATABASE', '***');

define('DB_TABLE_PREFIX', '***');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

 

See what is above? THat is what I meant about removing your db (database) info. Don't ever post your sensitive information from your config file. Anyone could walk into your db, expecially in a public forum. Be sure to change the password of your database now.

 

I visited the store side of your site and didn't see the error message, so I am assuming it is in the admin section. Is the /store/admin/images folder in your site?

 

Also, do you intend on adding SSL to your site? You should strongly consider it, since many people will not be comfortable entering their personal/financial info without it.

 

V6

Posted
See what is above? THat is what I meant about removing your db (database) info. Don't ever post your sensitive information from your config file. Anyone could walk into your db, expecially in a public forum. Be sure to change the password of your database now.

 

I visited the store side of your site and didn't see the error message, so I am assuming it is in the admin section. Is the /store/admin/images folder in your site?

 

Also, do you intend on adding SSL to your site? You should strongly consider it, since many people will not be comfortable entering their personal/financial info without it.

 

V6

 

 

Ok, I did that, not sure where to change password

Posted
Ok, I did that, not sure where to change password

 

I really could use some help if you want to make a few bucks, contact me at [email protected]

Posted
I really could use some help if you want to make a few bucks, contact me at [email protected]

 

Ok, that worked GREAT!! now nothing works, :(

database errors >_<

Posted

Did you change the passwords in both the database itself and the configure.php files, or just the configure files? It needs to be changed in phpmyadmin (or whatever db program you are using) and in both configure.php files to match what is in the database:

 

catalog/includes/configure.php

catalog/admin/includes/configure.php

Posted
Did you change the passwords in both the database itself and the configure.php files, or just the configure files? It needs to be changed in phpmyadmin (or whatever db program you are using) and in both configure.php files to match what is in the database:

 

catalog/includes/configure.php

catalog/admin/includes/configure.php

 

LOST,,,, I should leave programming to programmers, what would it cost me to have you set this up for me?

contact me at [email protected]

Posted
How is it going Anotel? Get that up and running yet?

 

 

I got it working FINALLY, however, i need to move the database user password etc.. where do i put that ?

Posted

You need to MOVE the password, or change it? If you are changing it, you need to change it in the 3 places. First, you need to change it in the database. Most hosts give a phpmyadmin access to your database or a similar MySQL administration tool. You will need to change it there, as well in both configure files:

catalog/includes/configure.php

catalog/admin/includes/configure.php

 

Good Luck,

V6 :thumbsup:

Posted
...You will need to change it there, as well in both configure files:

catalog/includes/configure.php

catalog/admin/includes/configure.php

Some hosts also give you 2 more config files:

catalog/includes/local/configure.php

catalog/admin/includes/local/configure.php

 

these override the main configure files just for kicks and giggles

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself.

Therefore, all progress depends upon the unreasonable man."

-- George Bernard Shaw

Archived

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

×
×
  • Create New...