charles Posted December 17, 2003 Share Posted December 17, 2003 In OSC admin I get several error messages which I think may be all related. Two of them are: Error: Catalog images directory does not exist: http://www.naturespirit.com/OSC_Catalog/images/ Error: Backup directory does not exist. Please set this in configure.php. Backup Directory: http://www.naturespirit.com/OSC_Admin/backups/ Obviously I have the path names set correctly because they are on the screen. In my FTP program both of these folders exist with permissions set to 777 and I can edit and change them. Anyone have any ideas? Thanks, Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2003 Share Posted December 17, 2003 Unix is case sensitive - I would say it is how you have named the directories. Matti Link to comment Share on other sites More sharing options...
charles Posted December 17, 2003 Author Share Posted December 17, 2003 Matti, Thanks, but as you can see from the following, more complete post, everything is in lower case. I also verified this in my FTP on the live site. Please, I need some help with the following install. I'm getting the following error messages in OSC admin. My configure.php file follows. The local site on my personal computer works perfectly but the live site does not. The configure.php files for the two are identical except www.mywebsite.com is localhost, there is no https://secureservername.com locally, and the 'catalog' and admin' folders have beeen renamed 'cat' and 'adm' for these live diagnostic purposes. I have checked and verified this with the application Compare It! The live 'images' and 'backups' folders exist with chmods set to 777, which I have verified by manipulating, uploading, an downloading the folder contents. The live site only has the default install test data in it with the exception of the one added bogus test customer with a bogus test order and admin is as yet unprotected so it can be observed, All directory path names will change and admin will be locked once this/these problems are solved. The problem appears to be in the path names, but all configure.php pathnames are correct, as best I can tell, based on the correct operation of the software on my local system. Comments in italics are my own. Thanks, Charles OSC admin errors Catalog_Categories/Products Error: Catalog images directory does not exist: http://www.naturespirit.com/cat/images/ Modules_Payment The directory path is correct Module Directory: http://www.naturespirit.com/cat/includes/modules/payment/ and the file exists in the module directory but the modules don't show up Modules_Shipping The directory path is correct Module Directory: http://www.naturespirit.com/cat/includes/modules/shipping/ and the file exists in the module directory but the modules don't show up Modules_Order Total The directory path is correct Module Directory: http://www.naturespirit.com/cat/includes/m...es/order_total/ and the file exists in the module directory but the modules don't show up Customers_Orders orders don't show up here but do show up in Reports_Customers Orders-Total Localization_Languages_Details Warning: dir(http://www.naturespirit.com/cat/includes/languages/english'>http://www.naturespirit.com/cat/includes/languages/english): failed to open dir: not implemented in /home/virtual/site41/fst/var/www/html/adm/define_language.php on line 152 Localization_Languages_Details_File Manager Warning: dir(http://www.naturespirit.com/cat/): failed to open dir: not implemented in /home/virtual/site41/fst/var/www/html/adm/file_manager.php on line 178 Fatal error: Call to a member function on a non-object in /home/virtual/site41/fst/var/www/html/adm/file_manager.php on line 179 but shows... File Managerhttp://www.naturespirit.com/cat/ Tools_Database Backup Error: Backup directory does not exist. Please set this in configure.php but this appears... Backup Directory: http://www.naturespirit.com/admin/backups/ Tools_Cache boxes don't appear Cache Control Date Created Action Categories Box File does not exist Manufacturers Box File does not exist Also Purchased Module File does not exist Cache Directory: /tmp/ Tools_Define Languages same as in Languages Warning: dir(http://www.naturespirit.com/cat/includes/languages/english'>http://www.naturespirit.com/cat/includes/languages/english): failed to open dir: not implemented in /home/virtual/site41/fst/var/www/html/adm/define_language.php on line 152 Tools_File Manager same as in Languages Warning: dir(http://www.naturespirit.com/cat/): failed to open dir: not implemented in /home/virtual/site41/fst/var/www/html/adm/file_manager.php on line 178 Fatal error: Call to a member function on a non-object in /home/virtual/site41/fst/var/www/html/adm/file_manager.php on line 179 Here is my configure.php file define('HTTP_SERVER', 'http://www.naturespirit.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.naturespirit.com'); define('HTTPS_CATALOG_SERVER', 'https://bpweb.bpweb.com/naturespirit.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'http://www.naturespirit.com/cat/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/adm/'); // absolute path required define('DIR_FS_ADMIN', 'http://www.naturespirit.com/adm/'); // absolute path required define('DIR_WS_CATALOG', '/cat/'); // absolute path required define('DIR_FS_CATALOG', 'http://www.naturespirit.com/cat/'); // 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/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'myusername'); define('DB_SERVER_PASSWORD', 'mypassword'); define('DB_DATABASE', 'mydatabasename'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2003 Share Posted December 17, 2003 Try this: define('HTTP_SERVER', 'http://www.naturespirit.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.naturespirit.com'); define('HTTPS_CATALOG_SERVER', 'https://bpweb.bpweb.com/naturespirit.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', /home/virtual/site41/fst/var/www/html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/adm/'); // absolute path required define('DIR_FS_ADMIN', '/home/virtual/site41/fst/var/www/html/adm/'); // absolute path required define('DIR_WS_CATALOG', '/cat/'); // absolute path required define('DIR_FS_CATALOG', '/home/virtual/site41/fst/var/www/html/cat/'); // absolute path required Matti Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2003 Share Posted December 17, 2003 Your cat/includes/configure.php would need adjusting also.. :D Matti Link to comment Share on other sites More sharing options...
charles Posted December 17, 2003 Author Share Posted December 17, 2003 Matti, Thanks so much, that was too easy and obvious. I thought I had tried that but not exactly that way (I think had /cat/ on the end of the document root address following the example of my local version) I've been working on this prob for 3 days staying up half the night and being to work at 7:30 am. I was probably just too tired, exhausted brain, and needed that 2nd set of eyes. My learning curve was at a reverse angle :lol: . At least I've got my sanity back for now. The only thing that did not clear up is the Cache Control problem with the Categories Box, Manufacturers Box and Also Purchased Module not showing up. I'll work on that tonight. As far as I can tell, Catalog is working fine so unless you know a super secret smarty reason to adjust the catalog/configure file I'm 'not going to fix what ain't broken'. There is, however another prob I'm having both locally and live, which was my next project. in admin_languages_details, if I change the default language from english to one of the others, the other language loads fine. However, when I switch the default back to english, it does not happen. I have to click the left menu to restore the english language as default. This is not really a problem for me because english will always be my default. However, someone else may have an issue with it. Many thanks again, Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.