Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Module Issues?


Stealth1

Recommended Posts

Hi,

 

I just installed OScommerce and i was going through the admin panel and came to the modules section. For all 3 of the module sections there is nothing listed under each and im not sure why? For each it says "Module Directory: DIR_FS_CATALOG_MODULESpayment/" but the last part "payment" is substituted for shipping and order total in the other sections. Is there something wrong with my installation or are the modules not pre-installed? Also i have been looking through some of hte contributions and would like to install them but havent found what is necessary to install them as they dont come with any install documents

Link to comment
Share on other sites

When you select a payment, shipping or order total module, you should see in the top right corner an install button. Click it and it will install the module.

 

For the contributions, I haven't seen any contribution yet that comes without any kind of install instructions. You have to download and unzip them. In the zip file you find everything you need to install the contribution.

 

abra

The First Law of E-Commerce: If the user can't find the product, the user can't buy the product.

 

Feedback and suggestions on my shop welcome.

 

Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong.

Link to comment
Share on other sites

When you select a payment, shipping or order total module, you should see in the top right corner an install button. Click it and it will install the module.

 

For the contributions, I haven't seen any contribution yet that comes without any kind of install instructions. You have to download and unzip them. In the zip file you find everything you need to install the contribution.

 

abra

 

The problem is there are no modules to select to then push the install button. There is nothing listed but the "Module Directory: DIR_FS_CATALOG_MODULESpayment/" thing.

 

As for the contributions I downloaded the paypal fee charge 2.1 and there is nothing but files that would need to be put up on the FTP.

Link to comment
Share on other sites

The problem is there are no modules to select to then push the install button. There is nothing listed but the "Module Directory: DIR_FS_CATALOG_MODULESpayment/" thing.

 

As for the contributions I downloaded the paypal fee charge 2.1 and there is nothing but files that would need to be put up on the FTP.

 

I could only find two paypal fee charge contributions. None of them is called paypal fee charge 2.1 so I'm not sure where you got the contrib from.

 

1) http://www.oscommerce.com/community/contri...arch,paypal+fee

This one comes with instructions and adds a visible fee to order total.

 

2) http://www.oscommerce.com/community/contri...arch,paypal+fee

This one comes without instructions and is not visible in order total as it replaces the standard paypal module.

 

About your existing/non-existing modules in admin: Did you install osC yourself by uploading the code you got from www.oscommerce.com or did you use any other version or something preinstalled by your webhost? You see, I am not using Authorize.net but when I go to my payment module section in admin, it's there and has the install button. I downloaded and installed osC from here.

 

abra

The First Law of E-Commerce: If the user can't find the product, the user can't buy the product.

 

Feedback and suggestions on my shop welcome.

 

Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong.

Link to comment
Share on other sites

I could only find two paypal fee charge contributions. None of them is called paypal fee charge 2.1 so I'm not sure where you got the contrib from.

 

1) http://www.oscommerce.com/community/contri...arch,paypal+fee

This one comes with instructions and adds a visible fee to order total.

 

2) http://www.oscommerce.com/community/contri...arch,paypal+fee

This one comes without instructions and is not visible in order total as it replaces the standard paypal module.

 

About your existing/non-existing modules in admin: Did you install osC yourself by uploading the code you got from www.oscommerce.com or did you use any other version or something preinstalled by your webhost? You see, I am not using Authorize.net but when I go to my payment module section in admin, it's there and has the install button. I downloaded and installed osC from here.

 

abra

 

I got the PayPalfeecharge2.0 from the contributions section after searching for "paypal".

 

As for the install, i am using hostingplex.com for hosting my websites and installed it directly through them as its offered in the cpanel. Maybe im missing something but everything else seems to be working fine except for the modules section.

Link to comment
Share on other sites

I got the PayPalfeecharge2.0 from the contributions section after searching for "paypal".

 

As for the install, i am using hostingplex.com for hosting my websites and installed it directly through them as its offered in the cpanel. Maybe im missing something but everything else seems to be working fine except for the modules section.

 

A lot of webhosts now offer osC installation scripts. Mine just added this service. You never know what they left out, though.

 

No idea if this is a solution but you could download the latest relase of osC http://www.oscommerce.com/solutions/downloads, unzip it and upload the missing files in the catalog and catalog/admin section (includes, modules, languages). Be careful not to overwrite already modified/existing ones. After that go to your admin panel and check if they are listed now.

 

No guarantee that this will work but it's worth a try.

 

abra

The First Law of E-Commerce: If the user can't find the product, the user can't buy the product.

 

Feedback and suggestions on my shop welcome.

 

Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong.

Link to comment
Share on other sites

Hi,

 

I just installed OScommerce and i was going through the admin panel and came to the modules section. For all 3 of the module sections there is nothing listed under each and im not sure why? For each it says "Module Directory: DIR_FS_CATALOG_MODULESpayment/" but the last part "payment" is substituted for shipping and order total in the other sections. Is there something wrong with my installation or are the modules not pre-installed? Also i have been looking through some of hte contributions and would like to install them but havent found what is necessary to install them as they dont come with any install documents

 

If I read this correctly... One of the following is true:

 

1) You have not set DIR_FS_CATALOG_MODULES for the proper directory

(this is usually preset so its been changed since the install)

 

2) You have a missing ', " or ` in application_top.php or configure.php

 

