wapboy Posted March 29, 2003 Share Posted March 29, 2003 Called catalog/install/onstall.php and it fails with:- Warning: open_basedir restriction in effect. File is in wrong directory in /home/mysite/public_html/catalog/catalog/install/includes/application.php on line 28 Fatal error: Failed opening required '/functions/general.php' (include_path='.:/usr/share/php') in /home/mysite/public_html/catalog/catalog/install/includes/application.php on line 28 I read somewhere I could fix this using Plesk or .htaccess files. My ISP doesn't allow access to Plesk so if .htaccess is the answer could someone tell me what commands I need to put in the file and what directory to put the file in. Any other suggestions Thanks Link to comment Share on other sites More sharing options...
wapboy Posted April 1, 2003 Author Share Posted April 1, 2003 By changing all the require calls to the full path name e.g. http://...... I get to display the install.php page but it still has an error:- Fatal error: Call to undefined function: osc_draw_box_heading() in /home/coldfoxnet/public_html/catalog/catalog/install/templates/main_page/boxes/navigation.php on line 13 So I'm still unable to install osCommerce on my host - worked fine on my local Apache server under Windows Help, before I give up Thanks Paul Link to comment Share on other sites More sharing options...
Guest Posted April 1, 2003 Share Posted April 1, 2003 Is php running in safe_mode? Link to comment Share on other sites More sharing options...
toolcrazy Posted April 1, 2003 Share Posted April 1, 2003 The open_basedir is caused by safe mode. You may try and eliminate the /catalog/catalog/ dir structure. And put the contents of /catalog/catalog/ into the root /public_html/. This is strange though. The install doesn't require a /tmp/ dir so it should install fine. The only thing that I can think of is a dir is in the wrong place and php doesn't like it, or your host has a very strong safemode set up. Steve ------------------------- Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.