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
[closed] Export as Excel File
Started 17 years ago by antoniosemedo | 11 posts |
-
When i trie to export my entries as an Excel File nothing hapens!!!
I can only export as CSV file...What can be hapen?
Thanks
Posted 17 years ago # -
Hi Antonio,
Is there any error message?
If not, edit your config.php file, add the code below into the file:ini_set("display_errors","1");
Make sure you put the code after the <?php tag and before the ?> tag.
Try to export as excel file again. You should receive an error message.
Please let me know the error message.If you don't feel comfortable posting it here, you can email me at yuniar@appnitro.com
Thanks
MachForm Founder
Posted 17 years ago # -
I placed the code in the config.php file as you suggested, but nothing hapens again!!!
After selecting the export as excell file option a blank page is generated with no error messages!Is there any other persons with the same problem?
Thanks
Semedo
Posted 17 years ago # -
Hmm.. thats odd. It should display an error message.
This is the first report regarding this problem.I've just sent you an email for more thorough inspection, please check it out.
Thanks
MachForm Founder
Posted 17 years ago # -
Just a note. This issue has been solved.
MachForm Founder
Posted 17 years ago # -
I'm having the same problem. How was this problem resolved?
Posted 17 years ago # -
Some files were corrupted during upload. Particularly files under lib/pear/Spreadsheet folder. Try to reupload all files under that folder.
Also, have you tried adding this code below?
ini_set("display_errors","1");
No error message too?MachForm Founder
Posted 17 years ago # -
The display errors code doesn't work for some reason.
I replaced all files in lib/pear/Spreadsheet from a fresh zip file extract and submitted a new item to the form but the Excel export still doesn't work.Posted 17 years ago # -
That's odd. I've just sent you an email for further investigation.
MachForm Founder
Posted 17 years ago # -
I get same error. Not a BIG deal since the file still exports to CSV file. And so, you open the file in Excel, and then re-save as CSV.
Posted 17 years ago # -
For those who get this error. Modify your export_entries.php file.
Around line 220, search for this code:$workbook = new Spreadsheet_Excel_Writer();
Right after that line, add the code below:
$workbook->setTempDir(DATA_DIR);
That should fix the issue. If not, just let me know.
MachForm Founder
Posted 17 years ago #
Topic Closed
This topic has been closed to new replies.