Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Module Installation Troubles


renny666

Recommended Posts

Posted

This is my first osCommerce installation, the program seems to be running fine expect i am having two issues.

 

First is when i click install on any of the 3 basic modules that came with the package it just refreshes the page and nothing happens, Payment, Shipping and Order_Totals.

 

Second is after people place an order it doesnt put the information to the Customer Orders page but if i look inside the MYSQL Database it seems like the information has been saved correctly into it.

Posted
This is my first osCommerce installation, the program seems to be running fine expect i am having two issues.

 

First is when i click install on any of the 3 basic modules that came with the package it just refreshes the page and nothing happens, Payment, Shipping and Order_Totals.

 

Second is after people place an order it doesnt put the information to the Customer Orders page but if i look inside the MYSQL Database it seems like the information has been saved correctly into it.

Think you have an old unpatched version, probably a template from you know where.

Posted
Think you have an old unpatched version, probably a template from you know where.

 

Care to explain ? :o

 

Im using osCommerce 2.2rc2a is this an old version?

Posted
Care to explain ? :o

 

Im using osCommerce 2.2rc2a is this an old version?

No, it does not matter.

 

Check your admin/includes/configure.php file but do not post the database info if you choose to post the file.

Posted
No, it does not matter.

 

Check your admin/includes/configure.php file but do not post the database info if you choose to post the file.

 

 

<?php

/*

$Id: configure.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'http://localhost/catalog'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://localhost/catalog');

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/');

 

 

Is this what you meant ? :/

 

TIA.

Posted

I'm still unable to find a solution, The error message that is being produced when the install button is clicked is as follows.

 

PHP Warning: dir(/catalog/includes/modules/payment/)[function.dir]: failed to open dir: No such file or directory in

C:\intetpub\wwwroot\catalog\admin\modules.php on line 112

 

line 112 is

 

: if ($dir = dir($module_directory)) {

 

 

i removed the @ from before the second dir so it would display the error on the page

 

if ($dir = @dir($module_directory)) {

 

Anyone else having this trouble?

Archived

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

×
×
  • Create New...