Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot upload images-Freaky problem


denyse

Recommended Posts

Posted

Hi peoples,

 

This site is a great resource...thanks much.

 

I have a freaky problem. I got pissed and moved everything to a UNIX server from a WIN 2003. Everything works just groovy except... I get an error on the downloads part... go to http://www.shopdaystar.com/catalog/ See the error in the content portion? Well, that directory DOES exist and it is set to 777 permissions...and it has a file in it.

 

But the BIGGER problem is that I cannot add images to the catalog. It does not think there is an images folder either. Go to... http://www.shopdays.com/catalog/bigcheez/ The error appears at the top of the page... Error: Catalog images directory does not exist: http://www.shopdaystar.com/catalog/images/

 

YES IT DOES AND IT IS FULL OF IMAGES!!!

 

Sorry....not screaming at you all... The permissions are set to 777 here as well.

 

Can anyone help me out here? My host is being very unresponsive about this. I have not been able to work any further on this site for a week now and I am pulling my hair out....

 

Thanks,

 

Denyse

Posted

This could be a paths issue in your configure.php files

 

you have no backups directory created in admin and you also have this error in admin for file manager

 

Warning: dir(http://www.shopdaystar.com): failed to open dir: not implemented in /home/shopdays/public_html/catalog/bigcheez/file_manager.php on line 178

 

Fatal error: Call to a member function on a non-object in /home/shopdays/public_html/catalog/bigcheez/file_manager.php on line 179

If you want you can post your configure.php files remembering to xxx out the database info from the bottom of the files.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Thanks Steve,

 

I did not know if the public_html had to be in the path... But the backups directory is there too. This is such a freaky problem.

 

I've PM'd you the files.

 

Thanks so very very much.

 

I am going nuts.

 

Denyse

Posted

I do have a backups file so it is not seeing that either. I did not know if the public_html needed to be in the file path. My email address is [email protected]

 

Here are my two configure.php files...

 

Here is the file from catalog/includes/configure.php

 

----------------------

<?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.shopdaystar.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.shopdaystar.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', 'http://www.shopdaystar/catalog/');

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

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

 

// define our database connection

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

define('DB_SERVER_USERNAME', 'xxxxx_xxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxx');

define('DB_DATABASE', 'xxxxx_oscommerce');

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

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

 

// STS: ADD: Define Simple Template System files

define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');

define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');

define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');

define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');

define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html');

define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');

define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');

// STS: EOADD

?>

 

 

Here is the file from catalog/bigcheez/includes/configure.php (This is my admin directory)

 

--------------------------------------

 

<?php

/*

$Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'http://www.shopdaystar.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.shopdaystar.com');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', 'http://www.shopdaystar.com'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/catalog/bigcheez/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

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

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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

 

// define our database connection

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxxxx_xxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxx');

define('DB_DATABASE', 'xxxxx_oscommerce');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

 

-----

 

I have made a lot of changes to other things from the contributions folks but that does not seem to be the problem. ...this is so frustrating.

 

THANKS! BIG TIME!

 

Denyse

 

--------------------

Posted

Here is the first problem (still looking)

 

This:

 

define('DIR_FS_DOCUMENT_ROOT', 'http://www.shopdaystar.com');

 

should be:

 

 

define('DIR_FS_DOCUMENT_ROOT', '/home/shopdays/public_html');

 

Next:

 

define('DIR_FS_CATALOG', 'http://www.shopdaystar/catalog/');

 

should be:

 

define('DIR_FS_CATALOG', '/home/shopdays/public_html/catalog/');

 

 

Matti

Posted

Thanks so much....that and a few other path changes that Steve sent to me fixed me up GREAT!!!!

 

I initially had asked my host about that and they told me that it was wrong... go figure...

 

I owe you guys a beer and a pizza. I looked for a vitual one that I could post here but...alas... I need email addresses.

 

You guys are the absolute BEST!

 

Denyse

 

 

....still weaning myself off of Microsoft... the withdrawal is bad but you all are great sponsors...

 

;)

Archived

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

×
×
  • Create New...