Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

payment module


jfenley

Recommended Posts

Posted

payment module reading

 

Module Directory: /home/virtual/site30/fst/var/www/htmlincludes/modules/payment/

 

I can not find where to edit this payment module directory.

 

payment methode trying to use is paypal

 

 

thanks

Posted

Hi

 

Payment modules are found in the following folder

 

catalog/includes/modules/payment/

 

 

Although from the line you posted

 

Module Directory: /home/virtual/site30/fst/var/www/htmlincludes/modules/payment/

 

htmlincludes should probably read 'html/includes' if I were you i would check your configure.php file to make sure the paths are defines correctly.

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

paste your configure.php file here

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted
paste your configure.php file here
Minus your database info...we don't need that.

 

Cheers,

Matt

Posted

which config file, there is one under catalog and under admin.

 

both are under the include folder.

Posted

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.texascomputersolutions.com'); // eg, http://localhost - should not be empty for productive servers

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

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

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

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', '/home/virtual/site30/fst/var/www/html/ocs');

define('DIR_FS_CATALOG', '/home/virtual/site30/fst/var/www/html/ocs/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', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '********');

define('DB_SERVER_PASSWORD', '********');

define('DB_DATABASE', '*************');

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

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

?>

Posted

Ok where was this error appearing? Which page specifically?

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

ok then I need your admin configure.php file

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

here is the config.php from the admin directory

 

 

/ define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

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

define('HTTP_CATALOG_SERVER', 'http://www.texascomputersolutions.com/ocs/catalog/default.php');

define('HTTPS_CATALOG_SERVER', 'https://www.texascomputesolutions.com/ocs/catalog/default.php');

define('ENABLE_SSL_CATALOG', 'true'); // 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', '');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

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

 

// define our database connection

define('DB_SERVER', '*******');

define('DB_SERVER_USERNAME', '******');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', '******');

define('USE_PCONNECT', 'true');

define('STORE_SESSIONS', '');

Posted

Change these two lines

 

define('DIR_WS_ADMIN', ''); 

define('DIR_WS_CATALOG', '');

 

to

 

define('DIR_WS_ADMIN', '/'); 

define('DIR_WS_CATALOG', '/');

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

when I did that the page could not be displayed and would not access the links in the admin control panel.

 

I changed it back bud i'm still have the original problem.

Posted

If you're catalog is at

 

'http://www.texascomputersolutions.com/ocs/catalog/default.php'

 

Then your admin is at

 

'http://www.texascomputersolutions.com/ocs/admin/index.php'

 

????

 

why is your defines of admin and catalog as follows?

 

define('DIR_WS_ADMIN', '');

define('DIR_WS_CATALOG', '');

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

Try this

 

define('HTTP_SERVER', 'http://www.texascomputersolutions.com/ocs'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

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

define('HTTPS_CATALOG_SERVER', 'https://www.texascomputersolutions.com/ocs');

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

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

but enable should be 'true' not false!

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

<td colspan="4" class="smallText"><?php echo TEXT_MODULE_DIRECTORY . '' . $module_directory; ?></td>

 

this is the line in module.php in the admin directory

 

which shows on the webpage

Module Directory://home/virtual/site30/fst/var/www/htmlincludes/modules/payment/

 

 

TEXT_MODULE_DIRECTORY

is //home/virtual/site30/fst/var/www/html

 

$module_directory

is

includes/modules/payment/

 

i thought that i was missing ' / ' in the middel and tried it but did not work

TEXT_MODULE_DIRECTORY . '' . $module_directory; ?

 

if you want i can email you a log in to the data base all is functioning ok

accept for the modules - payment, shipping. etc...

 

 

thanks for the help

 

jfenley

Posted

Its hard to help you without actually looking at the pages first hand, you might not see something I would see etc.

 

But theres something definately wrong with

 

Directory://home/virtual/site30/fst/var/www/htmlincludes/modules/payment/

 

the htmlincludes should be html/includes

 

Did you try the code i just gave you?

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

I put the code in and had to make a modification since my directory is under /ocs but i got that done.

 

-and the payment module comes up and list several different payment avenues to incorrporate but at the bottom is has this:

 

Module Directory://home/virtual/site30/fst/var/www/html/ocs/catalog/includes/modules/payment/

 

The next problem after doing the modifications you sent i get this error on catalog - admin section when trying to up date catalog info.

-I have check the premissions and chgmod is set to 777 for that directory

 

Error Error: Catalog images directory is not writeable: /home/virtual/site30/fst/var/www/html/ocs/catalog/images/

 

Thanks joey

Posted

Thank you very much for the help,

 

I figured it out, all is working even the payment module with paypal, very cool.

 

Thank you again.

 

jfenley

Posted

No problem

 

I was actually stumped as to where to proceed! lol

 

Btw why arent you using MS2?

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

this is the way my luck runs....

what in the world, you mean i'm not using the latest version?

 

what version do i have?

 

and is MS2 better with more features and i will have to reconfigure all over again.

 

 

Thank you

 

Joey

Posted

MS2 is the latest milestone, you currently have MS1 set up, but you should be able to upgrade check out the installation files in the MS2 download.

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Archived

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

×
×
  • Create New...