View Full Version : Error when re sizing thumbnails
Danyarnos
06-13-2006, 12:17 PM
Hi All,
When I try to regenerate my thumbs to a larger size I get this error repeated
Warning: touch(): Utime failed: Operation not permitted in /home/fhlinux190/a/aidemedia.co.uk/user/htdocs/photoblog/includes/functions.php on line 154
Warning: imagejpeg(): Unable to open '../thumbnails/thumb_20060327074954_dsc_3199.jpg' for writing in /home/fhlinux190/a/aidemedia.co.uk/user/htdocs/photoblog/includes/functions.php on line 155
Warning: chmod(): Operation not permitted in /home/fhlinux190/a/aidemedia.co.uk/user/htdocs/photoblog/includes/functions.php on line 157
any ideas
Cheers
Dan
http://www.aidemedia.co.uk/photoblog
Danyarnos
06-13-2006, 03:07 PM
having done some digging and stuff, I think its a permissions problem. Where, the thumbs folder is chmod 777 but the files are 644 and for some reason the files aren't recognising me as the owner.
So i have posted a support tciket with my hosts to see if they can change the permissions for me, and also I have changed the script that creates the thumbs so it sets them to 777 rather than 644.
Is this a bad idea or not????
Regards
Dan
Connie
06-13-2006, 03:19 PM
you should not hack the scripts.
every further upgrade will bring problems
but before we can give you more help or suggestions, we should know which system configuration you run
there is a difference between MS Server and Apache Servers...
so give us the info which you find at admin/general info
Danyarnos
06-13-2006, 03:48 PM
Host Information
URL http://www.aidemedia.co.uk/photoblog/admin/index.php
PHP-version 4.4.1 (Pixelpost's min requirement: PHP version: 4.3.0 )
MySQL version 4.1.15-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.33
EXIF Pixelpost is using exifer v1.5 for EXIF-information.
Paths
Guessed imagepath: /home/fhlinux190/a/aidemedia.co.uk/user/htdocs/photoblog/images/
Configured Imagepath: /home/fhlinux190/a/aidemedia.co.uk/user/htdocs/photoblog/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
Connie
06-13-2006, 08:23 PM
did you try to set the imagepath
../images/
? check this out please
Danyarnos
06-15-2006, 08:59 AM
I've put it as '../images/' as suggested, my error has changed slightly, it keeps repeating this now.
Warning: touch(): Utime failed: Operation not permitted in /home/fhlinux190/a/aidemedia.co.uk/user/htdocs/photoblog/includes/functions.php on line 154
Warning: chmod(): Operation not permitted in /home/fhlinux190/a/aidemedia.co.uk/user/htdocs/photoblog/includes/functions.php on line 157
Danyarnos
06-15-2006, 09:02 AM
actually right at the end this came up.
Fatal error: Maximum execution time of 30 seconds exceeded in /home/fhlinux190/a/aidemedia.co.uk/user/htdocs/photoblog/includes/functions.php on line 135
Connie
06-15-2006, 09:32 AM
as a system default, the time for uploads mostly is restricted to 30 seconds at most servers
Fatal error: Maximum execution time of 30 seconds exceeded in /ho
you see? Your server is too slow to run the operation (Resizing of thumbs) in that time
you have some chances:
- wait until Internet is not so busy and try again
- ask your hoster to set the server to a higher "execution time" period
Danyarnos
06-16-2006, 08:08 AM
that would sense if the only error was that, (which does probably need changing) but like i've said I've looked at the ownership of the files and I've managed to chmod alot of them to 777, and those ones are convertable. Theres about ten files since I upgraded that are not. This is because when i try to change them to 777, it isn;t recognising me as the owner of the files.
anyway, i'm trying to get my service provider to xhange the files so they are 777, then i should be alright.
Thanks for the help.
Dan
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.