Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal Website Payments Pro module - Question


Guest

Recommended Posts

Posted

Under the installation section of the readme.txt file, there is an "IMPORTANT" message about the DIR_FS_CATALOG variable and what it should do.... I'm not sure I understand...

 

This is what that line looks like on my configure.php file:

 

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

 

It doesn't look like the example listed in the txt file... Can someone pls tell me if the code in my php file is wrong?

 

Thanks,

Calzada

Posted

That line is what it looks like before edited by the install script. If you installed manually it will stay looking like that, otherwise it could look something this this (just an example).

define('DIR_FS_CATALOG', '/var/www/html/catalog/');

 

To find out your path either ask your hosting company, or you can try looking in the top right address bar of your FTP programme when you go to your osCommerce site via FTP.

 

Vger

Posted

You mentioned installing manually - is there another way? I followed the instructions on the readme.txt file....

Posted
That line is what it looks like before edited by the install script. If you installed manually it will stay looking like that, otherwise it could look something this this (just an example).

define('DIR_FS_CATALOG', '/var/www/html/catalog/');

 

To find out your path either ask your hosting company, or you can try looking in the top right address bar of your FTP programme when you go to your osCommerce site via FTP.

 

Vger

 

From my web hosting control panel, this is what shows as my "Home Directory": /hsphere/local/home/bcalzada

 

Is this what should replace the "/home...." ?

 

Thank you!

Posted

osCommerce is normally installed by going to http://www.yourdomain.com/install and running the install procedure, but it looks as though you set up the database manually and edited the two configure.php files yourself. But if your site is working okay then you only need to know that pathway for use with PayPal WPP.

 

Vger

Posted

That's how installed the main oscommerce module. But then when I added the paypal part, I just pulled in the catalog folder "on top" of the previously loaded one.

 

I'll contact my hosting company. Hopefully they can tell me what needs to be there. Thanks.

Archived

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

×
×
  • Create New...