Help - Search - Members - Calendar
Full Version: File Creation
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
lemiant
I have a script which creates a file via fopen() fwrite() fclose(), however when I load the page I created, I get this error:


"Warning: require() [function.require]: SAFE MODE Restriction in effect. The script whose uid is 2001 is not allowed to access /www/vndv.com/q/w/e/qwerty8/htdocs/scripts/header.php owned by uid 199437 in /www/vndv.com/q/w/e/qwerty8/htdocs/products/clothingdir/Me_.php on line 1

Warning: require(/www/vndv.com/q/w/e/qwerty8/htdocs/scripts/header.php) [function.require]: failed to open stream: Inappropriate ioctl for device in /www/vndv.com/q/w/e/qwerty8/htdocs/products/clothingdir/Me_.php on line 1

Fatal error: require() [function.require]: Failed opening required '/www/vndv.com/q/w/e/qwerty8/htdocs/scripts/header.php' (include_path='.:/usr/lib/php') in /www/vndv.com/q/w/e/qwerty8/htdocs/products/clothingdir/Me_.php on line 1"


However, if I rename the files they instantly become active, just like they should. Does anyone know how to turn off the SAFE MODE Restriction? That way I don't have to rename the files before they work.

Thanks,
Theodore
Ed
I've changed the permissions on the Me_.php file so they should have permission to access the file. You can't turn off safe mode.
lemiant
Thanks Ed,

Is there any way I can do that without manual action?

Regards,
Theodore
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.