简体   繁体   中英

open_basedir restriction in effect Unknown on line 0?

I keep on getting these messages for every page at different times. What does line 0 mean?. Right now i'm using a free domain name from host(sub domain) and i'm using free hosting to test my site. I put this sign->.. down below to replace the real names for private reasons. My host couldn't even fix the problem. I only access my files and folders in account. I guess that the type of hosting i have isn't good ?.Thanks

Warning: Unknown: open_basedir restriction in effect. File(/home/v1/sweet/123/htdocs/subscribe.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/home/v1/bill/t/htdocs) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/home/v1/sweet/123/htdocs/subscribe.php' (include_path='.') in Unknown on line 0

open_basedir restriction in effect [...] on line 0 means the open_basedir is too restrictive for PHP to open the script itself.

You can see that /home/v1/sweet is not within your open_basedir which is beneath /home/v1/bill/ .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM