I couldn't get the images to display and went and checked out the error log. Below is the error that I was getting.

getimagesize(http://s663--.gridserver.com/sites/default/files/category_pictures/equipment-default.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: no suitable wrapper could be found in /nfs/c04/h03/mnt/66323/domains/modernb--.com/html/sites/all/modules/taxonomy_image/taxonomy_image.module on line 267.

For some reason, the $fullpath that uses "file_directory_path()" is returning an external link and not an internal link on line 213 of taxonomy_image.module.

For the external link to work,

allow_url_fopen = On

has to be added to your php.ini. This seems like an unnecessary security risk when an internal link should just be internal.

Comments

Grumot’s picture

subscribing

ñull’s picture

Priority: Normal » Critical

bump. Don't know why this was working before. Most likely because I moved the site to production server. If this setting is security related I can imagine why it would not be set on a production server

Not every user can just manipulate their php ini and this cannot be handled in .htaccess either, so I changed this to critical.

ñull’s picture

Version: 6.x-1.6 » 6.x-1.x-dev
Status: Active » Fixed

I tried to fix it myself and succeeded, but then I realised that the dev version had the same.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jackbravo’s picture

In case you end up here, the real issue is on #438378: function.getimagesize error

mychaskaseo’s picture

Warning: getimagesize() [function.getimagesize]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/mychaska/public_html/classified/classified-listing.php on line 187

Warning: getimagesize(http://classified.mychaska.com/thumb_cache/80x80__crop__uploaded_files^classified_img^images207751.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /home/mychaska/public_html/classified/classified-listing.php on line 187

i have also same problem please help me

Free Online Classifieds Ads,Online Classifieds Advertising,Global Business Opportunity.

http://classified.mychaska.com/