Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem after installation


feanorthenoldo

Recommended Posts

Posted

I have installed osCommerce but no links work in the main page (login, products categories etc.). Wherever I click I get a blank page.

The web server is Apache 2.0.49, PHP 4.3.8 and mysql 4.0.17.

 

Can anyone help?

 

Thanks in advance.

Posted

You'll have to give more information than that.

 

1. A link to your website

2. The includes/configure.php file without the database user name and password.

 

Vger

Posted

Here is the link

www.royalphat.gr/valar

 

...and config.php

 define('HTTP_SERVER', 'http://www.royalphat.gr'); // 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.royalphat.gr');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/valar/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/valar/');
 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', '/var/www/DOMAINS/royalphat_gr/www_royalphat_gr/website/valar/');
 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', 'myuser');
 define('DB_SERVER_PASSWORD', 'mypassword');
 define('DB_DATABASE', 'commerce');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

Nevertheless the administration section works fine when i enter it by typing the full url (eg http://www.mydomain/oscommerce/admin) in the address bar.

Posted

I have tried various things...

At first I thought it was a problem with sessions handling, but when I change the store option from mysql to file, the problem persists.

I dropped the database and used the 'install' directory to recreate it....nothing

 

I suspect that there may be a problem with php. Does anyone know how to turn on error messaging?

Archived

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

×
×
  • Create New...