Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Ok, I've lost a lot of time trying to figure out what's going on and, so far, had no success. First of all, I do know a little of PHP, mySQL and "webdesigning" and I'm doing a store for my girlfriend. The store is nearly ready but I'm having a little and annoying problem: can't use, install or see any modules.

 

If I go the /admin area of my page, login and go to "modules" area, all I can see is a "Folder http://www.xxx.com/includes/modules/payment/", the install button and that's it. No modules installed. Plus, when I click on the "install" button, the page refreshs and nothing happens.

 

What I REALLY don't get is: my modules are on the correct folder, www\includes\modules and I do have the www\includes\languages\<mylanguage>\modules, www\admin\includes\modules and www\admin\includes\languages\<mylanguage>\modules folders.

 

Plus, I don't have any local configure.php on any "local" folder.

 

Here my files:

 

configure.php from www\includes

 

<?php

define('HTTP_SERVER', 'http://www.xxx.com/');

define('HTTPS_SERVER', 'http://www.xxx.com/');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.xxx.com/');

define('HTTPS_COOKIE_DOMAIN', 'www.xxx.com/');

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', 'www.xxx.com/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'xxx');

define('DB_SERVER_USERNAME', 'xxx');

define('DB_SERVER_PASSWORD', 'xxx');

define('DB_DATABASE', 'xxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

configure.php from www\admin\includes

 

<?php

define('HTTP_SERVER', 'http://www.xxx.com/');

define('HTTP_CATALOG_SERVER', 'http://www.xxx.com/');

define('HTTPS_CATALOG_SERVER', 'http://www.xxx.com/');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', 'http://www.xxx.com/');

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', 'http://www.xxx.com/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', 'http://www.xxx.com/');

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('DB_SERVER', 'xxx');

define('DB_SERVER_USERNAME', 'xxx');

define('DB_SERVER_PASSWORD', 'xxx');

define('DB_DATABASE', 'xxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

For finishing, sometimes, when I buy, I can see ONLY ONE of the payment modules but if I repeat the same purchase, the area when the module should show will be blank. Can anyone help me with this? The store is almost done, it's the last thing I need to do. :)

 

PS: Of course I've replaced my domain with xxx and DB_SERVER and stuff with xxx, all this data are correct, plus, <mylanguage> is actually the language I'm using.

 

Thank you for your attention. :)

  • 2 weeks later...
Posted (edited)

sniff sniff, since I got no response from anybody, I found the solution. :)

 

Turned out it was a problem with Servage, my host.

 

Ok, I've lost a lot of time trying to figure out what's going on and, so far, had no success. First of all, I do know a little of PHP, mySQL and "webdesigning" and I'm doing a store for my girlfriend. The store is nearly ready but I'm having a little and annoying problem: can't use, install or see any modules.

Edited by brunobelo

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...