This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Transfer Data File
Started 14 years ago by texacoon | 7 posts |
-
On my site I do a lot of backups ..
Decided one day to delete one of the forms I built. Then later, realized I wanted to copy the form.I thought no problem, I will just upload it from my save folder# back to the data folder and should show up.
When I did this it never was recognized ... Is there another portion of the upload I should also include before it becomes reconized?
Thanks!
Posted 14 years ago # -
Ahh,,, yes, you will need to restore the records within your "ap_forms" and "ap_form_elements" table, particularly the record which having the correct form id number.
All your forms are actually being saved there, not into the data folder.
The data folder only store your form css file and any uploaded files.MachForm Founder
Posted 14 years ago # -
OH! .. So it's all located at the database verses the server ...
Ok I believe I see what your are referring to..Posted 14 years ago # -
WOW! Just now made the transfer but ran into an issue ...
It's saying "select count(*) total_entry from
ap_form_1
Query failed: Table 'nebcnorg_form.ap_form_1' doesn't exist"What happened?
Posted 14 years ago # -
It seems you have incorrect database name there. Are you using the same database name within your new server?
Your old server database name seems to be "nebcnorg_form".
Make sure that your new server is using that same database name.
If not, adjust your config.php file to use your new database name.MachForm Founder
Posted 14 years ago # -
Thanks Yunar ... Got it transfered and forms look good but for some reason I get several errors
example:
Warning: Invalid argument supplied for foreach() in /home/nebcnorg/domains/nebcn.org/public_html/machform/includes/view-functions.php on line 621Warning: Invalid argument supplied for foreach() in /home/nebcnorg/domains/nebcn.org/public_html/machform/includes/view-functions.php on line 621
I looked into the script and do not see anything on line 621 that shows an issue ..
Example:
if($element->constraint == 'random'){
$temp = $element->options;
shuffle($temp);
$element->options = $temp;
(LINE 621) }foreach ($element->options as $option){
Posted 14 years ago # -
Most likely, there is corrupted data within your tables. Try to import the database file again.
If the problem persist, please contact us directly through email and we'll help you there.
Please mail to: customer.service [at] appnitro.comMachForm Founder
Posted 14 years ago #
Reply
You must log in to post.