Title: Blogger Import PHP Error
Last modified: August 18, 2016

---

# Blogger Import PHP Error

 *  [lisaps](https://wordpress.org/support/users/lisaps/)
 * (@lisaps)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/blogger-import-php-error/)
 * 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)

 *  [andrewfaith](https://wordpress.org/support/users/andrewfaith/)
 * (@andrewfaith)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/blogger-import-php-error/#post-497709)
 * 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.
 *  [Poco](https://wordpress.org/support/users/poco/)
 * (@poco)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/blogger-import-php-error/#post-497764)
 * 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…
 * [http://notions.okuda.ca/wordpress-plugins/from-blogger-to-wordpress/](http://notions.okuda.ca/wordpress-plugins/from-blogger-to-wordpress/)
 *  [andrewfaith](https://wordpress.org/support/users/andrewfaith/)
 * (@andrewfaith)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/blogger-import-php-error/#post-497767)
 * 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?
 *  [Poco](https://wordpress.org/support/users/poco/)
 * (@poco)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/blogger-import-php-error/#post-497774)
 * 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](https://wordpress.org/support/users/lisaps/)
 * (@lisaps)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/blogger-import-php-error/#post-497801)
 * Thanks for the help. I’m on a Mac too, but I’ll look into this as well as contact
   my host.
 *  [dnourie](https://wordpress.org/support/users/dnourie/)
 * (@dnourie)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/blogger-import-php-error/#post-497820)
 * 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
 *  [ronsman](https://wordpress.org/support/users/ronsman/)
 * (@ronsman)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/blogger-import-php-error/#post-497872)
 * 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.

## Tags

 * [Import](https://wordpress.org/support/topic-tag/import/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 5 participants
 * Last reply from: [ronsman](https://wordpress.org/support/users/ronsman/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/blogger-import-php-error/#post-497872)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
