Guest Posted December 3, 2002 Posted December 3, 2002 Hello, Fist I just wanted to say how great oscommerce is. I have been converted from cgi to php. My problem is in the admin adding new categories. Every time I try to add a new category the the title comes up blank and it says "IMAGE DOES NOT EXIST". Then I can go to myPhPAdmin the blank catagory is there and manually insert the title and image and it will show up in the admin. Also if I try to edit a product it does the same thing. It seems like it is not cumminicating with the database correctly. I have tried evething... permisions, php.ini,configure.php and so on. What could this bug possibly be? I would be pretty upset if I went live and had to edit one little text problem and the whole product title,desc, and image went blank. My /catalog/admin/includes/configure.php looks like this: -------------------------------------------- <?php /* $Id: configure.php,v 1.13 2002/07/20 09:08:31 project3000 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://smittys.pointclark.net'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://smittys.pointclark.net'); define('HTTPS_CATALOG_SERVER', 'https://smittys.pointclark.net'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // 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/admin/'); 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', '********'); define('DB_SERVER_PASSWORD', '*********'); define('DB_DATABASE', 'catalog'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> ---------------------------------------------- What could the problem possibly be? It seems I have been able to find alot of forums about this but no rel answers. Once again I am beating my brains over this because I want to go live asap. Oh, my brain hurts. :roll: :cry: :shock:
jficarra Posted December 3, 2002 Posted December 3, 2002 I think I had this problem once...the solution for me was to enable file uploads in the php.ini by setting file_uploads = On (I believe it defaults to off). Good luck. -Jim
Guest Posted December 3, 2002 Posted December 3, 2002 Hey You Are The Man.... I must have had a brain fart, Because I tried that but never restarted PHP. So everyone out there that reads this make sure you restart after you make changes to your php.ini file or you will end up scatching your head for hours, and some of us can't afford to do that (going bald). REDHAT'S OFF TO THE THE BEST COMMERCE SOFTWARE AROUND!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.