Comment on Technical Support by SEO Dave.
Here’s how to waste an hour trying to track down an error in the timthumb.php script that didn’t exist :-)
Recently updated Timthumb.php to the latest version 2.8.14 for the next Stallion Responsive update.
There was a security issue found in timthumb.php 2.8.13 which is part of Stallion Responsive 8.0, no need to worry I’ve never activated the feature that had the security flaw, never liked the idea of allowing thumbnails to be generated from external domains, so always disabled it completely just in case (better safe than sorry).
Anyway, been running the 2.8.14 script here for a couple of weeks and it seemed to be working fine, until today. Found some thumbnail images are not working, they were generating this error message when loading directly in a browser:
The cached image file seems to be corrupt.
On rare occasions or after updating the Timthumb.php script file the thumbnails broke, can either wait for the cache to clear or use FTP to manually delete all the Timthumb.php images and let the script rebuild them. So logged in via FTP and deleted the thumbnails.
This fixed the issue, or so I thought. After checking multiple archive pages (where the images are generated) found some images still gave the “The cached image file seems to be corrupt.” error message, though the images producing the error changed as I again manually deleted the thumbnail images!
Getting a tad concerned now, weird stuff happening on a site could mean HACKED! If a hacker had messed with owner/groups it could stop files being saved(permissions issue) though that didn’t make much sense with the files changing that generated the error.
Made a full server backup just in case and started checking if anything had crashed, found nothing wrong. Uploaded the old 2.8.13 script which I knew worked for months with no issues, again same issue. That strongly suggested it wasn’t Timbthumb to blame.
Checked the error log file (where I should have first looked) and found a bunch of errors:
[Mon Jul 21 19:17:20 2014] [warn] [client IP] mod_fcgid: ######: PHP Warning: file_put_contents() [<a href='function.file-put-contents'>function.file-put-contents</a>]: Only 0 of 40 bytes written, possibly out of free disk space in /home/######/public_html/wp-content/themes/stallion-responsive-child/timthumb.php on line 806, referer: https://stallion-theme.co.uk/responsive/adsense-wordpress-themes/
Hmm, out of disk space, don’t think so there’s loads of free room on the SERVER.
Now I set my domains to have unlimited disk space so this sort of thing (running out of disk space) doesn’t happen, would appear when I set this server up with Virtualmin I forgot to change the disk space allocation from 1GB to unlimited. Oops.
After changing the setting to unlimited and again deleting the cached Timthumb thumbnail images everything is working again.
That’s how to waste an hour tracking down a self inflicted error :-)
Better go check all the other domains on the server and set them all to unlimited disk space.
David
More Comments by SEO Dave
Online Technical Support
Display Widgets Plugin v4.0.0 Security Update
I’ve released a Free Security Update/Upgrade of the Display Widgets Plugin which is called v4.0.0 and is malicious code free and extends the widget logic features.
I’ll be supporting the new version with new future updates: it’s not going in the …
Continue Reading Online Tech Support
Online Technical Support
WordPress SEO Plugin Support
I develop a WordPress SEO theme (Stallion Responsive) and four WordPress plugins:
Stallion WordPress SEO Plugin
Display Widgets SEO Plus Plugin
WordPress SEO Comments Plugin
WordPress Comment Titles SEO Plugin
Which plugin are you using including version number?
How does it slow your site down (backend: …
Continue Reading Online Tech Support
Online Technical Support
Stallion SEO Plugin Canonical to Blog Archive Rather than Home
Glad you’ve found the Stallion SEO Plugin useful.
Funnily enough the reason for commenting out the code (which works fine for what you want) was I thought it was confusing keeping it in without another option explaining the difference between Home …
Continue Reading Online Tech Support
Online Technical Support
Google Webmaster Tools Duplicate Title Tags Due to Yoast WordPress SEO
There’s an article on the site about Duplicate Title Tags and there’s a comment specific to the Yoast WordPress SEO plugin overriding the WordPress SEO Comments plugin title tags : Wrong Yoast SEO Title Tags.
The WordPress SEO Comments Plugin creates …
Continue Reading Online Tech Support
Online Technical Support
W3 Total Cache Plugin Version 0.9.5 PHP Fatal Error
To upgrade from an older version of Stallion Responsive to the latest version should be a simple case of going to your WordPress Dashboard, hoverover the Dashboard link on the left menu, click Updates. Under themes there should be a …
Continue Reading Online Tech Support
Online Technical Support
Google Large Ads Above the Fold on Mobile Fix
I’m aware of the “Large ads above the fold on mobile” issue with Stallion Responsive, it was fixed in a Stallion Responsive update.
Upgrade from Stallion Responsive 8.2.1 to Stallion Responsive 8.4 and the issue will be resolved. You should see …
Continue Reading Online Tech Support
Online Technical Support
Duplicate Yoast SEO Plugin Open Graph Meta Tags
Had a quick look at your site (home page and a WordPress Post) and you don’t have duplicate meta description tags, you have duplicate OG (Open Graph) meta tags.
You have the Yoast SEO OG tags and another smaller set of …
Continue Reading Online Tech Support
Online Technical Support
Stallion 6 vs Stallion Responsive 8
Stallion version 6 is way out of date and lacks mobile responsive design which is now part of the Googles algorythm.
Stallion Responsive version 8 includes a lot of new features (including mobile responsive design), so you are missing out on …
Continue Reading Online Tech Support
Online Technical Support
Hard to Get a Large Site Fully Indexed in Google
It used to be a lot easier to get large sites fully indexed in Google, but now it takes a lot more SEO effort: basically more high quality backlinks.
The recipe site was partially automated, used some recipe databases to pull …
Continue Reading Online Tech Support
Online Technical Support
Silo SEO Using WordPress Categories
If it’s a website with thousands of WordPress posts rather than pages (static pages), spread over a fair number categories based on theme (the categories are the silos) then the Stallion Responsive built in silo SEO features will work REALLY …
Continue Reading Online Tech Support
Online Technical Support
Stallion Responsive Email Updates
Regarding technical support it’s always via comments on this site unless the information can’t be made public: if it has to be private support there’s contact details on the main Stallion options page (I ignore support requests sent by email …
Continue Reading Online Tech Support
Online Technical Support
PHP 7 WordPress Theme Compatibility
I don’t have a server running PHP 7 yet, so can’t be sure. Got to find the time to setup a Wamp server or XAMPP server running PHP 7 for testing.
WordPress core has been testing under the PHP 7 environment …
Continue Reading Online Tech Support