Closed Thread
Results 1 to 6 of 6

Thread: open_basedir restriction in effect?

  1. #1
    waveking is offline x10Hosting Member waveking is an unknown quantity at this point
    Join Date
    May 2006
    Posts
    14

    open_basedir restriction in effect?

    My site was working properly, but all of a sudden since about last 2 days, i started getting this error. What can be the reason?

    error:
    Warning: fopen(): open_basedir restriction in effect. File(/output/file.tmp) is not within the allowed path(s): (/backup/home/wk9/:/usr/lib/php:/usr/local/lib/php:/tmp) in /backup/home/wk9/public_html/market.php on line 47

  2. #2
    waveking is offline x10Hosting Member waveking is an unknown quantity at this point
    Join Date
    May 2006
    Posts
    14

    Re: open_basedir restriction in effect?

    I may be wrong, but a quick analysis found that perhaps the following two are not working!

    $_ENV['DOCUMENT_ROOT'];
    fopen

    Is this a temporary glitch with the system? My system relies on these and my cron jobs are failing becuase of this.

  3. #3
    TheJeffsta's Avatar
    TheJeffsta is offline x10 Lieutenant TheJeffsta is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    New Zealand
    Posts
    492

    Re: open_basedir restriction in effect?

    Just for future reference, you may get a warning for double posting (spamming) like this and is suggested that you use the 'Edit' button if you have something to add/change within 24 hours of posting info (forgot whether it was 24 or 48 hours).

    It might just be because it is running on a backup copy of your site or something, if it doesnt resolve within a few hours or later today/earlier tomorrow (depending on where you live), I suggest you post back here and an admin or account manager will have a closer inspection and/or tell you what has gone wrong and/or if you need to change any coding - but most likely not the coding that needs editing!
    TheJeffsta (Jeffrey N)

    "No matter how much you try, the end result will always end up the way you DO NOT want it!"

  4. #4
    waveking is offline x10Hosting Member waveking is an unknown quantity at this point
    Join Date
    May 2006
    Posts
    14

    Re: open_basedir restriction in effect?

    Thanks for the tip TheJeffsta.

    I changed the path, to absolute location, but still i am getting:

    Warning: fopen(): open_basedir restriction in effect. File(/home/wk9/public_html/output/file.tmp) is not within the allowed path(s): (/backup/home/wk9/:/usr/lib/php:/usr/local/lib/php:/tmp) in /backup/home/wk9/public_html/market.php on line 49

    Seeing the error I see the backup folder in the error path. Why is it checking in the backup folder, when i dont have it anywhere in my script?

  5. #5
    lambada's Avatar
    lambada is offline x10 Elder lambada is an unknown quantity at this point
    Join Date
    Mar 2006
    Location
    Caister, Gt Yarmouth, Norfolk, ENGLAND
    Posts
    1,222

    Re: open_basedir restriction in effect?

    Don't forget accounts are being shifted, so errors are highly likely.

    Also the Backup folder is the place where all acoccounts on x10hosting are stored (Don't ask me why this is), you won't actually see it because the highest directory you can access is /backup/home/wk9, my highest is /backup/home/lambada . Get the patern?

    These errors will keep happening until all the accounts are moved, then the problems will be sorted.
    Lambada - the former Account Manager (before I resigned)




  6. #6
    Bryon is offline Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: open_basedir restriction in effect?

    Lambada is correct, these errors are the result of the server being changed for free hosting. Please read the news.. Once everything is straightened out, (We will post), if you're still having these problems, post back in this thread.

Closed Thread

Similar Threads

  1. Adobe Photoshop: Abstract Crystal Ice Effect
    By pulse__xx in forum Tutorials
    Replies: 7
    Last Post: 11-20-2005, 09:56 AM
  2. crytal or shiny effect?
    By subvertman in forum Graphics & Webdesign
    Replies: 11
    Last Post: 08-30-2005, 06:32 AM
  3. open_basedir restriction??
    By oab in forum Free Hosting
    Replies: 3
    Last Post: 06-19-2005, 07:38 PM
  4. change doesn't have effect
    By Md. Tanvir Al Amin in forum Free Hosting
    Replies: 0
    Last Post: 06-09-2005, 12:16 PM
  5. Pop art effect
    By Ericsson in forum Graphics & Webdesign
    Replies: 8
    Last Post: 04-02-2005, 09:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers