• Resolved wwotl

    (@wwotl)


    Hi, all.

    I’ve attempted the fix in the previous post about the headers error, but still not working with my upgrade to 2.7.

    I’ve re-downloaded and re-uploaded the offending files. I’ve also checked to make sure there are no spaces at the start and end of the file. I’ve also renamed the plugins folder to plugins.hold in case that was causing any probs. I’m using Dreamweaver on a Mac to FTP the files and have not had any problems applying previous upgrades to WP.

    I’ve got a message into my provider for the curl error, but can’t resolve the headers error, which is also preventing me from logging into the admin side of things.

    Any suggestions?

    Thanks,
    Steve

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter wwotl

    (@wwotl)

    My provider resolved the curl error and now the other header errors have all gone away…

    Thread Starter wwotl

    (@wwotl)

    Spoke too soon… was still running into curl_exec errors so I deleted all the themes except the default one. Now I can’t bring anything up. Arg!

    I then re-uploaded the default 2.7 theme and still no luck. Get the following error and I can’t log in to do anything…

    This has definitely been the most challenging and frustrating upgrade… Any help/ideas would be most appreciated.

    I´ve got the same problem!!! Any help please!!!

    Warning: curl_exec() has been disabled for security reasons in /home/restricted/home2/cristianoandrade/public_html/wp-includes/http.php on line 1027

    Warning: Cannot modify header information – headers already sent by (output started at /home/restricted/home2/cristianoandrade/public_html/wp-includes/http.php:1027) in /home/restricted/home2/cristianoandrade/public_html/wp-login.php on line 255

    Warning: Cannot modify header information – headers already sent by (output started at /home/restricted/home2/cristianoandrade/public_html/wp-includes/http.php:1027) in /home/restricted/home2/cristianoandrade/public_html/wp-login.php on line 267

    Warning: curl_exec() has been disabled for security reasons inb ….

    this is HOST ISSUE. not a wordpress problem.

    Ok, I will try to talk to them… can you explain me what is exactly the problem? I need some authorization or something like that?

    Thanks Whooami!

    the problem is exactly what the message says:

    Warning: curl_exec() has been disabled for security reasons

    thats a shell command that wordpress is trying to use, curl_exec .. youre not being allowed to use it.

    Thread Starter wwotl

    (@wwotl)

    I talked to my host, and they’ve disabled it on their shared servers. They suggested I add the following code to the functions.php and that seemed to do the trick. (Add it to the very end of the file.)

    <?php
    function block_transport() { return false; }
    add_filter('use_http_extension_transport', 'block_transport');
    add_filter('use_curl_transport', 'block_transport');
    add_filter('use_streams_transport', 'block_transport');
    add_filter('use_fopen_transport', 'block_transport');
    add_filter('use_fsockopen_transport', 'block_transport');
    ?>

    I try to use this and I get

    Fatal error: Call to undefined function: add_filter() in /home/handmade/public_html/dev/wp-includes/functions.php on line 2906

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

The topic ‘curl error and Can Not Modify Headers errors’ is closed to new replies.