Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help!!! Modules and other info not updating


Duane P

Recommended Posts

My payment/ shipping modules are not working/ installing.

 

I have tried not to post this but I am stumped, usually I can figure these things out myself?!!

1. I have changed my admin configure.php file and my catalog configure.php (both below)

2. I have checked to see that php.ini has the include_path with '.;c:\php\includes'

3. also it has file_uploads is On

 

 

What am I doing wrong? any suggestions/ help would be greatly appreciated.

Please and thanks!

Duane

 

Catalog configure.php

 

<?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://shop.atwhistler.com'); // 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', 'shop.atwhistler.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

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', 'j:/wwwroot/shop.atwhistler.com/www/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', 'mysql.sunbowl.ca'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxx');

define('DB_DATABASE', 'shop_atwhistler_com');

define('USE_PCONNECT', 'true'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

 

Admin Configure.php

 

<?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://shop.atwhistler.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'http://shop.atwhistler.com');

define('HTTP_CATALOG_SERVER', 'http://shop.atwhistler.com');

define('HTTPS_CATALOG_SERVER', 'http://shop.atwhistler.com');

define('ENABLE_SSL', 'false');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', 'j:/wwwroot/shop.atwhistler.com/www/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', 'j:/wwwroot/shop.atwhistler.com/www/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', 'j:/wwwroot/shop.atwhistler.com/www/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', 'mysql.sunbowl.ca'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxx');

define('DB_DATABASE', 'shop_atwhistler_com');

define('USE_PCONNECT', 'true'); // use persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

It appears this is a general problem with the compatibility.php files (there are two) in the 060817 update.

Here is a work around: Add the following code

reset($ar);

at the end of the do_magic_quotes_gpc routine.

 

It will end up looking like this:

function do_magic_quotes_gpc(&$ar) {
if (!is_array($ar)) return false;
while (list($key, $value) = each($ar)) {
if (is_array($ar[$key])) {
do_magic_quotes_gpc($ar[$key]);
} else {
$ar[$key] = addslashes($value);
}
}
reset($ar);
}

 

You can download this patch here: osC MS2 060817 Module Patch for STSv4.2 & 4.3 This is not an STS issue, but rather a bug in the latest osc update.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

That helped but I still have a minor issue:

The flat rate in the shipping module and both the Cash on delivery and the credit card choices in the payment module don't work. The all say install but when you click the install button it just comes back again with the install button.

Link to comment
Share on other sites

It appears this is a general problem with the compatibility.php files (there are two) in the 060817 update.

Actually this is a problem with /admin/modules.php in 060817. See here for the problem & fix:

 

http://www.oscommerce.com/forums/index.php?s=&...st&p=923577

Link to comment
Share on other sites

Nope that last thing didn't change a thing?

 

I stil have the flat rate in the shipping module and both the Cash on delivery and the credit card choices in the payment module not working. The all say install but when you click the install button it just comes back again with the install button.

 

Thanks,

Duane

Link to comment
Share on other sites

Actually this is a problem with /admin/modules.php in 060817. See here for the problem & fix:

 

http://www.oscommerce.com/forums/index.php?s=&...st&p=923577

Jason, I have seen both fixes work. Hmm... I'd like to see an "official" ruling on this from maybe Harold?

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Jason, I have seen both fixes work. Hmm... I'd like to see an "official" ruling on this from maybe Harold?

Sod the ruling - how about *FIXING* the flipping bug!!! I've seen sooooooo many people post here about this module problem.

Link to comment
Share on other sites

Yes and me too!!

 

But any other ideas?

Duane

I replied to your personal message. Let us know the status of the points that I brought up to help troubleshoot this.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...