Page 1 of 1
I don't get it...
Posted: Mon Feb 16, 2009 1:57 pm
by Eraser.php
http://www.thps-mods.com/vote1/example.php
This is vote script (just basic one that i haven't made).
Problem:
Why when you choose one answer and click submit, the weird error message appears? And how to fix it? And do i need mysql for this to work? thank you!
Re: I don't get it...
Posted: Mon Feb 16, 2009 3:42 pm
by SpecialK
I keep getting the response of "Unable to lock summary file"
This should be a dump from somewhere in your PHP script. From the sound of it, a possible permission issue on trying to write something.
A database isn't required but usually recommended. You could always write the values to a flat file and use that in a similar way to a database.
Re: I don't get it...
Posted: Tue Feb 17, 2009 6:57 am
by Eraser.php
So, any ideas how can i permit the data to be written on file or folder?
Re: I don't get it...
Posted: Tue Feb 17, 2009 9:13 am
by SpecialK
If you are controlling the server, you need to make sure your apache has write permissions to a file. Unix permissions can be a blessing and a nightmare at the same time. I usually find it a mess myself but you would have to look up chown and chmod and decide what the proper settings/owners are.
If you arent controlling the server, they usually offer MySQL databases in which you should be using that. It will make a lot easier to manage.