Topic: Common Issues and How to Fix Them

If you're thumbnails aren't showing, right click where it is supposed to be and click "View Image" (menu option might be slightly different across browsers). Usually this would bring you to a page with just the image. However, since it's not showing up there may be some error messages that will help us figure out what's wrong.

If you get this error:

Fatal error: Call to undefined function imagecreatefromjpeg()...

Or a similar error

Fatal error: Call to undefined function imagecreatefrom____()...

it means you don't have GD support.

If you get an error like this:

Warning: finfo_open() [function.finfo-open]: Failed to load magic database at...

It means your host configured the Fileinfo PHP extension incorrectly and should ask them to fix it.

If you get an error with words "safe_mode" or "openbase_dir" it means your host configured PHP incorrectly and you should talk to them about fixing it.

If your thumbnails don't seem to be uploading, it is most likely a permissions problem. Try the following permissions in order until it works:

  • 755

  • 775

  • 777

If none of them seem to work, you may have to "recurse into subdirectories" when you change the permissions. In FileZilla, you simply check this box:

http://img145.imageshack.us/img145/7250/screenshot006s.png

Re: Common Issues and How to Fix Them

Hi, i use WP 2.8. After install your plugin i have no thumbnails, if i right click where it is supposed to be and click "View Image" i have next

Warning: usort() [function.usort]: The argument should be an array in /home/sergey3g/public_html/wp-content/plugins/simple-post-thumbnails/timthumb.php on line 349

