Problems with phpFormGenerator
Category: Website Troubleshooting
I have been able to create a form using the phpFormGenerator from Fantastico. However when I test the completed for (fill it out and click submit) I get a 500 Internal Server Error. Nothing in the web error logs except I dont have a custom 500.html error file, no big deal I don't think. Anyone have any ideas. I have tried deleting the broken form and creating another with the same error. Thanks in advance.
Thanks for posting your question. I'm more than happy to assist you. I've tested out the phpformgenerator on my own testing site and encountered the same 500 error. I've since resolved the issue. The issue is due to incorrect file permissions. The files in the form folder were set to 777, which is a security risk (as 777 denotes the file is writable by the world) so the server responds with an error. To fix the issue, I changed all the 777 file permissions to 755. Once I did this the form works as it should.
Here's a tutorial on changing file permissions. I hope this helps! If you need further assistance please feel free to contact us.
Like this Question? Tweet