Autoblog on Local Server cURL Error

Discussion in 'Blogging' started by twisted_one, Oct 25, 2009.

  1. twisted_one

    twisted_one Regular Member

    Joined:
    Oct 11, 2009
    Messages:
    498
    Likes Received:
    82
    I am trying out an Autoblog in my Local server using xamp.

    1. I installed xamp
    2. I installed WP
    3. I installed and activated WP Robot plugin
    4. In the WP Robot setting, I added a new keyword as shown in the attached picture.
    4. When I clicked on Post Now button, it gives an fatal error -

    Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\wordpress\wp-content\plugins\wpr1.2\modules\articles.php on line 206

    Any ideas how can I resolve it, please?

    EDIT: I have added this line to my C:\xampp\php\pho.ini

    PHP:
    extension=php_curl.dll
    It did not help either
     

    Attached Files:

    Last edited: Oct 25, 2009
  2. xbada

    xbada Junior Member

    Joined:
    Jul 31, 2009
    Messages:
    102
    Likes Received:
    118
    Occupation:
    full time im
    Location:
    usa
    Post your articles.php file and I will take a look. I don't use curl with php but generally that error occurs in libcurl when it isn't including the header files correctly.
     
    • Thanks Thanks x 1
  3. twisted_one

    twisted_one Regular Member

    Joined:
    Oct 11, 2009
    Messages:
    498
    Likes Received:
    82
    I did really not make any changes to my articles.php file. I just downloaded, installed and activated this plug-in. I anyway have attached the file for your kind reference.

    Thanks mate for coming forward to help out!
     

    Attached Files:

  4. H3ktor

    H3ktor Senior Member

    Joined:
    Oct 20, 2009
    Messages:
    801
    Likes Received:
    1,002
    Gender:
    Male
    Occupation:
    Entrepreneur
    Location:
    Paris
    Xammp is not cURL enabled and also can't rewrite.
     
  5. twisted_one

    twisted_one Regular Member

    Joined:
    Oct 11, 2009
    Messages:
    498
    Likes Received:
    82
    GUESS WHAT? WOW!!! Lol Sorry for the caps on! It WORKS now...
    I am using Windows and as a matter of fact - if something is not working, just RESTART your system and voila it works :)

    Thanks for the help. Now I know xamp can handle cURL.
     
    Last edited: Oct 25, 2009
  6. xbada

    xbada Junior Member

    Joined:
    Jul 31, 2009
    Messages:
    102
    Likes Received:
    118
    Occupation:
    full time im
    Location:
    usa
    Yupp, sometimes all you gotta do is keep trying.