Warning: imagejpeg() [function.imagejpeg]
-
Hi,
I have a question. After moving my old WordPress network to a new domainname, most pictures on my subdomains stoped working. Does somebody have experience with this?
For example see the featured slider: http://thema1.wpwebsitebouwen.nl/
Or news on: http://thema2.wpwebsitebouwen.nl/category/nieuws/I also get the following error in the picture placeholders, where the picture should show:
Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/home/username/domains/wpwebsitebouwen.nl/public_html/wp-content/blogs.dir/8/files/et_temp/5040311921_f20b3122e0_b1-10915_800x447.jpg’ for writing: Permission denied in /home/username/domains/wpwebsitebouwen.nl/public_html/wp-includes/media.php on line 467
The strange thing for me is: that the mentioned picture with “_800x447” in the name doesn’t exist (also didn’t exist on the old domain name). The picture 5040311921_f20b3122e0_b1-10915 does excist but with for example “_207x136”.
Also I’ve followed the moving guidelines from wordpress.
Your help would be apreciated a lot! Thanks!
-
Also I’ve followed the moving guidelines from wordpress.
Which ones? 🙂
🙂 The guidelines you gave somebody else in another blog post.. (thanks by the way!) but I can’t find the blogpost I used anymore..
Anyway, what I did:
* Copied all files to the other server
* Backed up the database and imported the database into a new database on the new server.
* Turned on Wildcard DNS on the new server
* Since the domainname also changed, I used the program you refered to from http://interconnectit.com/ to do a serialized find and replace.Everything works fine on the main website of the wordpress network, even the pictures.
But as mentioned not on the subdomains..
I realy hope you can help me..
Okay, step one: Did all the files get set with the right permissions? 🙂
Okay, step one: Did all the files get set with the right permissions? 🙂
Well, I didn’t change anything myself.. just copied the files. Is there a specific guideline that I could follow to check if the permissions are set correct on the new server?
Thanks Ipstenu!
Per accident I discovered the solution myself!
My webhost is running PHP 5.2 and this is giving me various permission errors recently on my website. Especially when making use of auto-updates such as updates of themes or core-updates.
But when I pasted this code in my .htaccess file:
<FilesMatch "\.php$"> AddHandler x-httpd-php53 .php </FilesMatch>I basically told my server to use PHP 5.3 instead of 5.2. This solved all right related issues I was facing. Also the issue mentioned in this post.
So this was my solution!
The topic ‘Warning: imagejpeg() [function.imagejpeg]’ is closed to new replies.