Support » Plugin: Admin Customization » [Plugin: Admin Customization] Warning: getimagesize() – error on login page

  • Resolved csbecker


    I’ve installed Admin Customization for WordPress. I installed and added a custom login graphic but I’m getting the following error:

    Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in /homepages/40/d130529568/htdocs/ccsdance/wp-content/plugins/admin-customization/core.php on line 150

    Warning: getimagesize( [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /homepages/40/d130529568/htdocs/ccsdance/wp-content/plugins/admin-customization/core.php on line 150

    I made sure that my image wasn’t too large.
    Is there a way to resolve this?

    THanks! Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • You replied:

    You need to modify your php configuration.
    Edit your server php.ini and set “allow_url_fopen” to “On”. You may need to talk to your hosting service to add that for you.

    I’m going to see if I can get that done.

    Thanks for the direction.

    OK – solution found. Thanks Alex.
    I have a shared hosting solution for this site.
    I created a new php.ini file and uploaded it to the site’s root WordPress installation directory.

    The php.ini file simply included the following:
    allow_url_fopen = On

    Hopefully this will help someone.

    Aeroplankton Enthusiast


    Given many hosts will not allow “allow_url_fopen”, here’s a duct-tape** solution:

    Edit plugin file: admin-customization/core.php
    Edit function: ac_login_head_setup()
    Set*: $logo_path = 'wp-content/' . self::$options->login_logo;

    *By dropping the site_url() from the path getimagesize() should go local; avoiding the need for remote file manipulation.

    **May need to be re-applied with every update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Admin Customization] Warning: getimagesize() – error on login page’ is closed to new replies.