Hello, I am running ChronoForms 3.0 beta 2 on Joomla 1.5.6.
I have a form that is connected to a table. I have submitted the form one time and seen that there is a record in the table now. Then in Forms Management I click on the table name in the list. Then I click Backup to Excel. A file is generated and opened by Excel, but Excel says it's not the correct format, and the contents are:
<b>Warning</b>: tmpfile() [<a href='function.tmpfile'>function.tmpfile</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/webdisk/webdata/kunder/sundvikar) in <b>/webdisk/webdata/kunder/sundvikar/htdocs/administrator/components/com_chronocontact/excelwriter/Writer/Worksheet.php</b> on line <b>477</b><br />
<b>Warning</b>: tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/webdisk/webdata/kunder/sundvikar) in <b>/webdisk/webdata/kunder/sundvikar/htdocs/administrator/components/com_chronocontact/excelwriter/PPS/File.php</b> on line <b>87</b><br />
If I try to Backup to CSV then it seems to work.
Now, I understand the error, but I think it may be considered a bug that Chrono Forms tries to use /tmp, instead of the Joomla $tmp_path variable which I can control. What do you think?
Thanks.
I have a form that is connected to a table. I have submitted the form one time and seen that there is a record in the table now. Then in Forms Management I click on the table name in the list. Then I click Backup to Excel. A file is generated and opened by Excel, but Excel says it's not the correct format, and the contents are:
<b>Warning</b>: tmpfile() [<a href='function.tmpfile'>function.tmpfile</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/webdisk/webdata/kunder/sundvikar) in <b>/webdisk/webdata/kunder/sundvikar/htdocs/administrator/components/com_chronocontact/excelwriter/Writer/Worksheet.php</b> on line <b>477</b><br />
<b>Warning</b>: tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/webdisk/webdata/kunder/sundvikar) in <b>/webdisk/webdata/kunder/sundvikar/htdocs/administrator/components/com_chronocontact/excelwriter/PPS/File.php</b> on line <b>87</b><br />
If I try to Backup to CSV then it seems to work.
Now, I understand the error, but I think it may be considered a bug that Chrono Forms tries to use /tmp, instead of the Joomla $tmp_path variable which I can control. What do you think?
Thanks.
Hi,
the excel export is a PEAR library, it uses its own paths, I believe it has an issue with the open_basedir yes, try to google it, I think that you has some open basedir setting which needs to be fixed, nothing to do with Chronoforms at all.
Regards
Max
the excel export is a PEAR library, it uses its own paths, I believe it has an issue with the open_basedir yes, try to google it, I think that you has some open basedir setting which needs to be fixed, nothing to do with Chronoforms at all.
Regards
Max
Hi Max,
That is unfortunate because my hoster says the basedir setting cannot be changed for a shared server. Well, it seems that CSV works, that should be enough...
Thanks
That is unfortunate because my hoster says the basedir setting cannot be changed for a shared server. Well, it seems that CSV works, that should be enough...
Thanks
thats why we added CSV🙂
have you found a solution to the other danish characters issue ?
This topic is locked and no more replies can be posted.