Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PAYMENT Module HELP module.php


pedram

Recommended Posts

Hey guys,

 

I had everything working in the shopping cart including the payment modules section. I recently signed up for an account from authorize, and added the information, and began testing it. I tried my own credit card a few times, and it did not work. Giving me a response error back. A little while later, all the payment modules disappeared. I checked in the admin section, and no module will show up. I checked the apache logs and it says the following error message :

 

[Fri Jul 11 05:41:13 2003] [error] PHP Warning: main(): Failed opening '/usr/local/www/data/perpetualsilver.com/includes/languages/english/modules/payment/authorizenet.php' for inclusion (include_path='.:/usr/local/share/pear') in /usr/local/www/data-dist/perpetualsilver.com/admin/modules.php on line 120

 

[Fri Jul 11 05:41:13 2003] [error] PHP Fatal error: Call to undefined function: check() in /usr/local/www/data-dist/perpetualsilver.com/admin/modules.php on line 126

Link to comment
Share on other sites

Verify that your includes/languages/english/modules/payment/authorizenet.php file actually exists and has the appropriate rights (should be 644).

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

Hey Jim,

 

Thanks for replying. I checked the rights and I set them first as 644, and then as 655. Both times it still gave me the same error. But this time, It did not give me the warning, it just gave me the following error:

 

[Fri Jul 11 08:50:41 2003] [error] PHP Fatal error: Call to undefined function: check() in /usr/local/www/data-dist/perpetualsilver.com/admin/modules.php on line 126

 

If you would like to see the contents of 'authorizenet.php' and 'modules.php', here are the links :

 

http://www.perpetualsilver.com/authorizenet.html

http://www.perpetualsilver.com/modules.html

 

Note : I took out most of the parts in modules.html that had <?php, so please dont think those are missing parts in my file. I tried my best :D

Link to comment
Share on other sites

Why did you remove the <?php portions of the files?

 

In addition, the pages that you have linked are not correct or complete. If you still have your download of osC available, I suggest overwriting your current files in the catalog/includes/modules/payment folder with the originals.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

I took out the <?php so the webserver doesn't try to process the HTML as php so you can take a look at the source code. But I didn't do that on the real live files on the site. I tried what you said, it worked.

 

Thanks 8)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...