Forums

no restore

bertroode 18 Sep, 2007
Hi Max,
We have also problems with the restore function.
When we select a valid .cfbak-file and click the submit-button
nothing happens. I used line 543: echo $_FILES['file']['type'] in
admin.chronocontact.php to see what is expected and the value returned
is in our installation "text/plain".
However line 545: if($_FILES['file']['type'] == "application/octet-stream"){...
expects another value!!!!
I changed "application/octet-stream" into "text/plain" and guess what happened.
A restore of the file as a new document.
Perhaps this is a machine dependent flaw?

By the way. When the if-clause is not ture teh program does not return in
a proper way to the forms manager page.

Regards,
Bert
Max_admin 19 Sep, 2007
Hi Bert,

I agree this may be machine dependent, whats your OS and your browser type ? I have removed the whole line and replaced by a check for the file extension, will release the new V2.3.4 soon but just waiting to fix another small glitch.😉

Thank you for helping making ChronoForms more stable!!

Sincerely,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
bertroode 19 Sep, 2007
Max,

Glad to assist. On ther server side we have a UNIX-machine.
My client is running on Visto and Explorer 7.

Regards,
Bert
This topic is locked and no more replies can be posted.