3) While editing another file in your admin you have inadvertantly removed a ', ", or `.

 

You should first go through a false purchase in your oscommerce, and if it shows shipping, and payment options to you AS A CUSTOMER then you need to look in the admin/ directory for the problem, as the issue is soley with your admin section.

 

If no options for shipping or payment are available to you AS A CUSTOMER then it is most likely in your configure.php or application_top.php.

 

Just my thoughts on the matter

 

Thomas K

Rainbow Computer Systems

A signature is something that reflects its user. - The dictionary

 

The question is not, 'to code, or not to code'

the question is, 'if we do not code, are we really alive?'

-- anonymous

Link to comment
Share on other sites

If I read this correctly... One of the following is true:

 

1) You have not set DIR_FS_CATALOG_MODULES for the proper directory

(this is usually preset so its been changed since the install)

 

2) You have a missing ', " or ` in application_top.php or configure.php

 

3) While editing another file in your admin you have inadvertantly removed a ', ", or `.

 

You should first go through a false purchase in your oscommerce, and if it shows shipping, and payment options to you AS A CUSTOMER then you need to look in the admin/ directory for the problem, as the issue is soley with your admin section.

 

If no options for shipping or payment are available to you AS A CUSTOMER then it is most likely in your configure.php or application_top.php.

 

Just my thoughts on the matter

 

Thomas K

Rainbow Computer Systems

 

 

I just went and did a false purchase and when it came to payment options it said

"Payment Method

This is currently the only payment method available to use on this order." In this box there were no options at all for payment options. I have not modified any of the php files I just changed the main info like company name, personal name etc etc. Since I havent modified much would it be ideal to just re-install the program or replace/add the files from the most recent version?

Link to comment
Share on other sites

also when i look through the ftp i find the modules folder under "includes" and there are php files in the modules folders for paypal etc. so there must be something in the coding or where its looking for the module files?

Link to comment
Share on other sites

So they are there and your configuration files are not set correctly.

 

Check the settings in /catalog/admin/include/configure.php and /catalog/includes/configure.php

 

You already got a little hint for the admin part: look for DIR_FS_CATALOG_MODULES

my setting for admin reads: define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

 

and for the catalog part it reads: define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

 

I hope that helps.

 

abra

The First Law of E-Commerce: If the user can't find the product, the user can't buy the product.

 

Feedback and suggestions on my shop welcome.

 

Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong.

Link to comment
Share on other sites

So they are there and your configuration files are not set correctly.

 

Check the settings in /catalog/admin/include/configure.php and /catalog/includes/configure.php

 

You already got a little hint for the admin part: look for DIR_FS_CATALOG_MODULES

my setting for admin reads: define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

I dont have this line at all in my config file, it reads like this instead: define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

 

and for the catalog part it reads: define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

For this mine reads the same except at the end it just says 'modules/');

 

I hope that helps.

 

abra

Link to comment
Share on other sites

I'm not an expert at this as my setup is working fine.

 

In the configure.php files you need to change the DOCUMENT_ROOT settings. After that everything else should fall into place. See the original files for comparison. There are comments about what should be entered where.

 

abra

The First Law of E-Commerce: If the user can't find the product, the user can't buy the product.

 

Feedback and suggestions on my shop welcome.

 

Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong.

Link to comment
Share on other sites

I too seem to be having the exact same problem. I haven't done any file modifications. I ran through the install script and everything is fine except for the modules.

 

I've since deleted my installation 3 times and reinstalled with the same results.

Link to comment
Share on other sites

yes, the database info is at the bottom of the file

 

you can also remove the domain url if you do not want people to see what it is

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Here is my config file:

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

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

define('HTTPS_SERVER', 'https://www.tougetuning.com/osc'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'tougetuning.com');

define('HTTPS_COOKIE_DOMAIN', 'tougetuning.com');

define('HTTP_COOKIE_PATH', '/tougetuning/osc/');

define('HTTPS_COOKIE_PATH', '/tougetuning/osc/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

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

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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

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

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

Link to comment
Share on other sites

I just was playing with my admin config file and got rid of the images directory issue, this is what it looks like now, what i added is highlighted:

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

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

define('HTTPS_SERVER', 'https://tougetuning.com/osc'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'tougetuning.com');

define('HTTPS_COOKIE_DOMAIN', 'tougetuning.com');

define('HTTP_COOKIE_PATH', '/tougetuning/osc/');

define('HTTPS_COOKIE_PATH', '/tougetuning/osc/');

define('DIR_WS_HTTP_CATALOG', '/tougetuning/osc/');

define('DIR_WS_HTTPS_CATALOG', '/tougetuning/osc/');

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

define('DIR_WS_CATALOG', '/osc/');

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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . '/images/');

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

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

 

I am still having problems with the modules and eventhough i can upload an image sucessfully it will not displayi it.

Link to comment
Share on other sites

It's all of your /admin/includes/configure.php and /includes/configure.php down to

// define our database connection

 

abra

The First Law of E-Commerce: If the user can't find the product, the user can't buy the product.

 

Feedback and suggestions on my shop welcome.

 

Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong.

Link to comment
Share on other sites

k guys looking at my /admin/includes/modules/ folder i dont have any payment or shipping or order total modules in there i only have some newsletter crap. Would this be a problem? I have the modules in my /includes/modules section but not in the admin one.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...