• Resolved ullastret

    (@ullastret)


    I have just installed this plugin. Then I have configured it (left it basically all as default) and conected to Dropbox account. Then I clicked on BACKUP NOW button and after a while I got this last log message:

    PHP event: code E_WARNING: popen() has been disabled for security reasons (line 1010, wp-content/plugins/updraftplus/updraftplus.php) (mar 13 08:38:52)

    Could you please tell me how to solve this issue.

    Thank you
    Tomeu

    https://wordpress.org/plugins/updraftplus/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi,

    That log message in itself is not a problem – UD logs all kinds of things for all kinds of reasons. If popen() has been disabled in your PHP install, then UD moves on to try other methods. Are you having another problem that you think is related to this? If it’s just the log message that you’re concerned about, then you can ignore it.

    David

    Thread Starter ullastret

    (@ullastret)

    Hello David,

    Thank you for your answer. The current backup has been running now for about 3 hours and nothing has been uploaded to Dropbox. The log file is huge by now and apart from this popen() warning I got another one related to not enough visitors to my site. Folloging recomendation I left settings page open all the time and also configured pingon to check site every 5 min.

    Apart from that I also get an error related to the zip file. I enclose a few lines of the log file here but the file is very long.

    The complete log file can be seen here:
    https://drive.google.com/file/d/0B6PcQQW0Vgj_cUE1MEJ6emxVdFU/edit?usp=sharing

    5317.804 (11) [Warning] A zip error occurred – check your log for more details.
    5317.972 (11) The attempt to close the zip file returned an error (Unknown: ZipArchive does not return error messages). List of files we were trying to add follows (check their permissions).
    5317.996 (11) File: uploads/2013/12/silestone-kitchen-cocina-silestone-quartz-cuarzo-zeus-extreme-495×270.jpg (exists: 1, is_readable: 1 size: 20868)
    5320.620 (11) Adding batch to zip file (UpdraftPlus_ZipArchive): over 25 Mb added on this batch (25.1 Mb, 1980 files batched, 1 (447) added so far); re-opening (prior size: 78755.5 Kb)
    5321.091 (11) [Warning] A zip error occurred – check your log for more details.
    5323.227 (11) The attempt to close the zip file returned an error (Unknown: ZipArchive does not return error messages). List of files we were trying to add follows (check their permissions).
    5324.354 (11) File: uploads/2013/12/Slider1210-180×180.jpg (exists: 1, is_readable: 1 size: 9482)
    5328.756 (11) Adding batch to zip file (UpdraftPlus_ZipArchive): over 25 Mb added on this batch (25.2 Mb, 1980 files batched, 1 (448) added so far); re-opening (prior size: 78755.5 Kb)
    5329.288 (11) [Warning] A zip error occurred – check your log for more details.
    5332.394 (11) The attempt to close the zip file returned an error (Unknown: ZipArchive does not return error messages). List of files we were trying to add follows (check their permissions).
    5332.555 (11) File: uploads/2013/12/banner1-450×450.jpg (exists: 1, is_readable: 1 size: 30995)
    5334.832 (11) Adding batch to zip file (UpdraftPlus_ZipArchive): over 25 Mb added on this batch (25.2 Mb, 1980 files batched, 1 (449) added so far); re-opening (prior size: 78755.5 Kb)
    5337.863 (11) [Warning] A zip error occurred – check your log for more details.

    Plugin Author David Anderson

    (@davidanderson)

    Hi Tomeu,

    Add this to your wp-config.php:

    define(‘UPDRAFTPLUS_PREFERPCLZIP’, true);

    Then start a fresh backup, and let it run for a bit, and if it doesn’t work please post the whole log file again.

    In the current log file, both zip engines (/usr/bin/zip and ZipArchive) don’t like something. But neither reports a sufficiently useful message for us to know what’s up. PclZip is slower, but more informative.

    Best wishes,
    David

    Thread Starter ullastret

    (@ullastret)

    Hello David,

    I tried your suggestion including the line you mentioned to wp-config.php but nothing has changed. Now I get another popen() error on a different line but it stops there. I enclose the log file. Thank you

    https://drive.google.com/file/d/0B6PcQQW0Vgj_cUE1MEJ6emxVdFU/edit?usp=sharing

    Regards
    Tomeu

    Plugin Author David Anderson

    (@davidanderson)

    Hi,

    Your PHP install appears to crash when popen() is called. It must be disabled in an unusual way. (Functions disabled in PHP in the normal way simply fail – they don’t crash).

    You can work around this one by adding this to your wp-config.php:

    define(‘UPDRAFTPLUS_MYSQLDUMP_EXECUTABLE’, ”);

    Best wishes,
    David

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I get a warning on line 1010 on upsdrafplus.php’ is closed to new replies.