|
#1
|
|||
|
|||
|
Error while cropping photos
The following message appears after I try to crop a photo on the Edit Image page:
Code:
Warning: touch() [function.touch]: Utime failed: Permission denied in /home/glg4186/public_html/gallery/includes/12cropimageinc.php on line 161 Warning: imagejpeg() [function.imagejpeg]: Unable to open '../thumbnails/thumb_DSCN1002.jpg' for writing in /home/glg4186/public_html/gallery/includes/12cropimageinc.php on line 162 Warning: chmod() [function.chmod]: Operation not permitted in /home/glg4186/public_html/gallery/includes/12cropimageinc.php on line 164 Warning: Cannot modify header information - headers already sent by (output started at /home/glg4186/public_html/gallery/includes/12cropimageinc.php:161) in /home/glg4186/public_html/gallery/includes/12cropimageinc.php on line 49 |
|
#2
|
|||
|
|||
|
Please post your information on the "general info" page of your admin for more info.
|
|
#3
|
|||
|
|||
|
Host Information
URL http://www.stars-collide.com/gallery/admin/index.php PHP-version 4.4.3 (Pixelpost's min requirement: PHP version: 4.3.0 ) MySQL version 4.1.21-standard (Pixelpost's min requirement: MySQL: 3.23.58 ) GD-lib bundled (2.0.28 compatible) with JPEG support File Uploads to pixelpost site are possible. Server Software Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b EXIF Pixelpost is using exifer v1.5 for EXIF-information. Paths Guessed imagepath: /home/glg4186/public_html/gallery/images/ Configured Imagepath: ../images/ Image Directory: OK - Can we write to the directory? YES. CHMOD: 0777 Thumbnails Directory: OK - Can we write to the directory? YES. CHMOD: 0777 Language Directory: OK Addons Directory: OK Includes Directory: OK Templates Directory: OK |
|
#4
|
||||
|
||||
|
Did you upload the photo first or was it there earlier? My first thought is that the error seems related to file permissions.
If that's not the case safe_mode could be activated. This is really an annoying setting which makes it hard for a script to touch files owned by another owner. |
|
#5
|
|||
|
|||
|
I uploaded a load of photos and batch added them. I cropped half of that batch, but all of a sudden that message appeared and wouldn't let me crop anymore.
How would safe_mode be deactivated? |
|
#6
|
||||
|
||||
|
Safe_mode can be disabled by your hosting company. Please contact them and ask them if it is enabled.
If not, we have to look for another solution. |
|
#7
|
|||
|
|||
|
if it was enabled, surely I'd be having problems with other things I have installed? I'll ask though.
|
|
#8
|
||||
|
||||
|
Gemma, you can see this in a good FTP client. Please look at the user for the PHP files and the user for the images.
These are probably different. |
|
#9
|
|||
|
|||
|
My host replied with:
Be informed that php safe_mode is off in server setting. However, you can try to override it by adding the line "safe_mode = On" in the php.ini file of your account. Looks like it's something else. |
| Post Reply |
| Thread Tools | |
|
|