Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor cborodescu

    (@cborodescu)

    @dromni could you please let me know:

    – What is the WordPress version you’re running? Notice that 2.0 works for WordPress 3.5 and above.

    – What’s the PHP error it throws? A copy-paste would help.

    I got the same issue.

    the error log is provided as follows:
    ===
    2014/06/05 16:00:26 [error] 13539#0: *1 FastCGI sent in stderr: “PHP Fatal error: Call to undefined function curl_init() in /srv/www/XXX/public_html/wp-content/plugins/wordpress-mobile-pack/core/class-admin.php on line 41” while reading response header from upstream, client: 108.162.249.186, server: http://www.XXX, request: “GET /wp-admin/ HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “blog.bjdch.org”
    ===

    I got the same error each time I refreshed the wp-admin page.

    Regards,
    Dom

    Anonymous User 13868920

    (@anonymized-13868920)

    @bjdchorg

    You’re seeing this error because your server doesn’t have the curl package enabled. We are working on a fix for this bug and we’ll make a new release at the beginning of next week. Sorry for the trouble.

    @anghelalexandra

    Thank you for your reply. As you said, I have resolved this issue successfully.

    I have written a blog in regard to this issue: http://blog.bjdch.org/?p=1800

    =============
    Situation: I had an issue today when I was trying to upgrade the “WordPress Mobile Pack” plugin from WordPress. The wp-admin page remained blank so I was wondering something went wrong. I tried to delete the WMP plug-in and re-install it, but it was still the same problem.

    Action: After I read the error_logs under my website folder, I grabbed the information as follows:

    2014/06/05 16:00:26 [error] 13539#0: *1 FastCGI sent in stderr: “PHP Fatal error: Call to undefined function curl_init() in /****/wp-content/plugins/wordpress-mobile-pack/core/class-admin.php on line 41″ while reading response header from upstream, client: 108.162.249.186, server: http://www.blog.bjdch.org, request: “GET /wp-admin/ HTTP/1.1″, upstream: “fastcgi://127.0.0.1:9000″, host: “blog.bjdch.org”

    There were multiple error_logs but they just got repetitively. It said that curl_init() is undefined. Now everything came to a turning point.

    Result: I did some research and I realised that CURL is a function of PHP so I need to get it installed.

    sudo apt-get install php5-curl

    However, I tried to restart the php5-fpm and Nginx service in Debian but nothing happened (I got a PHP probe installed to check whether the module installed correctly). I tried to reboot the machine and everything was working again!

    Hint: Do NOT try to edit the php.ini (put “extension=curl.so“) after you get curl module installed. The module package will automatically put a file called “20-curl.ini” under /etc/php5/cgi/conf.d so the curl module will start with the program.

    The probe program is found to be very useful during troubleshooting, however you can use phpinfo instead.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Side note: @anghelalexandra if you are part of the team that supports this plugin can you please ask that the plugin author make you a Plugin Contributor?

    Right now it looks like you are using 2 different forum accounts for the same topics. Adding your account as a plugin contributor would get you a thanks from your local moderators. 😉

    Anonymous User 13868920

    (@anonymized-13868920)

    @bjdchorg

    That is awesome, thanks for contributing!

    @jan Dembowski

    You are quite right, so there, I’m added to the contributors list now 🙂

    Anonymous User 13868920

    (@anonymized-13868920)

    We just uploaded v2.0.1 that solves the problem with the curl library. A full list of updates is available in the Change Log.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Makes my wp-admin page because of a php error in the plugin files.’ is closed to new replies.