Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with Payment, Shipping MODULES


Shawn_Argento

Recommended Posts

When i'm on my admin section, and i go to those modules and i click INSTALL MODULE, nothing is happening.

I want to add shippin prices and stuff like that and i can't do it.

 

Can anyone help me out?

 

Thanx

hi

I just resolved this problem.

firstly,edit your /admin/modules.php to change the line 112 from 'if ($dir = @dir($module_directory)) {' to 'if ($dir = dir($module_directory)) {'

then,try the modules admin page,if file accessing error acord,change your /catalog/include/modules/payment/ permission to 777 and try again,it's same to shiping and order modules

good luck!!

Link to comment
Share on other sites

hi

I just resolved this problem.

firstly,edit your /admin/modules.php to change the line 112 from 'if ($dir = @dir($module_directory)) {'  to 'if ($dir = dir($module_directory)) {'

then,try the modules admin page,if file accessing error acord,change your /catalog/include/modules/payment/  permission to 777 and try again,it's same to shiping and order modules

good luck!!

 

 

THANX!

 

Did all that and i got this error now

 

M?dulos de Pago

 

M?dulos Orden Acci?n

 

Warning: dir(): open_basedir restriction in effect. File(/includes/modules/payment/) is not within the allowed path(s): (/www/:/tmp:/usr/local/php4.fastcgi/lib/php/) in /www/mcsay.com/htdocs/sitios/argento/catalog/pepe/modules.php on line 112

 

Warning: dir(/includes/modules/payment/): failed to open dir: Operation not permitted in /www/mcsay.com/htdocs/sitios/argento/catalog/pepe/modules.php on line 112

 

 

 

 

Thanx again...

Link to comment
Share on other sites

PHP is being run in Safe Mode on your server, and it is not set up correctly.  You need to contact your hosting company.

 

Vger

 

And what should i tell them?

"You are running php in safe mode, and i can't run my store script..." Just like that?

 

I had it working a couple of months ago, but it ain't working now...

 

 

 

Thanx again! I really appreciate it

Link to comment
Share on other sites

You had it working before because they were not running PHP in Safe Mode.

 

But the problem is that they have not set up Safe Mode correctly. You should still be able to access those files even in Safe Mode.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...