Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modules Problem


Guest

Recommended Posts

Hi there,

 

I search but couldn't find anything.

 

For some inexplicable reason, the modules do not seem to load - payment module, shipping module.

They do not appear during checkout and the system does not display them at all in admin area.

 

Does anyone have an idea what might gone wrong.

 

I don't remember having changed anything and the server admins claim they haven't changed anything either.

 

PLEASE HELP!

Link to comment
Share on other sites

check your includes/configure.php and admin/includes/configure.php are setup correctly (if not sure post them here but remove the sensitive data)

Link to comment
Share on other sites

check your includes/configure.php and admin/includes/configure.php are setup correctly (if not sure post them here but remove the sensitive data)

Also advise what version of 2.2 you have and what patches have been applied.

Link to comment
Share on other sites

  • 2 weeks later...
Also advise what version of 2.2 you have and what patches have been applied.

 

I have the same problem. I installed a new store and I cant get any modules. When I go to modules from Admin area, this is what it shows. server/public_html/includes/modules/payment/

 

I have check and the payment/shipping modules areall in the folder, but cant be picked up. The store is new, no patch or contributions yet.

 

Please someone help.

Link to comment
Share on other sites

I have check and the payment/shipping modules areall in the folder, but cant be picked up. The store is new, no patch or contributions yet.

For starters you could remove the at (@) symbol before the dir to see on line 112 in admin/modules.php to see if you get any warning messages:

  if ($dir = @dir($module_directory)) {

Link to comment
Share on other sites

For starters you could remove the at (@) symbol before the dir to see on line 112 in admin/modules.php to see if you get any warning messages:

  if ($dir = @dir($module_directory)) {

 

Thanks Zan for your suggestion.

 

I tried it, now it gives the following error;

 

Warning: dir() has been disabled for security reasons in /home/*****/public_html/admin/modules.php on line 113

Module Directory: /home/*****/public_html/includes/modules/payment/

 

Does this mean anything?

Link to comment
Share on other sites

I tried it, now it gives the following error;

 

Warning: dir() has been disabled for security reasons in /home/*****/public_html/admin/modules.php on line 113

Module Directory: /home/*****/public_html/includes/modules/payment/

 

Does this mean anything?

It means you have a serious problem now. The modules page relies on getting a directory listing to find the modules that you have. If your hosting company put the PHP function dir() on the list of functions that cannot be used by PHP scripts you will have a non-functioning site because the shipping and payment modules rely on the same functionality on the catalog side.

 

So talk with them to see what they can do about that.

Link to comment
Share on other sites

  • 1 month later...

hey,

I have the same problem (module won't show in admin after uploading)

and did the same thing (remove the @) but no error showed up..

 

and the modules still don't work :wacko:

 

what can I do?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...