Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

/usr/local/psa/apache/lib/php/includes/modules


unistar

Recommended Posts

I'm getting some "open_basedir restriction in effect" errors but I'm waiting for my host to add /tmp to the open_base dir of php.ini.

 

In the meantime he told me that the problem is because:

 

You need to check you script. It is looking for a file at:

/usr/local/psa/apache/lib/php/includes/modules

 

but it should be looking for it in:

/usr/local/psa/home/vhosts/myserver.com/httpdocs/includes/modules

 

The problem is that both my configure.php's have the good root.

Question: where is this path referenced at if I didn't add it myself?

/usr/local/psa/apache/lib/php/includes/modules ?

Link to comment
Share on other sites

Ok, /tmp added to php.ini verified with "server info" from admin.

 

Where is this line referenced at: /usr/local/psa/apache/lib/php/includes/modules?

 

I DID NOT type this in configure.php I have a different root.

 

This is the error I get:

 

Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/local/psa/apache/lib/php/includes/modules/FILENAME_DEFAULT_SPECIALS) is not within the allowed path(s): (/usr/local/psa/home/vhosts/myserver.com/httpdocs) in /usr/local/psa/home/vhosts/myserver.com/httpdocs/default.php on line 349

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...