Page 1 of 1
.csv file not being created using .php processor
Posted: Mon Oct 09, 2017 10:33 pm
by JKOFROTH
I have created a form and when I select to use a .csv file and create the file it does not get created but I get no error messages.
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 5:59 am
by Pablo
Maybe you have created in the wrong folder?
What exactly did you do?
What is the URL of the page and the location of the csv?
What are your form settings?
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 3:46 pm
by JKOFROTH
I am not sure what to say. I have checked the folder but the create shows you the list of folders.
I don’t see any way to attach pictures of form properties.
kofroth.com/REGISTRATION is where I want the form to send the values for the form.
File is regdata.csv
I would need to give you a ftp password to look at the folder but it is empty.
Permissions are set for everything on the folder.
My php is index1.php on Kofroth.com
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 3:55 pm
by JKOFROTH
Found the problem.
I was not double clicking the folder.
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 3:57 pm
by Pablo
Firstly there are two forms on the page. Please start with one form, you only make it more difficult for yourself.
The csv file is on the server
http://kofroth.com/regdata.csv
Did you make sure it is writable?
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 4:32 pm
by JKOFROTH
Now that the file is created the submit button does not seem to do anything.
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 4:48 pm
by JKOFROTH
JKOFROTH wrote: Tue Oct 10, 2017 4:32 pm
The file is getting a updated date but there is no data in it.
I have 2 edit boxes on the form. Is there something I need to do to the fields on the form?
I replaced the submit button.
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 4:59 pm
by Pablo
It seems to work ok, but you still have two forms...
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 5:05 pm
by JKOFROTH
Trying to delete 1
Now I have 1 form but still no data in the file.
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 5:10 pm
by Pablo
Did you make the file writable?
What are your form settings?
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 5:30 pm
by JKOFROTH
File and directory are writable.
I can email a picture of the form properties but can't figure out how to answer the properties question.
Do form fields need any events set?
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 5:57 pm
by Pablo
1) Upload your project file (wbs) to the server
2) Share the link
Tip: do this with all your questions, otherwise there is no way to know what you have done.
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 6:55 pm
by JKOFROTH
OK here it is:
Thanks for the help.
I built one of these many years ago but I think it was with a extension before it was part of Web Builder.
http://www.kofroth.com/Registration.wbs
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 8:14 pm
by Pablo
Thanks for sharing the project.
The settings for the csv file are wrong
should be
because the form is in the same folder as the csv file.
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 8:48 pm
by JKOFROTH
Where do I find this:
CODE: Select All
I have tried the regdata.csv in both places. Still no data in the file.
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 9:05 pm
by Pablo
You will need to change the folder in the settings of the form.
There can only be two reason why no data is written to the file
1. The file is not writable.
or
2. The file is not in the location you have configured in the properties.
Re: .csv file not being created using .php processor
Posted: Tue Oct 10, 2017 9:33 pm
by JKOFROTH
The data is there. Sorry.
Looking at a copy of the file with excel did not show it.
Google did.