Erro exporting xml file
-
Hi there,
I have a problem,when I download my xlsx file is everything ok but when I open it, it says “Excel cannot open open the file because the file format or file extension is not valid.Verify that the file has not been corrupted and that the file extension matches the format of the file”
Secondly, I have the “Edit data mode” extension and when I edit some texts and I press my keyboard enter, the code creates
tags, so… Is possible to remove these tags?Finally, is possible to hide some buttons like “Delete Column” or “Add Column” , for some users with some role?
my php version is 5.4.43
https://wordpress.org/plugins/contact-form-7-to-database-extension/
-
OK
hi there,
So, Could you do something about the plugin wp editor? and Could you give me a release date for the plugin upgrade?
Thanks in advance
WP Editor is not my plugin. I cannot do anything about it.
mmm ok thanks . Could you give me a possible release date for the plugin upgrade?
Probably within a week.
Hi there, sorry to bother you but in this function
function form_with_pipes_handler($formName, $fieldName, $newFieldName, &$formData) { if ($formData && $formName == $formData->title && property_exists($formData, 'WPCF7_ContactForm') && method_exists($formData->WPCF7_ContactForm, 'form_scan_shortcode')) { $scanned_form_tags = $formData->WPCF7_ContactForm->form_scan_shortcode(); $emailSelected = $formData->posted_data[$fieldName]; if (is_array($emailSelected) && count($emailSelected) == 1) { $emailSelected = $emailSelected[0]; } $valueSelected = null; foreach ($scanned_form_tags as $tag) { if ($tag['name'] == $fieldName) { foreach ($tag['raw_values'] as $rawValue) { // value|email $valuesArray = explode('|', $rawValue); if (count($valuesArray) == 2 && $valuesArray[1] == $emailSelected) { $valueSelected = $valuesArray[0]; break; } } } if ($valueSelected != null) { break; } } if ($valueSelected != null) { $formData->posted_data[$fieldName] = $valueSelected; $formData->posted_data[$newFieldName] = $emailSelected; } } return $formData; }Is possible to asign a position in the table? Right now the column is at the end, but my boss want to asign a position maybe next to its first value, thanks in advance
I think what you need to do is order the $formData->posted_data array in the order that you want to see it.
This can get confounded by older submissions that have a different order. If you just have test data, delete older entries.
Yes , it’s a test data, so ,Could you make this new function?? because I dont know where to put $formData->posted_data array hahahah
You can just put it in the form_with_pipes_handler function where it does
$formData->posted_data[$fieldName] = $valueSelected; $formData->posted_data[$newFieldName] = $emailSelected;Sorry but I don’t understand, could you make an example, please :c
Hi there,
I am copying files, functions from my test site to my active site and when I download the xlsx file, I’m receiving the following error:
No se puede acceder a este sitio web
Es posible que la página web https://www.afsdp.org.pe/xxxxx/wp-admin/admin-ajax.php?action=cfdb-export&form=Formulario+de+trámites&enc=xlsx esté temporalmente inactiva o que se haya trasladado definitivamente a otra dirección.
ERR_INVALID_RESPONSEIn english it would be:
You can not access this site
It is possible that the website https://www.afsdp.org.pe/xxxxx/wp-admin/admin-ajax.php?action=cfdb-export&form=Formulario+de+trámites&enc=xlsx is temporarily down or it may have moved permanently to another address.
ERR_INVALID_RESPONSEDo you know what is happening? please
The wp editor is deactivated
Let’s move the ERR_INVALID_RESPONSE issue to this thread:
https://wordpress.org/support/topic/export-to-xls-failure?replies=4#post-8284953
The topic ‘Erro exporting xml file’ is closed to new replies.