Hi
I recently upgraded and everything seems to be working fine with two exceptions.
In the media section of the admin pages the 'Media library', 'manage Directories' and 'Rebuild Thumbs' pages all show errors.
In the 'Media library', 'manage Directories' pages the error is
Warning: fclose(): supplied resource is not a valid File-Handle resource in /the/correct/path/to/include/functions_images.inc.php on line 1205
on the 'Rebuild Thumbs' page the errors are
Warning: imagecreatetruecolor(): requires GD 2.0 or later in /the/correct/path/to/include/functions_images.inc.php on line 820
Warning: imagecopyresampled(): requires GD 2.0 or later in /the/correct/path/to/include/functions_images.inc.php on line 828
Warning: imagejpeg(): supplied argument is not a valid Image resource in /the/correct/path/to/include/functions_images.inc.php on line 829
Resize subcat/1591392101.jpg: 73x110
Wanted to use asubcat/1591392101.jpg as its own thumbnail, but failed to copy!
Any help appriciated.
regards
Kev Polley
Warning: fclose(): supplied resource is not a valid File....
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Warning: fclose(): supplied resource is not a valid File
This means your host does not support GDLib 2.0, but either GDLib2.0 or ImageMagick is required by Serendipity for the image manager to work properly.
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi Garvin,
I've installed IM and I can now see the images in the folders and manipulate them.
However I still have the following error msg above the images on the 'media library' and 'manage directory' pages.
Warning: fclose(): supplied resource is not a valid File-Handle resource in /absolute/path/to/include/functions_images.inc.php on line 1205
Any further ideas?
warmest
Kev Polley
I've installed IM and I can now see the images in the folders and manipulate them.
However I still have the following error msg above the images on the 'media library' and 'manage directory' pages.
Warning: fclose(): supplied resource is not a valid File-Handle resource in /absolute/path/to/include/functions_images.inc.php on line 1205
Any further ideas?
warmest
Kev Polley
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hm, are you sure you entered the proper path to imagemagick in s9y configuration, and the execution of external files in your PHP setup is possible?
Did you check for proper read/writepermissions of your upload folder and the files within?
Regards,
Garvin
Did you check for proper read/writepermissions of your upload folder and the files within?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
John Schuler
closedir(), not fclose()
The problem is the fclose(). It should instead be a closedir() at line 1205; this is what the PHP documentation specifies, and it also works (at least on my Redhat 8.0 system).
-
Guest
Re: closedir(), not fclose()
You're quite right John, and they still haven't fixed it as of 15 Jul 05...John Schuler wrote:The problem is the fclose(). It should instead be a closedir() at line 1205; this is what the PHP documentation specifies, and it also works (at least on my Redhat 8.0 system).
Raz
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: closedir(), not fclose()
We've fixed this in the 0.9 alpha releases, and it is fixed in our current 0.8 SVN branch. 0.8.3 is due to be released this weekend which also contains the fix.
Really sorry for the bug!
Regards,
Garvin
Really sorry for the bug!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/