Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Viewing Admin Section


train25

Recommended Posts

A little background may be required here. I had to manually import the oscommerce.sql file into the database since the installation script would not find the oscommerce.sql fine when trying to run it.

 

After which took a little work to get the front end of the script running. But that seems to be taken care of with some edits.

 

Although now I have been working on getting the admin section to work over the last 2 days. Call it a mind block...brain fart...too much code passing in front of my eyes...i dont know? But when i try to load the index.php located in my admin folder I get a plain white blank page. No errors while loading the page what so ever. I edited the admin/includes/configure.php file to reflect the same as the configuration file in root/includes/configure.php file.

 

Here is the configuration file from the admin section. Anyone have any ideas? Keep in mind I am not using the catalog folder that came with OSCommerce. I have installed all the folders to the root of the web. The web is located at http://ricksinbox.no-ip.com if you are interested in looking for yourself. The admin section is named still as default until this issue is resolved.

 

*/

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'http://ricksinbox.no-ip.org'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://ricksinbox.no-ip.org');

define('HTTPS_CATALOG_SERVER', '');

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 our database connection

define('DB_SERVER', 'serverlocationwashere');

define('DB_SERVER_USERNAME', 'usernameremoved');

define('DB_SERVER_PASSWORD', 'passwordremoved');

define('DB_DATABASE', 'databasenameremoved');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...