• Hello,

    I have a brand new VPS with CentOS 6.4 and Plesk 11 on it. So I started testing this set up as i want to use it for my projects.

    I installed a clean wordpress site (v3.5.1) and this worked perfectly. No error with setting up the whole thing. Now comes the strange part, when I try to search for plugins it says an unexpected error occurred. Pretty strange because the installation was brand new and only running for a couple of minutes.

    So I started looking on the web and almost immediately it became clear it to do with server settings. I read suggestions about enabling cURL support in php but that is not the problem. I checked the phpinfo() function and cURL is one of the many modules that is enabled so that one is ruled out.

    I also read about people that were not able to connect to external url’s and one way to test that was to use the plugin Core Control. So i manually downloaded it and put it in the plugin folder and enabled it in the admin panel.

    I enabled all the modules and started checking “External HTTP Access” area. It shows everything highlighted in green and shows all transports on being available. So far so good you’d say.

    When i run “Test transport” it fails, all 3 of em.
    Curl replied:

    Please wait...
    An Error has occured: Failed to connect to 2402:9400:1000:2::8e: Permission denied

    PHP Streams replied:

    Please wait...
    An Error has occured: cannot retrieve file handle for https://tools.dd32.id.au/wordpress/core-control.php

    PHP fsockopen() replied:

    Please wait...
    An Error has occured: 13: Permission denied

    So it seems they all have problems with accessing files which makes me suspect read/write access on the server. So I tried to uninstall hello dolly plugin and succeeded. So i can delete plugins (also posts and pages btw) so that must rule out the read/write permissions.

    As you probably understand by now, I have no clue what is causing the “Unexpected error Occurred” when searching for plugins. I really want to understand why it’s giving me that error so I hope you guys might have some clues.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 2 possibilities:

    1. Firewall, IP Tables settings in your server.

    2. Maybe your new server’s IP was blacklisted by WP respository, maybe it was used for spamming by the previous owner.

    Thread Starter nyxium

    (@nyxium)

    Iptables was off by default is seems. Plesk also contains a firewall (its allowing everything atm) but I dont see how it could block the connection to not show plugin search results :/

    So even with all firewalls off i get no success. I also checked if server IP was blacklisted on https://whatismyipaddress.com/blacklist-check but that wasn’t the case either.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Clean install wordpress cant search plugins’ is closed to new replies.