• Resolved d.rock

    (@drock-1)


    Hi,

    Just installed the latest version of UpdraftPlus – 1.4.6 – on WordPress 3.4.2 (I plan to update to the latest version of WordPress, but I want to take a full backup before I do so!)

    I have configured and authenticated Google Drive.

    When clicking any of ‘Backup now’, ‘Debug full backup’ or ‘Debug DB backup’, nothing happens. A log file gets created that simply has one line in it, like this:

    0000.000 Opened log file at time: Sat, 09 Feb 2013 11:20:41 +0000

    and that’s it. Each log file differs only in the time shown on that one line.

    The same happens with debug mode on or off.

    I tried disabling plugins that I thought might interfere, such as the security ones, but it didn’t help.

    The Google Drive status says ‘You already appear to be authenticated.’ There is nothing at all showing up in Google Drive.

    Let me know if you need any more info. Any help is appreciated!

    https://www.ads-software.com/extend/plugins/updraftplus/

Viewing 7 replies - 16 through 22 (of 22 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi finnysamuel,

    Yes, you have a broken PHP install that segfaults (termiantes) when method_exists() is called. Update to the development version – https://updraftplus.com/faqs/devversion – and you’ll be OK, as we’ve removed the method_exists() call in order to avoid troubling the broken PHP installs.

    David

    David,
    Thanks for responding.. Yea, I figured that out after reading your comment on that PHP bug..

    A quick question: Since $ziparchive_exists .= ‘No’ also works fine do you think if there would be any issues with my above hack although it is not an optimal solution? Wondering what would be the advantage if $ziparchive_exists .= ‘Yes’?

    Thanks
    Finny

    Plugin Author David Anderson

    (@davidanderson)

    Hi Finny,

    $ziparchive_exists = “No” causes WP’s slower pure-PHP PCLZip library to be used. This can’t resume already-begun zips, so is more likely to time out if your site gets very big. If your site is not very big then it doesn’t really matter which you use.

    David

    Thanks David for your prompt response.. I just tried the development version in one of my sites (same server) – But the issue persists.. It does have the method_exists() line and it failed. The only difference from the previous site is that this one runs 3.4.2 and the other one was 3.5.2

    Very interesting.. Just tried my hack on the latest version (as well as dev version) and upgraded to latest version of WP – Still doesn’t work!!! Exactly same settings and in same server as in the other sites.. Just shows the message “Opened log file at time: Wed, 10 Jul 2013 23:26:39 +0000 (Jul 10 23:26:39)” (opens a new log file and dies after writing this line!) Any ideas?

    Plugin Author David Anderson

    (@davidanderson)

    Hi Finny,

    > It does have the method_exists() line and it failed.

    Ah, sorry – it was a different method_exists() that we removed, not that one. This one had to stay, because some PHP installs have the ZipArchive class, but not the addFile method in it, so we couldn’t just check the class.

    You should report the bug in the PHP bug tracker, as it’s a bug that’s been around for years…

    David

    Well, anyways I’ve requested the host to update the PHP version.. So at least till the time PHP version is updated, my hack continues to work, since my site is not too huge. I also tested the upload to Dropbox. That is working as well. So I’m good for the time being..
    I could fix the other site’s issue as well by adding the following line to php.ini –
    zend_loader.obfuscation_level_support=2

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Manual & debug backups won't start, only one line in log’ is closed to new replies.