vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   openbase restriction? (https://vborg.vbsupport.ru/showthread.php?t=78300)

keymistress 03-18-2005 02:33 AM

openbase restriction?
 
this page was working well until suddenly a few days ago i got this error:
Quote:

Originally Posted by error
Warning: main(): open_basedir restriction in effect. File(./global.php) is not within the allowed path(s): (/usr/local/psa/home/vhosts/keeptouch.net/subdomains/hostings/httpdocs:/tmp) in /usr/local/psa/home/vhosts/keeptouch.net/subdomains/hostings/httpdocs/index.php on line 17

Warning: main(./global.php): failed to open stream: Operation not permitted in /usr/local/psa/home/vhosts/keeptouch.net/subdomains/hostings/httpdocs/index.php on line 17

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/psa/apache/lib/php') in /usr/local/psa/home/vhosts/keeptouch.net/subdomains/hostings/httpdocs/index.php on line 17

need help!

amykhar 03-18-2005 03:01 AM

sounds to me like your host made a permissions change. It might be necessary to contact them.

amykhar 03-18-2005 03:02 AM

<a href="http://www.ez.no/ez_publish/documentation/configuration/troubleshooting/open_basedir_restriction" target="_blank">http://www.ez.no/ez_publish/document...ir_restriction</a>

keymistress 03-18-2005 03:06 AM

i tried to ssh change the openbase restrictions but it didn't work...
is it because it'll take awhile to take effect?
i'm using

chflags noschg /usr/local/psa/home/vhosts/keeptouch.net/conf/httpd.include

amykhar 03-18-2005 10:08 AM

do you have root permissions?

keymistress 03-19-2005 03:43 AM

thanks, solved it already...
had to do an SSH to re-write the httpd.include file because i'm using Plesk cpanel and they have certain security measures...

keymistress 03-22-2005 02:15 AM

for the benefit of everyone, i have to first allow openbase_dir restriction
next i have to edit my httpd.include file from

/subdomains/gallery/httpdocs:/tmp to
/subdomains:/tmp

lastly, disallow openbase_dir restriction and restart the server :)


All times are GMT. The time now is 06:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02078 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete