johannes.jarolim.com/yapb-forum

Full Version: No thumbs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Guest

Hey folks,

I've gone through all the other posts from people who had the same issue and I can't seem to find the problem - but no thumbs are appearing anywhere on my site.

The cache folder is set to 777, the diagnostics all come up okay, and memory is set to 32M. Any idea what it could be?

The URL for one image (2 sizes) are:
http://www.phoenixgatestudio.com/wp-cont...&h=90&zc=1
http://www.phoenixgatestudio.com/wp-cont...d=17&w=460

But as a note I never see any images appear in the cache folder. I have also tried various settings in the ImageMagick folder and nothing helps.

Any help would be great!
Hi Guest -

If you have a look at the error messages appearing instead of the thumbnail itself, you would notice this line:

Quote:DEBUG phpThumb: phpThumb() v1.7.8-200709161750 Unknown image type identified by "" () in SourceImageToGD()[3411] in file "phpthumb.class.php" on line 3614

What filetype are you triing to upload? I do recommend using jpeg-images.

Greets from Salzburg,

Johannes

Guest

Thanks Johannes, but they're just straight JPG files - nothing weird. A lot of people seem to have issues with thumbs, is it possible there's a bug? Or is it probably just some problem with my settings.

Andrew

Johannes Wrote:
Quote:DEBUG phpThumb: phpThumb() v1.7.8-200709161750 Unknown image type identified by "" () in SourceImageToGD()[3411] in file "phpthumb.class.php" on line 3614

What filetype are you triing to upload? I do recommend using jpeg-images.
If you create a file named info.php with the following content

PHP Code:
<?php phpinfo(); ?>

place it in your vhosts document root and call it - What does the value DOCUMENT_ROOT say? Does it say:

Quote:/home/phoeniy9/public_html/phoenixgatestudio

If no: Correct it to the right value and everything will be fine.

Hope that helped and
grrets from Salzburg,

Johannes

Guest

Thanks for all your help Johannes, but can you clarify. Where would I correct the value?

In my actual root folder I have a .htaccess file that redirects the site into the phoenixgatestudio sub-folder. So the root of the folder is /home/phoeniy9/public_html/, but the site is housed inside /home/phoeniy9/public_html/phoenixgatestudio.

Cheers,
Andrew

Johannes Wrote:place it in your vhosts document root and call it - What does the value DOCUMENT_ROOT say? Does it say:

Quote:/home/phoeniy9/public_html/phoenixgatestudio

If no: Correct it to the right value and everything will be fine.

Guest

Me again - anyone know how I can fix this? Looking at the error code it recognizes the correct folder for the plugin, but it's missing a folder where it is looking for the original image.

If there's no other solution, is there a line of code I can manually edit to reflect the correct file location even?

Andrew
Hi -

You could do a wild hack and alter line 528 in YapbImage.class.php - Just change the line to

PHP Code:
$phpthumb->config_document_root '/home/phoeniy9/public_html/phoenixgatestudio'

A better way would be although setting up a "normal" vhost with a correct DOCUMENT_ROOT for your WordPress installation instead of using custom redirect hacks with .htaccess

Hope that should solve that issue and
greets from Salzburg

Johannes

Guest

Thanks!! That did it. Not sure why there's an issue with the site setup, but the site actually exists inside that folder. Oh well.

Johannes Wrote:You could do a wild hack and alter line 528 in YapbImage.class.php - Just change the line to

PHP Code:
$phpthumb->config_document_root '/home/phoeniy9/public_html/phoenixgatestudio'

A better way would be although setting up a "normal" vhost with a correct DOCUMENT_ROOT for your WordPress installation instead of using custom redirect hacks with .htaccess
Reference URL's