• Resolved danmcb

    (@danmcb)


    Hi,

    Having trouble to get this plugin working. It’s on a Debian server (jessie) and I have root access. Backing up the db seems OK, but not the full backup. Probably permissions or something silly? the folders listed below are not being created. But how do things need to be configured? some guidance please.

    many thanks

    Daniel

    WordPress version 4.8.1
    BackWPup version 3.4.1 Get pro.
    PHP version 5.6.30-0+deb8u1 (64bit)
    MySQL version 5.5.57-0+deb8u1
    cURL version unavailable
    WP-Cron url http://www.danmcb.com/wp-cron.php
    Server self connect Not expected HTTP response:
    Status-Code: 411
    Content-type: text/html
    Content-length: 357
    Date: Fri, 15 Sep 2017 15:27:30 GMT
    Server: lighttpd/1.4.35
    Content: <?xml version=”1.0″ encoding=”iso-8859-1″?> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt; <html xmlns=”http://www.w3.org/1999/xhtml&#8221; xml:lang=”en” lang=”en”> <head> <title>411 – Length Required</title> </head> <body> <h1>411 – Length Required</h1> </body> </html>

    WordPress version: 4.8.1
    BackWPup version: 3.4.1
    PHP version: 5.6.30-0+deb8u1 (64bit)
    MySQL version: 5.5.57-0+deb8u1
    cURL version: unavailable
    WP-Cron url: http://www.danmcb.com/wp-cron.php
    Server self connect: Not expected HTTP response:
    Status-Code: 411
    Content-type: text/html
    Content-length: 357
    Date: Fri, 15 Sep 2017 15:27:30 GMT
    Server: lighttpd/1.4.35
    Content: <?xml version=”1.0″ encoding=”iso-8859-1″?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; xml:lang=”en” lang=”en”>
    <head>
    <title>411 – Length Required</title>
    </head>
    <body>
    <h1>411 – Length Required</h1>
    </body>
    </html>

    Document root: /var/www/danmcb.com
    Temp folder: /var/www/danmcb.com/wp-content/uploads/backwpup-e4651e-temp/
    Log folder: /var/www/danmcb.com/wp-content/uploads/backwpup-e4651e-logs/
    Server: lighttpd/1.4.35
    Operating System: Linux
    PHP SAPI: cgi-fcgi
    Current PHP user: nobody
    Maximum execution time: 30 seconds
    Alternative WP Cron: Off
    Disabled WP Cron: Off
    CHMOD Dir: 0755
    Server Time: 15:27
    Blog Time: 15:27
    Blog Timezone:
    Blog Time offset: 0 hours
    Blog language: en-US
    MySQL Client encoding: utf8
    PHP Memory limit: 256M
    WP memory limit: 40M
    WP maximum memory limit: 256M
    Memory in use: 26.25 MB
    Disabled PHP Functions:: pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority,
    Loaded PHP Extensions:: Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gettext, hash, iconv, json, libxml, mbstring, mhash, mysql, mysqli, openssl, pcntl, pcre, pdo_mysql, posix, readline, session, shmop, soap, sockets, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, zlib

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @danmcb,
    This error means that your server didn’t accept a request with no Content-Length header.
    Could you contact your hosting provider about this issue?

    For a workaround, you can fix this by using another cron method.
    Please modify wp-config.php ( you can find this file in your root directory ), and before the line:
    /* That’s all, stop editing! Happy blogging. */
    add this line:
    define(“ALTERNATE_WP_CRON” , true );
    Try to run again, it’s should work 😉

    wp-config.php is located in the root directory of your website :).
    If you still cannot find that file, you can install a plugin WP Config File Editor(https://ww.wp.xz.cn/plugins/wp-config-file-editor/)
    and follow this picture:

    Thread Starter danmcb

    (@danmcb)

    Hi, thank you for the response!

    I have root access on the server, the installation is all down to me, so for me to fix it.

    I wonder if this is caused because I am using lighttpd not Apache? (I have a bunch of sites on this server, and they have been up a long time – this is the only WP one and I don’t want to swicth to Apache unles REALLY necessary.)

    I will try your workaround! thank you

    Thread Starter danmcb

    (@danmcb)

    hmmm. The alternate cron hack does noty seem to help.

    The 411 response seems to be a feature of lighttpd 1.4 – the only way to change this is either to switch to Apache or use lighttpd2 (which allegedly supports content-length not being in the header).

    https://redmine.lighttpd.net/issues/2684

    @danmcb,
    good to hear that Alternative Cron config works for you 🙂
    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://ww.wp.xz.cn/support/plugin/backwpup/reviews/

    Btw, just for my personal question, could you tell me which kind of CMS or framework did you use for other sites on your server?

    • This reply was modified 8 years, 8 months ago by happyAnt.
    Thread Starter danmcb

    (@danmcb)

    no – it didn’t make any difference. Probably because the error is at webserver level (kind of weird behaviour of lighty)?

    Other sites are hand coded html/css using some perl scripts to generate the site from templates. Great for small static sites but not gets hard work when you want a bit more.

    thanks!

    Thread Starter danmcb

    (@danmcb)

    Yes!

    Thank you! that’s great!

    @danmcb,
    hmm, did that help?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘“Not expected HTTP response” on fresh install’ is closed to new replies.