Warning: open_basedir restriction in effect.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
wizzard
Forum Commoner
Posts: 93
Joined: Thu May 16, 2002 5:36 am
Location: Belgium
Contact:

Warning: open_basedir restriction in effect.

Post by wizzard »

Hi,

I always have this error, i made an upload system. Where can i fix this so it can work?

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/studiofreaks.com/httpdocs/time.php on line 6
Bestand '215KL341E1_B11.gif' met de grootte: 27005 bytes is succesvol geupload!

Regards
Kris
User avatar
enygma
Site Admin
Posts: 175
Joined: Fri Apr 19, 2002 8:29 am
Location: Dallas, Tx

Post by enygma »

look into "safe mode" - I believe that means it's running on your server
romeo
Forum Contributor
Posts: 138
Joined: Sun Apr 21, 2002 12:50 pm

if it is

Post by romeo »

if ur host is in safe mode get them to create a vhost.conf for whatever dir u need to open stuff in...
or if u have access to the conf dir u can
wizzard
Forum Commoner
Posts: 93
Joined: Thu May 16, 2002 5:36 am
Location: Belgium
Contact:

Post by wizzard »

Hi Romeo,

Can you give me more info where i have to put this? I'm not an expert in this things:) i cannot turn of safe mode global for all the users that have an account. I just want to give one user in dir /home/websites/studiofreaks/images full options so he can upload files to this dir can you help me?

Regards
Kris





if ur host is in safe mode get them to create a vhost.conf for whatever dir u need to open stuff in...
or if u have access to the conf dir u can
Post Reply