Hi Naval (or whoever) . . . Having a slight problem with the Form Wizard: I've been using the "Contact 1" template to create a simple name-and-email capture form. It works fine in terms of sending the submitted info to the email address I give it and re-directing the user to the page I want after he/she submits.
But I also want the form data to be copied to a .csv file in cPanel. So in BV, I click the form, Form Properties opens, and I tick the box beside "Write form data to a .csv file" and I follow the prompts to create the .csv in the directory where I want it. After doing this, I see the correctly named .csv in that folder in cPanel and re-publish the page with the form on it.
Then, when I try using thru the form, I get an error page saying:
Warning: fopen(./public_html/testdata.csv) [function.fopen]: failed to open stream: No such file or directory in /home/vtrsgwu/public_html/resources.php on line 16
can't open file
After getting this message, I go into cPanel, open the .csv, the data (just name and e-mail address) I entered is NOT in it. Worse, I find the data also hasn't been e-mailed to me (but data was e-mailed to me before I ticked "Write form data to a .csv file" and re-published).
I'm guessing there's (fairly) simple solution to this, just wondering if you or anyone can confirm what it is. THANK YOU.
But I also want the form data to be copied to a .csv file in cPanel. So in BV, I click the form, Form Properties opens, and I tick the box beside "Write form data to a .csv file" and I follow the prompts to create the .csv in the directory where I want it. After doing this, I see the correctly named .csv in that folder in cPanel and re-publish the page with the form on it.
Then, when I try using thru the form, I get an error page saying:
Warning: fopen(./public_html/testdata.csv) [function.fopen]: failed to open stream: No such file or directory in /home/vtrsgwu/public_html/resources.php on line 16
can't open file
After getting this message, I go into cPanel, open the .csv, the data (just name and e-mail address) I entered is NOT in it. Worse, I find the data also hasn't been e-mailed to me (but data was e-mailed to me before I ticked "Write form data to a .csv file" and re-published).
I'm guessing there's (fairly) simple solution to this, just wondering if you or anyone can confirm what it is. THANK YOU.
Comment