I’ve been using the plugin slideshow-gallery (Version 1.2.3.2) which uses TimThumb. Up until last week the thumbnails were showing fine. The only thing I did was trying to update the Slideshow Gallery plugin, but that caused not only the thumbs, but also the large image to disappear, so I downgraded to Version 1.2.3.2 again. When I inspect the broken images, I get the following error:
Could not create cache clean timestamp file.
I have tried changing the files’ permissions, deleting the index file in /cache and all the recommendations I found online, but the issue is still occurring. Here is an example of a gallery where the thumbs are broken: https://compagnie.voyagesgendron.com/2014/08/25/maison-bellevue-22-rue-savard-st-joachim-qc/
I also found that for a different post type (destination) the thumbnails still show fine under the Photos tab:
https://ski.voyagesgendron.com/destination/valle-nevado/
Any thoughts as to what else could be failing?
Thanks,
]]>Hello group,
I have a mutlisite setup for WordPress using a premium theme that uses TimThumb. When doing an export from one site to the other all the thumbnails break but showup in the media library of the newly created site. I tend to think this might come back to a wordpress better security settings. I am using the subdomain format, I have added all the sites / subdomains to the array for TimThumb and turned off the “filter suspicious URL queries” in WordPress Better Security but the error persists. Perhaps a directory permission error? Any light you can shed would be fantastic.
`
Warning: fopen(./temp/291de51c0c7c902aebd2274d07968dad.png) [function.fopen]: failed to open stream: No such file or directory in /home/content/63/7309663/html/gridone/wp-content/themes/trademark/lib/timthumb/timthumb.php on line 668
Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in /home/content/63/7309663/html/gridone/wp-content/themes/trademark/lib/timthumb/timthumb.php on line 676
Warning: fclose(): supplied argument is not a valid stream resource in /home/content/63/7309663/html/gridone/wp-content/themes/trademark/lib/timthumb/timthumb.php on line 686
Warning: Cannot modify header information – headers already sent by (output started at /home/content/63/7309663/html/gridone/wp-content/themes/trademark/lib/timthumb/timthumb.php:668) in /home/content/63/7309663/html/gridone/wp-content/themes/trademark/lib/timthumb/timthumb.php on line 808
local file for https://g1usa.gridone.us.com/wp-content/uploads/sites/18/2013/08/EPRCable.png can not be created
Query String : src=https://g1usa.gridone.us.com/wp-content/uploads/sites/18/2013/08/EPRCable.png&w=580&h=200
TimThumb version : 1.15
‘
Hi there I am trying to get timthumb working on my site. I have contacted the host company who gave me the paths to add to the timthumb file.
My question is which line do i add it to?
here are the paths
/usr/local/pem/vhosts/238001/webspace/siteapps/WordPress-52841/htdocs
/usr/local/pem/vhosts/238001/webspace/siteapps/WordPress-52841/htdocs
Here is some of the code in timthumb where I think it should go:
protected function calcDocRoot(){
$docRoot = @$_SERVER['DOCUMENT_ROOT'];
if (defined('LOCAL_FILE_BASE_DIRECTORY')) {
$docRoot = LOCAL_FILE_BASE_DIRECTORY;
}
if(!isset($docRoot)){
$this->debug(3, "DOCUMENT_ROOT is not set. This is probably windows. Starting search 1.");
if(isset($_SERVER['SCRIPT_FILENAME'])){
$docRoot = str_replace( '\\', '/', substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF'])));
$this->debug(3, "Generated docRoot using SCRIPT_FILENAME and PHP_SELF as: $docRoot");
This is in my host company FAQ about where to add the paths:
define ('LOCAL_FILE_BASE_DIRECTORY', '/usr/local/pem/vhosts/$WEBSPACE/webspace/siteapps/$SITEAPPID/htdocs');
$_SERVER['DOCUMENT_ROOT'] = '/usr/local/pem/vhosts/$WEBSPACE/webspace/siteapps/$SITEAPPID/htdocs';
I am new to this and currently very confused – can anyone help ??
Regards
Tony
]]>Hi, i have a problem with timthumb.
I want tot set it to redimension the size for the pictures to 980 × 250 but i see that he doewsnt take the original picture, it take one with size 650×250 that he redimension to 980 × 250. it about the images in this slider https://synthmania.ro/
the code is <a href="<?php the_permalink() ?>"><img class="slidim" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php get_image_url(); ?>&h=250&w=980&zc=1" alt=""/></a>
what did i do wrong?
]]>Hello,
I have this site https://synthmania.ro/. I want to make some change at slider, and i want to display the full image in the slider.
So i want to modify the timthumb to resize the photo to 1000×250 px.
But i dont know where to do that.
I dont even find where the <div id=”slidearea”> is in my theme.
Can you help me?
]]>Hello!
So I recently migrated a client’s WordPress website from Network Solutions to GoDaddy. Since the migration TimThumb is not functioning in the Awake theme. The thumb.php script will not pull images in.
When I go to the thumbs.php path (https://kevinross.net//wp-content/themes/awake/lib/scripts/thumb.php) I get the following error…
A TimThumb error has occured
The following error(s) occured:
No image specified
Query String :
TimThumb version : 2.8.2
You can see the issue at https://www.KevinRoss.net. Images are missing in the slider (botht he large images and the thumbnails) as well as thumbnails that should appear below in the recent news section.
I’ve searched high and low for solutions and tried everything I can get my hands on. I’ve changed permissions on important folders to 777 and 755. But still nothing.
I really need to get this up and running ASAP. Any and all help would be so appreciated.
Thanks in advance!
Robert
Hi, now am fix it.
Following should be added to Start of script .htaccess files:
SecFilterEngine Off
SecFilterScanPOST Off
# BEGIN WordPress
Work’s again.
Best regards
]]>Hi,
I’ve worked before with timthumb and had no problems before, but for this version the image is not showing its just the link of the URL. The URL of my site is: https://www.everify.com/resources/ and you can see the problem under “Discover Who’s Calling with a Reverse Phone Number Lookup”. And when I go to this URL: https://www.everify.com/resources/wp-content/themes/eVerify/scripts/timthumb.php?src=https://www.everify.com/resources/wp-content/uploads/2012/02/Reverse-Phone-Search.jpg&h=150&w=150 I see the following error: Could not get a lock for writing.
But my cache folder chmod settings are set to 777 and they were 755 before and I got the same error.
Can someone suggest me a solution?
Thanks
Good day.
I have a WordPress blog in https://www.davaobase.com, where I’m using timthumb (saved in my account as thumb.php) in order to display the sliding panel images at the homepage.
My problem is that for the 5 featured posts on the sliding panel, they all have the same thumbnail as processed by thumb.php.
I’m suspecting some sort of caching mechanism that does not jive with the thumb.php code. I’m not sure. Any ideas?
]]>Hi there. I’ve been scratching my head a number of times with this timthumb issue.
I have a theme that incorporates timthumb under this URL:
https://69.194.225.83/~davaobas/wp-content/themes/Exciter/thumb.php
However, when I generate thumbnails for my images, say:
https://69.194.225.83/~davaobas/wp-content/uploads/2011/12/Pisay-run.jpg
… I try to use this timthumb URL:
https://69.194.225.83/~davaobas/wp-content/themes/Exciter/thumb.php?src=https://69.194.225.83/~davaobas/wp-content/uploads/2011/12/Pisay-run.jpg&w=638&h=300
… but what I get is this error message:
file not found ~davaobas/wp-content/uploads/2011/12/Pisay-run.jpg
TimThumb version : 1.14
I suspect this is because of my directory containing a tilde symbol (~). Is this accurate? How do I bypass / solve this dilemma?
P.S. I choose not to change my directory name, so I’m not considering this as an option.
]]>