TimThumb images not showing - On inspection error is shown - wordpress

Wondering if you can help me. I have installed a theme that comes with TimThumb.
However when I set the featured image, and view the blog, the images doesn't load, when I right click and click view image in a new tab I get the following error message:
A TimThumb error has occured
The following error(s) occured:
Could note create the index.html file.
Could note create cache clean timestamp file.
Query String : src=http://demo.webempire.net.au/shi/wordpress/wp-content/uploads/2012/01/menora2_kitchen011.jpg&w=144&h=94
TimThumb version : 2.8.3
Any suggestions/help would be appreciated.

I ran into this issue.
define ('FILE_CACHE_DIRECTORY', '');
was set in timthumb-config.php . This gave me these errors:
touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Permission denied in timthumb/timthumb.php on line 469
in timthumb/error-log.
Commenting out the line in timthumb-config.php set timthumb.php to use ./cache as the cache folder instead of the system tmp folder, and fixed avoided the permission issues.
The problem was that another user already had a timthumb_cacheLastCleanTime.touch in /tmp

Wiping didn't work but changing the permissions to 777 did. Via filezilla.

Related

wordpress Parse error: syntax error, unexpected end of file

i just moved wordpress from hosting server to my local machine. but got an error like this
Parse error: syntax error, unexpected end of file in /opt/lampp/htdocs/wp/wp-admin/includes/class-wp-list-table.php on line 1190
How to solved
It means that the file is incomplete/broken. You did not move the full file but just part of it. You can fix it by either downloading the file from hosting server again (just that one) or by downloading wordpress from wordpress.org and copy that file.
Pls check the file:class-wp-list-table.php on line 1190,
Probably you have modified it, So just delete what you added in Line 1190, then try again!

Wordpress 404 error file path is incorrect

i am getting errors of file. When i look into console there path is generating as
http://test.astech-us.com/tupperco/tupperco/tupperco/wp-content/plugins/revslider/admin/assets/css/tipsy.css?ver=5.2.5
Project name is coming three times. i had updated plugins still getting this error files are not loading
Please guide
Thanks
/tupperco/tupperco/tupperco/ is your problem

Wordpress Images upload error "Failed to write file to disk."

I am having following error:
Failed to write file to disk.
When trying to add featured image or add media, image progress bar completes with error and no image is uploading.
Have changed permission of uploads directory to: 777
but no luck.
There are three common causes :
upload directory permissions - not the case here
the server's hard drive is full / your quota has been exceeded
the server's tmp folder is full
references :
How to Fix "Upload:Failed to Write File to Disk" Error in WordPress
WordPress Error : Failed to write file to disk - InMotion Hosting

Symfony 2 Missing File Error When They're Not

I got my Symfony 2.3 project working through app.php in development. I then did a complete copy to my shared host sever (goDaddy). So far, all I get are blank pages. I've been working my way through the errors. My lastest execution generates 100+ errors in the php log of this type:
[09-Jul-2013 12:52:56 America/Los_Angeles] PHP Warning: file_get_contents(/Volumes/Data RAID/htdocs/Symfony/src/Zetcho/AmColAnBundle/Resources/views/User/userSubNav.html.twig) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in /home/content/.../Symfony/vendor/symfony/symfony/src/Symfony/Component/Templating/Storage/FileStorage.php on line 32
Then I get one of theses
[09-Jul-2013 12:52:56 America/Los_Angeles] PHP Warning: file_get_contents(/Volumes/Data RAID/htdocs/Symfony/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/exception_full.html.twig) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in /home/content/.../Symfony/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 127
The ellipses are mine. I verified that the file that both files were was at the locations specified and that I could read it. The permissions on the files are 644. Could this be a permission problem? If so, what should they be set to?
Update: I set the permissions to 755 and got the same errors.
Update 2: I just noticed that the error is giving my development server directory path. Now I just have to figure out where to change it.
Update 3: It appears to be the cache. There is not command access to a goDaddy shared server that I know of so I just deleted all the files in app/cache/prod. I now get my html, but no css. I use Assetic for images and css. I get the images.
Update 4: When I clicked on a link, the next page used the css file. When I went back to the first page, it used it as well. As I check out the pages, some of the images are missing. Could this be because the cache wasn't rebuilt correctly or completely?
Update 5: Fixed the last problem with missing images. There was a case mismatch between the reference and the image. I think I'm good now.

TimThumb error: Could not get a lock for writing

I am using a nivo slider for a wordpress theme... just out of the blues the slider broke. You can see it here www.habitude.ca
When i copy the img url to the browser I get the following error.
A TimThumb error has occured
The following error(s) occured:
Could not get a lock for writing.
Query String : src=http://habitude.ca/wp-content/uploads/2012/07/rock_bottom1.jpg&h=316&w=980
TimThumb version : 2.8
Any help would be greatly appreciated.
This error means some sort of directory permissions issue on the cache directory so make sure your php script can write to the cache directory.

Resources