Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[FIX] Restore Backup From Local Disk


iCommerce

Recommended Posts

I was having this problem:

 

Backup as download only SQL working just fine.

But restoring the backup from local disk does not work.

After clicking the restore button osCommerce will just gives me the default backup screen likes nothing has happens.

 

This is how I fixed it:

 

Open /admin/backup.php, 
around line 196,  just after 

$sql_file = new upload('sql_file');

Add this line:

$sql_file->set_destination(DIR_FS_BACKUP);

 

Hope this helps.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...