The download policy has been changed*: no more free downloads.
Choose from bronze, silver or gold donation pack the one that is suitable for you.
Only subscribed NLSTART donators will be able to download e107 plugins. Please login or sign up.
Existing members can login and click the 'Manage your subscriptions here' link from their profile. Of course, signing up for free is still an option; so you can participate on the NLSTART member forums or subscribe to the NLSTART newsletter.

Thank you for your support.
* as per September 2013

Comments

Migs

I get the exact same error, just on Line 158 instead of 154 (same syntax on the 2 lines).

The only difference is that I didn't even get to activating the menu. It failed on leaving the easybackup config page
nlstart

Line 158 of easybackup.php is:
if ($zip->open($filename, ZIPARCHIVE::CREATE)!==TRUE) {

There is no syntax error in this line.

This looks very similar like the error caused by an installer generated PHP.ini: see this PHP bug report 44349. Please contact your host.
nlstart

Another cause might be the file has been corrupted during upload. Unzip the files locally and try to use FileZilla to upload the files to your host.

If that also fails it might be caused by the old PHP version; try ask your host for possibilities to switch to PHP 5.

The easybackup_menu has become obsolete since version v1.3. So that's normal behavior.
Migs

Okay, my host said they will upgrade the PHP version "at some time".

I have downloaded, unzipped and FTP'd 3 times. I always use FileZilla anyway. Still no luck.

If attachment size isn't an issue, is there anyway I can comment out the ZIP section?
Migs

Well, I gave it one last go before I gave up, and it worked.

I have no idea what was wrong. I checked everything each time, including the CHMODs and all was correct.

Strange.

Now that it works, thanks for a plugin for a task I've been doing manually until now :)
akogo

Hi nlstart

One question
I have this same problem with PHP 4.4.2 (line 158).
It is posible to make a EasyBackup compatible with older PHP versions?
nlstart

I doubt it... it has probably to do with the way I call the PHP zip enhancement functionality, in a way which is probably not supported by older versions.
What I'm curious about: if you switch off the zip mode in the EasyBackup settings, does it work properly or does it return the same error message?
nlstart

Strange indeed. I'm puzzled.
nlstart

By the way; the oldest version I've ever used for e107 was 4.4.4 but that is really old. In the future e107 will only work on PHP version 5 (when version 0.8 will be launched). It is better to switch your host to PHP version 5 (some hosts support both PHP 4 and 5).
Migs

To answer this, I switched off ZIP first time round, but it made no difference. The only thing I can think of is that I somehow missed a CHMOD. I know the first time I installed the plugin that I did the CHMODs after installing, rather than before, which may have made a difference. I'm still not entirely sure what fixed it though. It can really only be server side, I think.
nlstart

Could you try to change line 158 of easybackup.php into:
if ($zip->open($filename, ZIPARCHIVE::CREATE())!==TRUE) {
akogo

I have changed line:
if ($zip->open($filename, ZIPARCHIVE::CREATE)!==TRUE) {

to

if ($zip->open($filename, ZIPARCHIVE::CREATE())!==TRUE) {

Now EasyBackup working perfectly with 4.4.2 PHP version.
Thanks for that.
nlstart

I can confirm that for PHP 5.2.6 the original line must remain in place in order to work properly.
nlstart

The parse errors (on PHP 4) should be fixed with EasyBackup v1.5
akogo

4.4.2 and every 5 php version plays correct. Thanks for your commitment ;).
caribou

Parse error: syntax error, unexpected 'goto' (T_GOTO) in /home/sapphir3/public_html/e107_plugins/easydbtool/index.php on line 415

any comments as to how to repair
nlstart

@caribou: See: http://e107.webstartinternet.com/plugins/bugtracker3/bugtracker3.php?2.102

You must be logged in to make comments on this site - please log in, or if you are not registered click here to signup

Your ways to participate

Thank you for using my NLSTART plugins. You can show your appreciation and support future development by donating.

Please give my plugins a maximum rating at the download details section. Or translate and create language packs, improve the Wiki, deliver code contributions, discuss and answer questions in the forums, join the test team, enter bug reports and promote the NLSTART plugins by writing about it in your blog, tweets, etc. Otherwise, purchase a virtual T-shirt image!. Alternatively, send me something from my wishlist. Or send some bananas for this code monkey.