Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modules not displayed


Avium

Recommended Posts

Hi guys,

 

From the storeadmin, I get a strange error. Instead of displaying the various modules for payment and shipping, all I get is a URL telling me the file location of the modules. This is not going to be very helpful if I need to edit the shipping or enable new shipping methods.

 

I am running off a July 2002 version of OSCommerce, but would like to avoid an upgrade as much as possible as I've done mods and I sure don't know how to do an upgrade :D

 

Any advice on this, please?

Link to comment
Share on other sites

Do a search on: missing modules ...

 

And then edit your configure.php files and replace references to $DOCUMENT_ROOT with the real path ...

 

The real path can be obtained via Admin ... Tools ... Server Info ... search for DOCUMENT_ROOT without the $

 

And use that path in your define statements for both the catalog and admin

Link to comment
Share on other sites

Oh no - these modules are on my old version. I didn't even try to install the MS1 at all.

 

Just that for some strange reason, ALL the module in my live store just stopped appearing. I've not modified or updated this store's codes since July 2002 (which is the snapshot that my store is based on).

 

So it really puzzles me as to why it can't be worked out.

Link to comment
Share on other sites

No changes - still the same thing. My host has this policy, though:

 

"If you are having trouble with PHP commands like backticks (``), system(), exec(), passthru(), and others that spawn external commands, or are having trouble with errors like:

 

open_basedir Restrictions in effect, file is in wrong directory

 

Then you've written a script that doesn't quite conform to our security standards. We implement strict security for PHP scripts run by Apache, because otherwise, none of our users would be able to sufficiently secure sensitive information (like Database passwords)!

 

To protect your PHP scripts, we've disallowed all PHP functions that would let one user possibly open another user's script (and see sensitive stuff like passwords). Our restrictions work in two parts:

 

1: OPEN_BASEDIR RESTRICTIONS

 

open_basedir restrictions prevent any of PHP's file opening commands from working on any files outside of /home/username , /web/tmp/ and /tmp

 

2: DISABLED EXECUTION FUNCTIONS

 

We have disabled the backticks operator (``), system(), exec(), passthru(), and dl() because all of these functions have and can be used to run naughty external processes as Apache's user."

 

Does it affect the script?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...