Guest cwheelsone Posted May 8, 2006 Share Posted May 8, 2006 Just installed the latest version of CC3. From every step of the instalation this message displayed on the top of the page, and is still there. http://www.tamsbyhand.com/store/ Warning: main() [function.main]: open_basedir restriction in effect. File(/config.inc.php) is not within the allowed path(s): (/var/www/vhosts/tamsbyhand.com/httpdocs:/tmp) in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 I tried the editconf.php tool for clues, but no luck. Any ideas anyone .... Thanks in advance :huh: Quote Link to comment Share on other sites More sharing options...
roban Posted May 8, 2006 Share Posted May 8, 2006 What are your permissions set at (CHMOD) for pear/tmp and the rest? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 8, 2006 Share Posted May 8, 2006 Look at the bottom of the lang.inc.php file. It should include just "config.inc.php" not "/config.inc.php" If there's a slash there, remove it....though I'm not sure how or why it would be there. :huh: Quote Link to comment Share on other sites More sharing options...
Guest Zaigham Posted May 8, 2006 Share Posted May 8, 2006 I have the same problem described above. I am on php5. But going to try the solution Sir William propsed. regards, Zaigham Quote Link to comment Share on other sites More sharing options...
Guest Zaigham Posted May 8, 2006 Share Posted May 8, 2006 I havent slash in start of "config.inc.php" in lang.in.php. Here is what I am getting at store front: Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/config.inc.php) is not within the allowed path(s): (/home/httpd/vhosts/zidesigns.com/web_users/labs:/tmp) in /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/language/en/lang.inc.php on line 2950 Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/language/en/lang.inc.php on line 2950 Warning: main() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/language/en/lang.inc.php on line 2950 And I am unable to login in Admin panel due to this error: Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/config.inc.php) is not within the allowed path(s): (/home/httpd/vhosts/zidesigns.com/web_users/labs:/tmp) in /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/language/en/lang.inc.php on line 2950 Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/language/en/lang.inc.php on line 2950 Warning: main() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/language/en/lang.inc.php on line 2950 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/language/en/lang.inc.php:2950) in /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/admin/includes/auth.inc.php on line 45 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/language/en/lang.inc.php:2950) in /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/admin/includes/auth.inc.php on line 45 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/language/en/lang.inc.php:2950) in /home/httpd/vhosts/zidesigns.com/web_users/labs/upload/admin/includes/auth.inc.php on line 49 I am setting up a demo for a client, on my localhost its working fine. So any help in this regard will be highly appreciated. I am on LAMP envoirement, Apache 2.0, PHP5 Quote Link to comment Share on other sites More sharing options...
Guest cwheelsone Posted May 8, 2006 Share Posted May 8, 2006 What are your permissions set at (CHMOD) for pear/tmp and the rest? Thanks Sir William for your help. I found no "/" in the file you said "include("config.inc.php");" Just installed the latest version of CC3. From every step of the instalation this message displayed on the top of the page, and is still there. http://www.tamsbyhand.com/store/ Warning: main() [function.main]: open_basedir restriction in effect. File(/config.inc.php) is not within the allowed path(s): (/var/www/vhosts/tamsbyhand.com/httpdocs:/tmp) in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 I tried the editconf.php tool for clues, but no luck. Any ideas anyone .... Thanks in advance pear is 755, tmp is 777... what other files should I be checked? Thanks Quote Link to comment Share on other sites More sharing options...
Guest gwizard Posted May 9, 2006 Share Posted May 9, 2006 Please tell your host to set Safe Mode = Off. Quote Link to comment Share on other sites More sharing options...
Guest cwheelsone Posted May 10, 2006 Share Posted May 10, 2006 What are your permissions set at (CHMOD) for pear/tmp and the rest? Thanks Sir William for your help. I found no "/" in the file you said "include("config.inc.php");" Just installed the latest version of CC3. From every step of the instalation this message displayed on the top of the page, and is still there. http://www.tamsbyhand.com/store/ Warning: main() [function.main]: open_basedir restriction in effect. File(/config.inc.php) is not within the allowed path(s): (/var/www/vhosts/tamsbyhand.com/httpdocs:/tmp) in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 I tried the editconf.php tool for clues, but no luck. Any ideas anyone .... Thanks in advance pear is 755, tmp is 777... what other files should I be checked? Thanks I'm running 'Plesk 8.0'. I have the same 'Error' happining on another of my hosted sites in Plesk. Its possable to 'turn off' safe mode in Plesk 8.0. I did, but still same error displayed on install page http://www.tamsbyhand.com/store/ I even tried installing CC3.0.10 with the same ipowerweb (but not on my VPS) and it installed without any errors. Still waiting for a response from ipowerweb.com. Am i missing something, like, in my face obvious?? Thanks guys :D Quote Link to comment Share on other sites More sharing options...
Guest Posted May 2, 2007 Share Posted May 2, 2007 Appears you got it working in plesk.. main site shows up nice... what was your fix? http://www.tamsbyhand.com/index.php What are your permissions set at (CHMOD) for pear/tmp and the rest? Thanks Sir William for your help. I found no "/" in the file you said "include("config.inc.php");" Just installed the latest version of CC3. From every step of the instalation this message displayed on the top of the page, and is still there. http://www.tamsbyhand.com/store/ Warning: main() [function.main]: open_basedir restriction in effect. File(/config.inc.php) is not within the allowed path(s): (/var/www/vhosts/tamsbyhand.com/httpdocs:/tmp) in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 I tried the editconf.php tool for clues, but no luck. Any ideas anyone .... Thanks in advance pear is 755, tmp is 777... what other files should I be checked? Thanks I'm running 'Plesk 8.0'. I have the same 'Error' happining on another of my hosted sites in Plesk. Its possable to 'turn off' safe mode in Plesk 8.0. I did, but still same error displayed on install page http://www.tamsbyhand.com/store/ I even tried installing CC3.0.10 with the same ipowerweb (but not on my VPS) and it installed without any errors. Still waiting for a response from ipowerweb.com. Am i missing something, like, in my face obvious?? Thanks guys Quote Link to comment Share on other sites More sharing options...
Guest Posted May 2, 2007 Share Posted May 2, 2007 what was your fix? http://www.tamsbyhand.com/index.php What are your permissions set at (CHMOD) for pear/tmp and the rest? Thanks Sir William for your help. I found no "/" in the file you said "include("config.inc.php");" Just installed the latest version of CC3. From every step of the instalation this message displayed on the top of the page, and is still there. http://www.tamsbyhand.com/store/ Warning: main() [function.main]: open_basedir restriction in effect. File(/config.inc.php) is not within the allowed path(s): (/var/www/vhosts/tamsbyhand.com/httpdocs:/tmp) in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/tamsbyhand.com/httpdocs/store/language/en/lang.inc.php on line 2950 I tried the editconf.php tool for clues, but no luck. Any ideas anyone .... Thanks in advance pear is 755, tmp is 777... what other files should I be checked? Thanks I'm running 'Plesk 8.0'. I have the same 'Error' happining on another of my hosted sites in Plesk. Its possable to 'turn off' safe mode in Plesk 8.0. I did, but still same error displayed on install page http://www.tamsbyhand.com/store/ I even tried installing CC3.0.10 with the same ipowerweb (but not on my VPS) and it installed without any errors. Still waiting for a response from ipowerweb.com. Am i missing something, like, in my face obvious?? Thanks guys Quote Link to comment Share on other sites More sharing options...
markscarts Posted May 2, 2007 Share Posted May 2, 2007 You're asking advice in a thread that is a year old The openbase_dir restriction error is due to server settings. Contact your host about this problem. If your host cannot tweak the settings for your cart to work, finding a better host may be your best solution. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.