Twocanes Posted June 28, 2018 Share Posted June 28, 2018 I'm new to OsCommerce, I'm using oscommerce-2.3.4.1 with Apache2 on Ubuntu 16.0.4 Linux. I've manged to get to the Finished page and am able to display the Admin panel after modifying the admin/includes/configure.php file (see below). However the Catalog does not display the panel graphics, rather just the links are showing. The store_logo.png image displays, and the Paypal/Visa/Mastercard/AmEx/Maestro image displays, but naught else. I had the same problem with the Admin panel until I modified the admin/includes/configure.php file thus: <?php define('HTTP_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'https://www.mydomain.com'); // define('ENABLE_SSL', false); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/admin.changed'); define('HTTPS_COOKIE_PATH', '/catalog/admin.changed'); define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com'); define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com'); define('ENABLE_SSL_CATALOG', 'false'); // define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/oscommerce-2.3.4.1/catalog/'); define('DIR_FS_DOCUMENT_ROOT', '/var/www/docs/xxxlinkxxx/catalog/'); define('DIR_WS_ADMIN', '/catalog/admin.changed/'); define('DIR_WS_HTTPS_ADMIN', '/catalog/admin.changed/'); // define('DIR_FS_ADMIN', '/var/www/html/oscommerce-2.3.4.1/catalog/admin.changed/'); define('DIR_FS_ADMIN', '/var/www/docs/xxxlinkxxx/catalog/admin.changed/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); // define('DIR_FS_CATALOG', '/var/www/html/oscommerce-3.3.4.1/catalog/'); define('DIR_FS_CATALOG', '/var/www/docs/xxxlinkxxx/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/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'xxxxadminxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxx!'); define('DB_DATABASE', 'dbxxx'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('CFG_TIME_ZONE', 'America/Los_Angeles'); ?> I have not edited the catalog/includes/configure.php as I'm not sure why there are two of these files. I only edited the first /catalog/admin.changed/includes/configure.php file as a result of Gooogling the problem. I'm reasonably experienced with web servers, but I'm scratching my head and pulling my hair out at this point. Any help would be gratefully appreciated. Thanks, -Kevin Link to comment Share on other sites More sharing options...
241 Posted June 28, 2018 Share Posted June 28, 2018 you will need to edit the catalog/includes/configure.php as that is for the front of the shop. The admin one is for the back administration 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! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Twocanes Posted June 28, 2018 Author Share Posted June 28, 2018 Thanks for your reply. That makes perfect sense, except for which lines to edit. The catalog version of configure.php only has two lines similar to the admin version, neither of which had any effect. <?php define('HTTP_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'http://www.mydomain.com'); // define('ENABLE_SSL', false); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); 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', '/var/www/html/oscommerce-2.3.4.1/catalog/'); define('DIR_FS_CATALOG', '/var/www/docs/xxxlinkxxx/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'xxxadminxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'db'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('CFG_TIME_ZONE', 'America/Los_Angeles'); ?> Sorry to be obtuse, but please can you be a bit more specific? Link to comment Share on other sites More sharing options...
Twocanes Posted June 28, 2018 Author Share Posted June 28, 2018 Ack. As soon as I posted my last missive, I spotted the lack of the 's': define('HTTP_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'https://www.mydomain.com'); I added the 's' and it worked! Thanks again for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.