betar Posted April 28, 2011 Share Posted April 28, 2011 Hi, I have recently installed oscommerce and I images are not displaying. http://syd-srv09.ezyreg.com/~homebug In the admin control panel I am getting the error message 'Error: The images directory cannot be uploaded to. (click here to review the directory permissions' in the logo section. I am assuming this is the same problem. So I have checked the permissions, folders are set to 755, files set to 644, config.php set to 444. What am I doing wrong? :( thanks so much Link to comment Share on other sites More sharing options...
Xpajun Posted April 28, 2011 Share Posted April 28, 2011 I would check that your catalog/images folder does have 755 permissions and all the folders within it. If it does, you could try a temporary permission change to 777 to see if that sorts the problem but changing back to 775 and then 755 to test if it then works properly. If it works at 777 but not 755 then it may be a hosting problem My store is currently running Phoenix 1.0.3.0 I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 ) I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary Link to comment Share on other sites More sharing options...
betar Posted April 28, 2011 Author Share Posted April 28, 2011 Hi Julian, I just changed as you suggested, still no go :( The images aren't displaying in admin panel either. I renamed the admin file, Do the config files look ok to you: includes/configure.php define('HTTP_SERVER', 'http://syd-srv09.ezyreg.com'); define('HTTPS_SERVER', 'http://syd-srv09.ezyreg.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/~homebug/'); define('HTTPS_COOKIE_PATH', '/~homebug/'); define('DIR_WS_HTTP_CATALOG', '/~homebug/'); define('DIR_WS_HTTPS_CATALOG', '/~homebug/'); 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', '/home/homebug/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); osc_admin/includes/configure.php define('HTTP_SERVER', 'http://syd-srv09.ezyreg.com'); define('HTTP_CATALOG_SERVER', 'http://syd-srv09.ezyreg.com'); define('HTTPS_CATALOG_SERVER', 'http://syd-srv09.ezyreg.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/homebug/public_html/'); define('DIR_WS_ADMIN', '/~homebug/osc_admin/'); define('DIR_FS_ADMIN', '/home/homebug/public_html/osc_admin/'); define('DIR_WS_CATALOG', '/~homebug/'); define('DIR_FS_CATALOG', '/home/homebug/public_html/'); 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('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Thanks so much for your help! Link to comment Share on other sites More sharing options...
Xpajun Posted April 28, 2011 Share Posted April 28, 2011 You server name is syd-srv09.ezyreg.com/~homebug not syd-srv09.ezyreg.com Try this: define('HTTP_SERVER', 'http://syd-srv09.ezyreg.com/~homebug'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://syd-srv09.ezyreg.com/~homebug'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'syd-srv09.ezyreg.com/~homebug'); define('HTTPS_COOKIE_DOMAIN', 'syd-srv09.ezyreg.com/~homebug'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); (ADMIN) define('HTTP_SERVER', 'http://syd-srv09.ezyreg.com/~homebug'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://syd-srv09.ezyreg.com/~homebug'); define('HTTPS_CATALOG_SERVER', 'http://syd-srv09.ezyreg.com/~homebug'); define('ENABLE_SSL_CATALOG', 'false'); // 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', '/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('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Change admin for your new admin name (random characters are far stronger than names) My store is currently running Phoenix 1.0.3.0 I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 ) I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary Link to comment Share on other sites More sharing options...
betar Posted April 28, 2011 Author Share Posted April 28, 2011 Hi again, thanks so so much for your help, i really appreciate it. I tried the info you provided and it hasnt worked, still no pics up on either the shopfront or admin panel. Its almost like it cant find the images. Very frustrating . . . . Link to comment Share on other sites More sharing options...
betar Posted April 28, 2011 Author Share Posted April 28, 2011 Ooops! I am now getting this error when I try to get to my admin: Parse error: syntax error, unexpected '/' in /home/homebug/public_html/osc_admin/includes/configure.php on line 9 There's no '/' in there. Thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.