Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-05-11 12:52:35

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Error uploading images ... !?

I’m working local (MAMP) and using smd_thumbnails. Gave /images and inside folders (smd_thumbnails) 777 permissions.

I get this error message:

Interne fout "imagejpeg(/Users/Jochem/Websites/centrummeeuwenveen.nl.dev/images/48t.jpg): failed to open stream: Permission denied"
in /Users/Jochem/Websites/centrummeeuwenveen.nl.dev/textpattern/lib/class.thumb.php at line 277.
adminErrorHandler()
textpattern/lib/class.thumb.php:277 imagejpeg()
textpattern/lib/txplib_misc.php(812) : eval()'d code:279 wet_thumb->write()
textpattern/lib/txplib_misc.php(812) : eval()'d code:324 smd_thumb->write_image()
textpattern/lib/txplib_misc.php(812) : eval()'d code:220 smd_thumb_make()

I’m using Textpattern versie: 4.5.7 (r5900) with PHP versie: 5.6.7

Never had problems locally with same setup on several other sites … !?

[edit]
On remote server everything is fine … Textpattern versie: 4.5.7 (r5900) with PHP versie: 5.3.29

Last edited by RedFox (2015-05-11 13:35:56)

Offline

#2 2015-05-11 13:41:11

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Error uploading images ... !?

It says permission denied… so who owns and what are the permissions of the image file and the directory it is in?

Offline

#3 2015-05-11 14:11:45

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: Error uploading images ... !?

ruud wrote #290647:

It says permission denied… so who owns and what are the permissions of the image file and the directory it is in?

I’m using Transmit to give new permissions on /images with applying enclosed files turned on … but only images/48t.jpg didn’t get the right perms … !? … very strange. Nevertheless … the error message was clear enough. Thanks Ruud.

Offline

Board footer

Powered by FluxBB