Support » Plugin: BackWPup - WordPress Backup Plugin » WARNING: XML ERROR (1): internal error: Huge input lookup

  • Resolved sarett

    (@sarett)


    Hello,
    I have several sites, smaller than this that gives me problems. Can you give me some guidance to solve the problem?

    Follow the errors listed in the log:
    WARNING: XML ERROR (1): internal error: Huge input lookup
    WARNING: Job restarts due to inactivity for more than 5 minutes.
    ERROR: Step aborted: too many attempts!
    ERROR: Job has ended with errors in 2564 seconds. You must resolve the errors for correct execution.

    It follows the entire log:
    [INFO] BackWPup 3.3.3; A project of Inpsyde GmbH
    [INFO] WordPress 4.3.5 on http://www.domain.tld/
    [INFO] Log Level: Normal (translated)
    [INFO] BackWPup job: Backup
    [INFO] Logfile is: backwpup_log_9de04a_2016-07-25_15-21-06.html
    [INFO] Backup file is: backwpup.9de04a_2016-07-25_15-21-06.zip
    [25-Jul-2016 15:21:06] 1. Try to backup database …
    [25-Jul-2016 15:21:06] Connected to database db_ERC0 on localhost
    [25-Jul-2016 15:23:00] Added database dump “db_ERC0.sql” with 610,87 MB to backup file list
    [25-Jul-2016 15:23:00] Database backup done!
    [25-Jul-2016 15:23:02] 1. Trying to make a list of folders to back up …
    [25-Jul-2016 15:23:06] Added “wp-config.php” to backup file list
    [25-Jul-2016 15:23:06] 670 folders to backup.
    [25-Jul-2016 15:23:07] 1. Trying to create a WordPress export to XML file …
    [25-Jul-2016 15:23:37] Check WP Export file …
    [25-Jul-2016 15:23:38] WARNING: XML ERROR (1): internal error: Huge input lookup
    [25-Jul-2016 15:23:38] Added XML export “domain.wordpress.2016-07-25.xml” with 38,81 MB to backup file list.
    [25-Jul-2016 15:23:40] 1. Trying to generate a file with installed plugin names …
    [25-Jul-2016 15:23:40] Added plugin list file “domain.pluginlist.2016-07-25.txt” with 3,58 kB to backup file list.
    [25-Jul-2016 15:23:40] 1. Trying to generate a manifest file …
    [25-Jul-2016 15:23:40] Added manifest.json file with 6,41 kB to backup file list.
    [25-Jul-2016 15:23:40] 1. Trying to create backup archive …
    [25-Jul-2016 15:23:40] Compressing files as ZipArchive. Please be patient, this may take a moment.
    [25-Jul-2016 15:29:49] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [25-Jul-2016 15:29:49] 2. Trying to create backup archive …
    [25-Jul-2016 15:35:54] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [25-Jul-2016 15:35:54] 3. Trying to create backup archive …
    [25-Jul-2016 15:45:59] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [25-Jul-2016 15:45:59] 4. Trying to create backup archive …
    [25-Jul-2016 15:51:02] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [25-Jul-2016 15:51:02] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [25-Jul-2016 15:51:03] 4. Trying to create backup archive …
    [25-Jul-2016 15:51:03] 4. Trying to create backup archive …
    [25-Jul-2016 15:57:13] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [25-Jul-2016 15:57:13] 5. Trying to create backup archive …
    [25-Jul-2016 16:03:44] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [25-Jul-2016 16:03:44] ERROR: Step aborted: too many attempts!
    [25-Jul-2016 16:03:44] 1. Try to send backup file to an FTP server …
    [25-Jul-2016 16:03:45] Connected to FTP server:
    [25-Jul-2016 16:03:45] FTP client command: USER admin
    [25-Jul-2016 16:03:45] FTP server response: User admin logged in.
    [25-Jul-2016 16:03:45] FTP client command: SYST
    [25-Jul-2016 16:03:45] FTP server reply: UNIX
    [25-Jul-2016 16:03:46] FTP current folder is: /ftp/wpbackup/
    [25-Jul-2016 16:03:46] FTP client command: PASV
    [25-Jul-2016 16:03:46] FTP server reply: Entering normal mode
    [25-Jul-2016 16:03:46] 1. Trying to check database …
    [25-Jul-2016 16:03:50] Database check done!
    [25-Jul-2016 16:03:50] ERROR: Job has ended with errors in 2564 seconds. You must resolve the errors for correct execution.

    https://wordpress.org/plugins/backwpup/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Daniel Hüsken

    (@danielhuesken)

    1. Please try set the Maximum execution time to 25 secounds in BackWPup > Settings > Tab: Job.

    2. The XML thing can be a problem on checking the XML file. Can you update you PHP version and with did you have?

    Hi, I have a same error.

    WARNING: XML ERROR (1): internal error: Huge input lookup

    My default setting for maximum execution time is already 30 seconds, but it still has this error.

    Should I change from 30 seconds to longer?

    Hi @ya1112,

    I think I have the solution to your issue. However, are you willing to modify one line of code to see if it works? If not, you may grant us temporary access to your system to make the change for you. If it works, then we’ll include it as an option in future versions.

    In backwpup/inc/class-jobtype-wpexp.php, line 411, you’ll see this:

    $success = $dom->loadXML( file_get_contents( $job_object->steps_data[ $job_object->step_working ]['wpexportfile'] ) );

    Please change it to this:

    $success = $dom->loadXML( file_get_contents( $job_object->steps_data[ $job_object->step_working ]['wpexportfile'] ), LIBXML_PARSEHUGE );

    Then please let us know if that works for you.

    Hi,

    I had the same problem on one of my websites.

    I applied the modification in backwpup/inc/class-jobtype-wpexp.php, line 411 and it worked for me.

    Need I to modify this each time I update the plugin ?

    Thanks

    Hi @gooweb, I’m glad it worked. I’ll make sure it is updated in the next release so you will not have to change it again.

    Espi

    (@josheprovoedu)

    looks like this resolved my error also.

    Glad its going into to the next release

    Plugin Support duongcuong96

    (@duongcuong96)

    Hi @josheprovoedu,
    Glad that it’s working for you :),
    If you have any question or issues about BackWPUp, feel free to let us know 🙂
    Have a nice day :).

    Btw, If you find that BackWPUp is useful, please write a review and rating us, it’s really great for us and can encourage us to develop new free features and free support 😀
    https://wordpress.org/support/plugin/backwpup/reviews/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WARNING: XML ERROR (1): internal error: Huge input lookup’ is closed to new replies.