• Angelo

    (@angelo-pagano)


    When i set the defautl facebook thumb:

    Warning: getimagesize(www.pallavolosansisto.it/wp-content/uploads/2013/12/logo-ASDPSS-per-carta-intestata.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/mhd-01/www.pallavolosansisto.it/htdocs/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 41
    x )

    Perhaps when i share a post doesn’t appear any image.

    May you help me?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michael Ott

    (@mikeyott)

    Hi Angelo,

    That error would occur if the default featured image you had set was missing. At some stage it may have been deleted or renamed.

    Thread Starter Angelo

    (@angelo-pagano)

    Ok i forgot “https://” before url, now i see the default thumbnail but i see this warning too:

    Warning: getimagesize() [function.getimagesize]: https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/mhd-01/www.pallavolosansisto.it/htdocs/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 41

    Warning: getimagesize(https://www.pallavolosansisto.it/wp-content/uploads/2013/12/logo-ASDPSS-per-carta-intestata.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /home/mhd-01/www.pallavolosansisto.it/htdocs/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 41
    x )

    Plugin Author Michael Ott

    (@mikeyott)

    I just found a thread on Stack Overflow (https://goo.gl/jo7RoR) where someone experienced the same error and according to that it looks like the version of PHP your website is on doesn’t have allow_url_fopen enabled (maybe an old version of PHP?).

    If you have access to the server and can edit the php.ini file (usually at /etc/php5/apache/php.ini), just add this line:

    allow_url_fopen = On

    If you don’t have access to the server php.ini file, some web hosting accounts allow you to drop your own php.ini file into the website root. Just create a text file called php.ini and add the line…

    allow_url_fopen = On

    …and then FTP it up.

    Failing that, there’s not much I can do about it for now, and as the first person to complain of this issue I’m not yet convinced I need to re-write part of the plugin to allow for when the server doesn’t have that php function enabled. At least not in the immediate future.

    FYI the particular function that’s throwing the error is getimagesize() and only exists for getting the image dimensions to display them on screen, and will not have any bearing on the plug-in functionality otherwise.

    Good luck.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Share a link by fb’ is closed to new replies.