FORMfields, the premiere web framework
Support Home | Knowledge Base | Documentation | Forums | Contact Us
FORMfields & FORMgen :: Errors

Permission Denied Error On Step 5 of FORMgen or 404 Not Found

(2727 views. Last Updated: 2008-04-11 12:06 PM)

When generating a form with the Downloadable FORMgen, you may receive an error like:
[function.fopen]: failed to open stream: Permission denied in 
/home/myusername/public_html/FORMgen/FgHelper.php on line 13

Warning: fwrite(): supplied argument is not a valid stream resource in 
/home/myusername/public_html/FORMgen/FgHelper.php on line 14

Warning: fclose(): supplied argument is not a valid stream resource in 
/home/myusername/public_html/FORMgen/FgHelper.php on line 15
or, when clicking on the links on Step 6 you may get a "404 Not Found" error.

This is most likely because your web server's settings prohibited the FORMfields Configuration script from properly setting up the permissions on the FORMfields forms directories. To fix this, use an FTP client (or the shell) to set the directory permissions of FORMfields/forms, FORMfields/forms/generated, FORMfields/forms/generated/extras and FORMfields/forms/backup to full read, write and execute permissions (chmod 777).

Note: Some web servers will still generate a 404 error or a blank page even when full permissions are set. These cases are most likely due to the web server requiring chmod 755 permissions on FORMfields/forms, FORMfields/forms/generated, FORMfields/forms/generated/extras and FORMfields/forms/backup.
Support | Earn Money
Copyright © 2005-2020 Brain Book Software LLC.
Built with FORMfields, the premiere web framework.