• Resolved davidkingsbury

    (@davidkingsbury)


    I recently upgraded my web server and can no longer get tweets to download. The upgrade moved Apache from 2.2.26 to 2.4.9 and PHP from 5.4.30 to 5.5.14. Everything in the Social and Twitter Tools settings looks the same, but neither cron nor the “Download Tweets Now” button download new tweets. I have disabled both plugins, disconnected the Twitter account on the Social side and re-added it successfully, verified Twitter App access on that side, enabled debug node and reviewed all the relevant logs. I also just compared my old httpd.conf file with the new one and made a few changes to make sure the same modules are being loaded. I don’t believe any permissions were changed in the site directories.

    Are there any specific Apache or PHP requirements to run these two plugins that I’m missing? Anywhere else I should be looking? It was working perfectly for about a year before I went and messed it up with this upgrade…

    https://www.ads-software.com/plugins/twitter-tools/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter davidkingsbury

    (@davidkingsbury)

    Might be getting closer – this turned up in the debug log:

    [SOCIAL – 2015-03-03 05:11:10 – 199.19.84.52] Service::request() error: SSL: CA certificate set, but certificate verification is disabled

    I see a few things on stackoverflow that might be related regarding php compiled with a version of cURL that uses Apple’s Secure Transport (this is a Mac Mini web server that was upgraded to Yosemite 10.10.2), but that may be a red herring.

    Checking the Apache config for SSL settings…

    Thread Starter davidkingsbury

    (@davidkingsbury)

    Looks like that is the issue:

    https://stackoverflow.com/questions/26463713/wp-remote-post-returns-an-error-on-ssl-connection

    https://www.ads-software.com/support/topic/ssl-cerificate-error?replies=16

    I tried setting SSLVerifyClient to none, but that didn’t seem to change anything. There are two instances of sslverify in aktt.php, but I’m reluctant to mess with those.

    So it seems from the debug log that cron is firing fine, but this SSL issue with Yosemite is preventing the connection to Twitter.

    Was hoping to not have to brew my own PHP, but it looks like that might be the best option (since Yosemite’s PHP also lacks mcrypt and PNG support in GD).

    Thread Starter davidkingsbury

    (@davidkingsbury)

    Installed Homebrew and replaced the Apple-supplied version of PHP in Yosemite with PHP 5.5 with mcrypt, OpenSSL and GD-PNG support. It was the OpenSSL part that ultimately resolved the Twitter Tools download issue…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Apache/PHP Server Upgrade’ is closed to new replies.