• I’m trying to import posts and comments from Blogger and get the following error:

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /blog/wp-admin/import/blogger.php on line 99

    In the above, the pathname has been altered to delete out my server info. Can someone help me out?

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m also getting this error with an additional one.

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /xxxx/xxxx/public_html/wp-admin/import/blogger.php on line 99

    Warning: Cannot modify header information – headers already sent by (output started at /xxxx/xxxx/public_html/wp-admin/import/blogger.php:99) in /xxxx/xxxx/public_html/wp-includes/pluggable-functions.php on line 269

    (Obviously I’ve changed the path like the OP)

    Is there anyone who can help resolve this without a lot of mucking around? I was under the impression that this was supposed to be easy and it doesn’t appear to be. Am using 2.0.5.

    That looks like a server configuration problem. Curl is used to download the content from your Blogger blog and if it won’t work correctly then the import won’t work.

    You should discuss this with your host and see if they can remove the restrictions. If not you can import it to a different server and copy the DB tables to your public server. That is what I did when I had import problems…

    https://notions.okuda.ca/wordpress-plugins/from-blogger-to-wordpress/

    Thanks Poco, but unfortunately not very helpful.

    Am using Mac here, so Windoze stuff won’t work – is there any other work around, short of giving it all up as a bad joke?

    I’m sure you could use the same process on a MAC with a different Apache/PHP/MySQL package. I’m sure I’ve seen them available (the one time I played with a new MAC the first thing I did was install Apache to see how easy it would be, and it was). With OSX or newer it should be a breeze.

    Most of the my steps are how to transfer the files between the servers and what to edit, which doesn’t change with the platform. Heck, it would also work with a Linux Apache/PHP/MySQL setup.

    Thread Starter lisaps

    (@lisaps)

    Thanks for the help. I’m on a Mac too, but I’ll look into this as well as contact my host.

    I’m also having this problem on Lunar Pages. I’ve contacted them with a copy of the note above and will see what they say about changing the server configuration.

    This really bites! Dana

    I’ve had the same problem. I went through a bunch of archives and noticed one particularly pertinent comment: try again.

    I did the checking for whitespace bit – made no difference.

    After about five goes, I noticed there was some progress past the error message.

    After a dozen goes, all posts and comments were imported successfully. During the process, the CURL error message remained in place at the top of the box.

    I don’t deny the truth of any comments about server setups, host restrictions etc. But it’s worth being persistent.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Blogger Import PHP Error’ is closed to new replies.