Support » Plugin: Backup, Restore and Migrate WordPress Sites With the XCloner Plugin » I can’t make a backup checks the syntax of PHP scripts

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter artblackman

    (@artblackman)

    503 code

    XCloner does not check php script syntax, but it does however logs your site error, the 503 indicates a timeout usually, i would suggest you disable the “Enable XCloner Backup Log” option and also try and lower the limits found in XCloner Config->System settings; i would suggest to turn off compression as well as the speed of archiving will increase

    Thread Starter artblackman

    (@artblackman)

    But there are many lines in the log type

    [2019-01-10 11:51:12] php_system.INFO: E_NOTICE: array ( ‘type’ => 8, ‘message’ => ‘Undefined variable: latest_backup’, ‘file’ => ‘/var/www/blackman/data/www/atree.click/cl/wp-content/plugins/xcloner-backup-and-restore/admin/partials/xcloner_init_page.php’, ‘line’ => 92, ) [] []
    [2019-01-10 11:52:06] php_system.INFO: E_DEPRECATED: array ( ‘type’ => 8192, ‘message’ => ‘Methods with the same name as their class will not be constructors in a future version of PHP; SLFramework_Translation has a deprecated constructor’, ‘file’ => ‘/var/www/blackman/data/www/atree.click/cl/wp-content/plugins/image-zoom/core/translation.class.php’, ‘line’ => 11, ) [] []

    What is it then?

    Simply turn off XCloner logging, it will stop the errors display

    Thread Starter artblackman

    (@artblackman)

    Disabled log and:
    Communication Error
    Response Code: 500 Internal Server Error
    {“readyState”:4,”responseText”:””,”responseJSON”:null,”status”:500,”statusText”:”Internal Server Error”}

    At which step do you get this error, can you post a screenshot of the backup process as well as your current settings? taking of course, the sensitive data out

    Thread Starter artblackman

    (@artblackman)

    After recording the database Unfortunately there is no log

    Thread Starter artblackman

    (@artblackman)

    When the log, I ruled the scripts (errors) on which the log pointed, but there are too many. PHP version does not match
    Why do these syntax checks?

    Thread Starter artblackman

    (@artblackman)

    Install all of your
    One more attempt with the log. Recent entries

    [2019-01-10 19:08:58] php_system.INFO: E_DEPRECATED: array ( ‘type’ => 8192, ‘message’ => ‘Methods with the same name as their class will not be constructors in a future version of PHP; SLFramework_Treelist has a deprecated constructor’, ‘file’ => ‘/var/www/blackman/data/www/atree.click/cl/wp-content/plugins/image-zoom/core/tree.class.php’, ‘line’ => 12, ) [] []
    [2019-01-10 19:08:59] xcloner_api.INFO: Processing ajax request ID _y3n9al7nd [] []
    [2019-01-10 19:08:59] xcloner_database.INFO: Dumping the structure for u323143866_1.wp_lemonade_autoposter_templates table [“”] []
    [2019-01-10 19:08:59] xcloner_database.INFO: Dumping 0 records starting position 0 from u323143866_1.wp_lemonade_autoposter_templates table [“”] []
    [2019-01-10 19:08:59] php_system.INFO: E_DEPRECATED: array ( ‘type’ => 8192, ‘message’ => ‘Methods with the same name as their class will not be constructors in a future version of PHP; SLFramework_Treelist has a deprecated constructor’, ‘file’ => ‘/var/www/blackman/data/www/atree.click/cl/wp-content/plugins/image-zoom/core/tree.class.php’, ‘line’ => 12, ) [] []
    [2019-01-10 19:09:00] xcloner_api.INFO: Processing ajax request ID _8qmnq7cxw [] []
    [2019-01-10 19:09:00] xcloner_database.INFO: Dumping the structure for u323143866_1.wp_links table [“”] []
    [2019-01-10 19:09:00] xcloner_database.INFO: Dumping 10 records starting position 0 from u323143866_1.wp_links table [“”] []
    [2019-01-10 19:09:00] php_system.INFO: E_DEPRECATED: array ( ‘type’ => 8192, ‘message’ => ‘Methods with the same name as their class will not be constructors in a future version of PHP; SLFramework_Treelist has a deprecated constructor’, ‘file’ => ‘/var/www/blackman/data/www/atree.click/cl/wp-content/plugins/image-zoom/core/tree.class.php’, ‘line’ => 12, ) [] []
    [2019-01-10 19:09:02] xcloner_api.INFO: Processing ajax request ID _causf8btm [] []
    [2019-01-10 19:09:02] xcloner_database.INFO: Dumping the structure for u323143866_1.wp_options table [“”] []
    [2019-01-10 19:09:03] xcloner_database.INFO: Dumping 819 records starting position 0 from u323143866_1.wp_options table [“”] []
    [2019-01-10 19:09:03] php_system.INFO: E_DEPRECATED: array ( ‘type’ => 8192, ‘message’ => ‘Methods with the same name as their class will not be constructors in a future version of PHP; SLFramework_Treelist has a deprecated constructor’, ‘file’ => ‘/var/www/blackman/data/www/atree.click/cl/wp-content/plugins/image-zoom/core/tree.class.php’, ‘line’ => 12, ) [] []
    [2019-01-10 19:09:04] xcloner_api.INFO: Processing ajax request ID _uf4e0w9m9 [] []
    [2019-01-10 19:09:05] xcloner_database.INFO: Dumping the structure for u323143866_1.wp_postmeta table [“”] []

    Some scripts do not match the PHP version, but why does it affect backup?

    Thread Starter artblackman

    (@artblackman)

    And still the same Code 500
    Apparently something needs to be done with the log. Otherwise do not understand and do not find the error backup

    Scripts not matching PHP version, do not affect the backup only, they affect your whole site. I would suggest to try and look for an upgrade or alternative on them, additionally you could try and downgrade php to see if it helps.

    Thread Starter artblackman

    (@artblackman)

    In fact everything on the site works. Version mismatch does not crash
    But I need to do a dump and I can’t get it because your script checks for errors
    Note that when correcting the error xcloner downloads another portion
    How do I disable control?

    I would suggest in your case to setup a scheduled backup to see if it works better, as i said, the issue you are having is not from the message logs, but probably from a server timeout.

    Server timeouts are handled by decreasing the XCloner options found in XCloner Settings->System tab, since you get this error at database level, you need to look into decreasing these options:

    Data Size Limit Per Request
    Database Records Per Request

    Also , please check you have enough disk space left to create a full backup, sometimes this is an issue as well.

    Hope it helps.

    Thread Starter artblackman

    (@artblackman)

    I tried changing the settings again
    Backup Compression Level 0
    System option – Averages
    Backup was successful and there are no comments about errors in scripts in logs
    Miracles?
    Confuses that System option – Averages. Can this result in incomplete copying?

    Thread Starter artblackman

    (@artblackman)

    Apparently Backup Compression not working or the level can not be the maximum?

    Worried of course Confuses that System option. What is it? Will not lead to a limitation of archive records?

    Thank you for XCLONE. Now it is the only normal backup script.
    But you have to get used to 🙂

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘I can’t make a backup checks the syntax of PHP scripts’ is closed to new replies.