iceorfire / hustoj

Automatically exported from code.google.com/p/hustoj
1 stars 0 forks source link

can't use import function. #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
it shows "/home/judge/data/ is not in your open_basedir setting of php.ini, you 
can't use import function."
however i've changed open_basedir 
=/home/judge/data:/var/www/html/JudgeOnline:/tmp and restarted httpd service.

Original issue reported on code.google.com by jiqua...@gmail.com on 14 Mar 2011 at 8:27

GoogleCodeExporter commented 8 years ago
check the attribute of /home/judge/data
make sure www-data has the ability to access the directory and all its' parents
try:
sudo chmod 771 /home/judge/data 
sudo chmod 744 /home/judge

Original comment by newsc...@gmail.com on 14 Mar 2011 at 8:49

GoogleCodeExporter commented 8 years ago

Original comment by newsc...@gmail.com on 15 Jul 2011 at 2:21