My form has worked great for months, and now suddenly is giving this error, but still correctly submitting the form other than that:
Warning: fopen(admin/data.dat) [function.fopen]: failed to open stream: No such file or directory in /home/wwwrive/public_html/formgenerator/use/res4408/process.php on line 53
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wwwrive/public_html/formgenerator/use/res4408/process.php on line 57
I don't understand what this is trying to tell me. How do I fix it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This error is telling you that the process.php file (used to process your form input) is expecting to write to a file to store your form data (file database instead of mySQL database). This is something you chose when you were generating your form so I can only assume this is what you wanted.
Using some ftp program try to locate the file "admin/data.dat". Change the permissions to 777 or if you can not fine it, create a new one with the same permissions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You may need to reinstall again if any generator files have been modified. The fact that you were using a form that was not in the ./use/ folder might be an indication there is a bigger problem.
Starting over would be the shortest path to finding out whether the generator will still work but when you are done if your form is not in the ./use/ folder I would uninstall and reinstall the generator.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My form has worked great for months, and now suddenly is giving this error, but still correctly submitting the form other than that:
Warning: fopen(admin/data.dat) [function.fopen]: failed to open stream: No such file or directory in /home/wwwrive/public_html/formgenerator/use/res4408/process.php on line 53
Warning: fwrite(): supplied argument is not a valid stream resource in /home/wwwrive/public_html/formgenerator/use/res4408/process.php on line 57
I don't understand what this is trying to tell me. How do I fix it?
This error is telling you that the process.php file (used to process your form input) is expecting to write to a file to store your form data (file database instead of mySQL database). This is something you chose when you were generating your form so I can only assume this is what you wanted.
Using some ftp program try to locate the file "admin/data.dat". Change the permissions to 777 or if you can not fine it, create a new one with the same permissions.
Ok, I found the following file: /public_html/formgenerator/forms/admin/data.dat
and the permissions are already set to 777. Is there another data.dat.
Wrong file, do not modify this file. You need to find this one.
formgenerator/use/res4408/admin/data.dat
Ok, I'm guessing that's the problem then. My /use is completely empty. Do I need to just start over and recreate the whole form?
You may need to reinstall again if any generator files have been modified. The fact that you were using a form that was not in the ./use/ folder might be an indication there is a bigger problem.
Starting over would be the shortest path to finding out whether the generator will still work but when you are done if your form is not in the ./use/ folder I would uninstall and reinstall the generator.