Warning: Cannot modify header information - headers already sent by (output started at /home/sergey3g/public_html/wp-content/plugins/simple-post-thumbnails/timthumb.php:349) in /home/sergey3g/public_html/wp-content/plugins/simple-post-thumbnails/timthumb.php on line 264
яШяа�JFIF������яю�;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 80 яЫ�C�   %# , #&')*)-0-(0%()(яЫ�C   (((((((((((((((((((((((((((((((((((((((((((((((((((яА��–�И"�яД����������� яД�µ���}�!1AQa"q2Ѓ‘Ў#B±БRСр$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzѓ„…†‡€‰Љ’“”•–—�™љўЈ¤Ґ¦§Ё©ЄІіґµ¶·ё№єВГДЕЖЗИЙКТУФХЦЧШЩЪбвгдежзийкстуфхцчшщъяД�������� яД�µ��w�!1AQaq"2ЃB‘Ў±Б #3RрbrС $4б%с&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ѓ„…†‡€‰Љ’“”•–—�™љўЈ¤Ґ¦§Ё©ЄІіґµ¶·ё№єВГДЕЖЗИЙКТУФХЦЧШЩЪвгдежзийктуфхцчшщъяЪ� ��?�ъ¦Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( Љ( ЉПЦ5/FЌ$Хх++|нk©Ц Шл‚ДWНї?i{ЭЖ7:o…,ґ}GK¶dSxтґўpTШИАIщєPФTWа‹сЮ>™быйeј‚/=‘бxГ ¤ЃњµwгҐ�QHhh®Ж|бOы;[ЧbЋщHC o3EююАvэ>ХЪiZ…¦«¦Ы_йУҐЕќМk,RЎИu# Љ�µEЙxзв'…ј"%ХбµљQє8ґ’°О2A dOhў±$ �фf№·ѕ·]тZ]*¬›O—‚№8И<cЏДљј6Ч Йn€ТJГЧb‚@г©А«ћсЗ‡<ЈCБ?:¶ Ћ$`аъWВd»“г‰ЫYу‰ѓ…зжт3ыЅ№я�¦{q]ѓѕxїW:Ыи3Н§шNв)Фn_ЛЋтЭ[r|Ј–ОХ< ~”жъэМЏЊ5+©]–ЦжюI—ж!BIјэ!рgцOь"Z9рЪЄи¦Ц3f€ЉЌЅyО:зњхжї;юx>зЗћ2ІрхќДvТ\‡c<ЉYc …‰ uйЏ©ф§ѓю3Гбџи -мъВЖXtGФД›ZIБ—TдЯЖ2N9Пj�ъPЧзчн3}я�ЖПInксЖa‡r¶A+ пэмЏВѕпс•Ж§бнNВОй.®e‚+„ОbfBЄгБ9ь+у‡RрЕНџЏ&р°ћп#їюП2Ў%Mы>ЅhнЯЩќt5шCЈя�В<У{8s Д$�”rKawdсИацрЯ‹љњZПДЯЯБџ&kй6д`аsпЕ�}Ѕы=ЪЗcрoВЦсІ“ц_=Ђ9Б‘љOэћ»№п ёЋЮ{Ё#ё—„Ќ¤›и&ї6фM[[ш}г№і–KMSNџl€еb§жFЗЮSИ?Z‡З:дъя�ЌuќfIе‘оo$•›,qШ2=�cТЂ?MTФµ-.?Rј¶іѓ!|Л‰V5Йи2HрЖ}O]У>%ЭЪ\k7т]i±ЪВі}Ў·KxБpsБ, ЬљµыKk·љЗЕmF™еxlў†гsЃyH_ РеЁпЁдI#Y#exШVSђAиAфЁ-u ;Й$ЋТоЮwЊбЦ9ъгҐ~cЫлZҐѕџ=…ѕҐ{ЌАktќ–9�иs‚>µХьсЧ‡>)шrкТWDћт;IХXЂсHБЬ з {PЎ~ЩЧїhшџ§Ъ©КЫiq‚=¤ђџУm}р{$шQб{+{»i.ЕdxЈ•Y”±,r3ђ~jщ/цЎїыoЖНx”·@јз¤(OюР|F#юЌ§кF>Э[¬…>„ЊЏВЇXiЦZ~џЌ…ҐЅµ”kµ-бЊ$j=ЃЊPжМЪь7^ЏGЅ°[‹и.<Л]I¦o2Jб Ъx)‘ё6’ЗшЌ}-ы)Б_|#сu¦eы$Z~о@‘ў;цз¶J{g>хкwїюЮj {7…н„мwТЗЬW ъW}¦iцљ]„:mґ6¶p.ИЎ…ў@�~oшЕљ—ЂµлќCMЌSQы<ЦЄd0і »±кѕ‡ёЇOэ�ѕк^#сҐЏЉ5 ycС4Щ…КП(ЗЪgS” ћёl1?мг©ЇЇ<бЭQµ+ї иУЯ№ЬУЛg37©Идых®’$XЈXгUDPЄЊ�=� л_ћ>7№Ѕр—ЗЌ_QёѓМє°Чљэ_ђJюjи`э ~€зхпxgД‘Эkљ—Ё\Ж6¬·6Й#cУ$gЭ9 ЃlфЭ{в6їш“Q†жвЦ%ю©wacЌWqE'ЌШU~™а8ыы–јФ..YUyBЄ8Ћp?:э@±°іУмТТВЦЮЪС#TEЃG±ЯБ>ymдo иЖKy<Ш_мQж6Оr89зл@ќю<ФЋ»гRH¤AyЁM*FЛ†PТЏP0+Kвg†/|г»Л;‹V‚1/Ъ2„+DЗrгЧtъE~ЂЏшlkЌ`йcVfЮЧeO4·ч·c9члZ:¦“§jС¤z…Ґмhr«s ИхЃ ‰юxWUш»сfгДЪҐ§“Ј-йѕѕ—КаоXћЅ�>‹’{W©ЬГгЋ2Н3ZjєрXрНОя�гёЇРин-бґ°БvБJ‘BЁSЫЊs^YаПЂ~ р§Љ?·m"јє№ЉO6Т;™CGlqБP�ЬAО gw ‹<ёLLЕjhЪ~Ј¬ьXUТфЛ§ќuQ!‚I0 ›ёе ;цЕ}µўьр‰®Зi~·‡QЉO272Hлg9Tf*¤vАгЊWuЗ,’G,’`»�¶:gЦЂ?6ѕ%j¬ьFс%йWЭqЁОUБ|Вqм0+©шsр‡Еѕ<Чгk» л-9дЯuЁЮFЙЖrЫwrм}іЙАЇ»ЋЃЈќKы@йVP$7ЪѕОћi#ЎЯЊЦ й@флHtы k;DтннгXbOоЄЂ�ьЂ«Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@яЩ
Warning: Cannot modify header information - headers already sent by (output started at /home/sergey3g/public_html/wp-content/plugins/simple-post-thumbnails/timthumb.php:349) in /home/sergey3g/public_html/wp-content/plugins/simple-post-thumbnails/timthumb.php on line 633
error showing image

Re: Common Issues and How to Fix Them

Are you running a clean install?

Jason

Re: Common Issues and How to Fix Them

Jason Schuller wrote:

Are you running a clean install?

Jason

Yes

Re: Common Issues and How to Fix Them

Meaning did you upgrade to 2.8 from an earlier version, or simply install a fresh version of 2.8?

Jason

