Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

open_basedir problem after moving site to root


boeaz

Recommended Posts

Posted

Hi All,

 

I've just moved a site from /catalog to / (root). Both configuration.php files have been amended - I think correctly according to posts on the forum. It seems I have a permissions issue with open_basedir but I don't know how to fix it.

 

I get 3 errors when going to the root:

 

Warning: main() [function.main]: open_basedir restriction in effect. File(./includes/application_top.php) is not within the allowed path(s):

(E:\Websites\.. "path removed" ...com) in E:\Websites\.. "path removed" ...\www\index.php on line 13

 

Warning: main(includes/application_top.php) [function.main]: failed to open stream: Operation not permitted in E:\Websites\.. "path removed" ..www\index.php on line 13

 

Fatal error: main() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.;C:\php5\pear') in E:\Websites\... "path removed" ...\www\index.php on line 13

 

I'm on a Windows server and use the Hosting Controller admin interface. Any help gratefully accepted.

 

Cheers,

Roman

Posted

I've continued playing with the configuration.php without success, I think lifting restrictions on open_basedir might be the answer. There are several Linux solutions but none that I could find for Windows. I've e-mailed my host but there is no reply yet. Any help appreciated.

 

Thanks..

 

Hi All,

 

I've just moved a site from /catalog to / (root). Both configuration.php files have been amended - I think correctly according to posts on the forum. It seems I have a permissions issue with open_basedir but I don't know how to fix it.

 

I get 3 errors when going to the root:

 

Warning: main() [function.main]: open_basedir restriction in effect. File(./includes/application_top.php) is not within the allowed path(s):

(E:\Websites\.. "path removed" ...com) in E:\Websites\.. "path removed" ...\www\index.php on line 13

 

Warning: main(includes/application_top.php) [function.main]: failed to open stream: Operation not permitted in E:\Websites\.. "path removed" ..www\index.php on line 13

 

Fatal error: main() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.;C:\php5\pear') in E:\Websites\... "path removed" ...\www\index.php on line 13

 

I'm on a Windows server and use the Hosting Controller admin interface. Any help gratefully accepted.

 

Cheers,

Roman

Archived

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

×
×
  • Create New...