Advertisement:

Author Topic: BUG: When attempting to create a ZIP Backup via Admin Panel  (Read 1968 times)

sergeantash

  • Newbie
  • *
  • Posts: 19
BUG: When attempting to create a ZIP Backup via Admin Panel
« on: March 10, 2011, 01:51:13 am »
I've found a bug - when attempting to create a ZIP backup of the site using the Admin Panel, I get the following error immediately...

Quote
Fatal error: Class 'ZipArchive' not found in /home/www.SITE.co.uk/oc-includes/osclass/utils.php on line 531

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: BUG: When attempting to create a ZIP Backup via Admin Panel
« Reply #1 on: March 14, 2011, 12:15:57 pm »
Hi,

I created a issue in other bug/task system, you could follow the development here : http://issues.osclass.org/browse/OSCLASS-363

Thanks!

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: BUG: When attempting to create a ZIP Backup via Admin Panel
« Reply #2 on: March 14, 2011, 01:22:56 pm »
The problem is that sometimes php doesn't have compiled zlib library. We should use this library: http://www.phpconcept.net/pclzip

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: BUG: When attempting to create a ZIP Backup via Admin Panel
« Reply #3 on: March 22, 2011, 03:47:58 pm »
ZipArchive bug it's fixed in develop branch: https://github.com/osclass/OSClass/commit/e7c89373989d916d8f52f680e8038b3fcfa9e0bf

It'll be fixed in the next release!