Re: Common Issues and How to Fix Them

Jason Schuller wrote:

Meaning did you upgrade to 2.8 from an earlier version, or simply install a fresh version of 2.8?

Jason

NEw install 2.8 (on clear host)

Re: Common Issues and How to Fix Them

Ok... I am passing this error on to the plugin developer (James) to see if he might have any clue as to what is going on.

Jason

Re: Common Issues and How to Fix Them

Jason Schuller wrote:

Ok... I am passing this error on to the plugin developer (James) to see if he might have any clue as to what is going on.

Jason

i waiting  for answer

Re: Common Issues and How to Fix Them

Let's try this. Go to line 347 in thumbnail-poster.php and change it to this:

if ( is_array($files) && count($files) > 0 ) {

Re: Common Issues and How to Fix Them

James Lao wrote:

Let's try this. Go to line 347 in thumbnail-poster.php and change it to this:

if ( is_array($files) && count($files) > 0 ) {

in this file only 304 line

Re: Common Issues and How to Fix Them

Doh! Sorry, I meant do that to timbthumb.php.

Re: Common Issues and How to Fix Them

Even i do have the same problem

Re: Common Issues and How to Fix Them

I am so lost right now... Help Please... This thumbnail thing is really slowing me down. I just want to know if there is any way that I can pull an image out of the video I post so that I dont have to google a image and put it as a thumbnail that it is not even in the video...

Re: Common Issues and How to Fix Them

The Simple Post Thumbnails plugin does not generate thumbnails from video.

Re: Common Issues and How to Fix Them

James Lao wrote:

Doh! Sorry, I meant do that to timbthumb.php.

I had the same problem with a clean install of wordpress 2.8.3. Now I changed this and now the thumbnail is showing! No more array-error! You should change this in the original-plugin-code...

Re: Common Issues and How to Fix Them

Did all this, and thumbnails are finally working, unfortunately when i add a image url to a post and press update, it will show this error message:

Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/ruben/domains/rubenpol.nl/public_html/wp-content/plugins/simple-post-thumbnails/thumbnail-poster.php on line 235

Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/ruben/domains/rubenpol.nl/public_html/wp-content/plugins/simple-post-thumbnails/thumbnail-poster.php on line 235

Warning: Cannot modify header information - headers already sent by (output started at /home/ruben/domains/rubenpol.nl/public_html/wp-content/plugins/simple-post-thumbnails/thumbnail-poster.php:235) in /home/ruben/domains/rubenpol.nl/public_html/wp-includes/pluggable.php on line 865

If i ignore this, (and press Back), it did create a thumbnail, and saved the file, but I think its weird it shows this error page...

Last edited by Ruben (08.12.2009 05:05 pm)

Re: Common Issues and How to Fix Them

Hey love this theme ( and have purchased On Demand too!) and Can't seem to get thumbs to work.

http://askmrvideoblog.com

I tried the fix above but still can't get thumbs to show. They seem to upload fine into thumbnails directory but do not display in either posts or carousel.

Any help appreciated.

Thanks

Re: Common Issues and How to Fix Them

99% of the time, this has to do with your host configuration. You need to double check that you are running PHP5 with GD support enabled.

Jason

Re: Common Issues and How to Fix Them

My PHP is 5.2.9 and GD is enabled. My WP install was an upgrade not a clean install. Will try that next.

Re: Common Issues and How to Fix Them

Clean install did not help. Pictures are getting to the thumbnail directory but not getting displayed. Any ideas?

Re: Common Issues and How to Fix Them

Changed line 347 of timthumb.php to this:

    if ( is_array($files) && count($files) > 0 ) {

Still no go. Frustrating.

Re: Common Issues and How to Fix Them

Confirmed:
GD Support     enabled
GD Version     bundled (2.0.34 compatible)

Re: Common Issues and How to Fix Them

Ok, put on a completely new and clean install on same server and works. Going back to orig and try to figure out the issues.

Re: Common Issues and How to Fix Them

I noticed that when you try to access the timthumb.php file (http://askmrvideoblog.com/wp-content/pl … mthumb.php) that resizes and then displays the image you get an internal server error. That could be the source of the problem. It might be a permissions issues.

Re: Common Issues and How to Fix Them

After installing on a subdirectory http://askmrvideoblog.com/blog it worked. What I notice on the main directory installation is that the cache folder in the plugin directory is not getting created. Also, in the /blog/ installation, even though thumbnail setting is set to jpg, the thumbnails in he cache directory are all png. Which works.

Perry