damiennsw Posted November 30, 2005 Share Posted November 30, 2005 Hi, thank you for reading this and thank you in advance if you can help, i download the oscommerce files, uploaded them just as the documentation says, installed the software by the book, some drama with getting SQL turned on at the server and getting a database going but all good. The install said all done no probs but nothing works. if i manualy load the admin page it appears but no links work, i just get "internal server error". If i load the main shopfront page, all the pictures are missing and no links work except shortcuts to different sites. I have removed all the files and replaced them, run setup again, no different, and i cant find mention of this prob in the faqs or forum. I even followed Vger's quick install guide and still no joy, very frustrating Could someone be nice enough to check out the shop install and maybe see whats wrong :). All the files are in www.rvvi.com.au/catalog thank you heaps in advance, took me ages to find this software and im keen to get it going. Regards, Damien Link to comment Share on other sites More sharing options...
GoVeGeTa Posted November 30, 2005 Share Posted November 30, 2005 Hi, thank you for reading this and thank you in advance if you can help, i download the oscommerce files, uploaded them just as the documentation says, installed the software by the book, some drama with getting SQL turned on at the server and getting a database going but all good. The install said all done no probs but nothing works. if i manualy load the admin page it appears but no links work, i just get "internal server error". If i load the main shopfront page, all the pictures are missing and no links work except shortcuts to different sites. I have removed all the files and replaced them, run setup again, no different, and i cant find mention of this prob in the faqs or forum. I even followed Vger's quick install guide and still no joy, very frustrating Could someone be nice enough to check out the shop install and maybe see whats wrong :). All the files are in www.rvvi.com.au/catalog thank you heaps in advance, took me ages to find this software and im keen to get it going. Regards, Damien here is your problem for the admin pages. http://www.rvvi.com.au/catalog/admin/://www.rvvi.com.au/catalog/admin/configuration.php?selected_box=configuration&gID=1&osCAdminID=2e9 go to your "catalog/admin/includes/configure.php" file at around line 18 you'll see this // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://yourdomain.com'); define('HTTPS_CATALOG_SERVER', 'https://your secure.domain.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/fullpath/to/your/catalog/dir); // 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/'); check the line in red against your file. I think that is where you are getting problems with your admin. i think that you have your url in here, just change it to reflect the path to your catalog eg ; "/usr/local/apache/htdocs" Or even better still. Post both your admin/includes/configure.php & includes/configure.php here and we will be able to sort it out for you. Cheers Hamu here is your problem for the admin pages. http://www.rvvi.com.au/catalog/admin/://www.rvvi.com.au/catalog/admin/configuration.php?selected_box=configuration&gID=1&osCAdminID=2e9 go to your "catalog/admin/includes/configure.php" file at around line 18 you'll see this // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://yourdomain.com'); define('HTTPS_CATALOG_SERVER', 'https://your secure.domain.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/fullpath/to/your/catalog/dir); // 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/'); check the line in red against your file. I think that is where you are getting problems with your admin. Or even better still. Post both your admin/includes/configure.php & includes/configure.php here and we will be able to sort it out for you. Cheers Hamu Link to comment Share on other sites More sharing options...
damiennsw Posted November 30, 2005 Author Share Posted November 30, 2005 here is your problem for the admin pages. http://www.rvvi.com.au/catalog/admin/://www.rvvi.com.au/catalog/admin/configuration.php?selected_box=configuration&gID=1&osCAdminID=2e9 go to your "catalog/admin/includes/configure.php" file at around line 18 you'll see this // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://yourdomain.com'); define('HTTPS_CATALOG_SERVER', 'https://your secure.domain.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/fullpath/to/your/catalog/dir); // 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/'); check the line in red against your file. I think that is where you are getting problems with your admin. i think that you have your url in here, just change it to reflect the path to your catalog eg ; "/usr/local/apache/htdocs" Or even better still. Post both your admin/includes/configure.php & includes/configure.php here and we will be able to sort it out for you. Cheers Hamu Hi GoVeGeTa, thanks heaps for your help, ive had a bit of a fiddle with no joy, but ill play more as the night goes on, here is the config for /catalog/admin/includes <?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', '://'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', '://'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/www/dbzeus/r/v/www.rvvi.com.au/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', 'www.rvvi.com.au/admin/'); // absolute path required define('DIR_FS_ADMIN', '/www/dbzeus/r/v/www.rvvi.com.au/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', 'www.rvvi.com.au/'); // absolute path required define('DIR_FS_CATALOG', '/www/dbzeus/r/v/www.rvvi.com.au/catalog/'); // 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', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'rvvi'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> and here is the config for /catalog/includes <?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', '://'); // 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.rvvi.com.au'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', 'www.rvvi.com.au/'); 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', '/www/dbzeus/r/v/www.rvvi.com.au/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', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'rvvi'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> thanks again for your help Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2005 Share Posted November 30, 2005 <?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.rvvi.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.rvvi.com.au'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/www/dbzeus/r/v/www.rvvi.com.au/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/www/dbzeus/r/v/www.rvvi.com.au/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/www/dbzeus/r/v/www.rvvi.com.au/catalog/'); // 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', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'rvvi'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> and here is the config for /catalog/includes <?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.rvvi.com.au'); // 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.rvvi.com.au'); 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', '/www/dbzeus/r/v/www.rvvi.com.au/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', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'rvvi'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> You can check whether the file system path is correct once you are in admin - click 'tools>>server info' Matti Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.