restore backup
Moderator: Thorsten
restore backup
I did a backup with the admin tool but when I tried to restore it from the same admin section, I got the message that is seems not to be a phpmyfaq database. So I am unable to restore my faq.
What to do.
I am using 1.4.7 http://braingym.free.fr/FAQ/
Thanks,
What to do.
I am using 1.4.7 http://braingym.free.fr/FAQ/
Thanks,
Hi,
which browser did you use?
bye
Thorsten
which browser did you use?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
is it possible to add the following line of code in the file admin/backup.import.php:
Then try an import and post the returning message here. Thanks!!
bye
Thorsten
is it possible to add the following line of code in the file admin/backup.import.php:
Code: Select all
if ($permission["restore"]) {
// add this line:
print 'file type: '.$_FILES["userfile"]["type"];
// end
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
when you added this in the first line, please remove the following
and try it again.
bye
Thorsten
when you added this in the first line, please remove the following
Code: Select all
if ($permission["restore"]) {
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
okay, that's the problem...
Here's the solution:
You'l find this line in admin/backup.import.php:
Please change it to:
Then it sould work!
bye
Thorsten
okay, that's the problem...
Here's the solution:
You'l find this line in admin/backup.import.php:
Code: Select all
if (isset($_FILES["userfile"]["type"]) && ($_FILES["userfile"]["type"] == "application/octet-stream" || $_FILES["userfile"]["type"] == "text/plain")) {
Code: Select all
if (isset($_FILES["userfile"]["type"]) && ($_FILES["userfile"]["type"] == "application/octet-stream" || $_FILES["userfile"]["type"] == "text/plain" || $_FILES["userfile"]["type"] == "text/x-sql")) {
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
this is strange... do you have write access to the database?
bye
Thorsten
this is strange... do you have write access to the database?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist