Just re-tried with http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble done and I'm told "The file you have uploaded is not a valid image ! File: /home/bahr4com/public_html/gallery/db_input.php - Line: 370".
To make sure there wasn't a problem with the file I'd been using to test I downloaded a picture from within the gallery & tried that with the same result.
Rgds
Richard
You'll need to contact your host. getimagesize() is returning null for valid images for some reason. They should try an update to PHP 5.2.4
Quote from: Nibbler on September 11, 2007, 01:16:45 AM
You'll need to contact your host. getimagesize() is returning null for valid images for some reason. They should try an update to PHP 5.2.4
Nibbler,
Many thanks for the info.
I contacted the host & mentioned the above. I'm not entirely sure what was done but that problem has been replaced by another. When trying to upload a file it fails with the error message
"The file 'albums/userpics/10002/Discovery2~1.JPG' can't be inserted in the album
Unable to create thumbnail or reduced size image.
File: /home/bahr4com/public_html/gallery/db_input.php - Line: 402"
I've emailed a link to this message to the hosting company. In the meantime I wondered if you (or anyone else!!) was able to suggest where the problem lies or (hopefully!) a fix?
I know its not covered by this forum but I've recently found a problem with attaching pictures to forum messages (using pthirik (?) attach mod) (non-image files are ok) where phpbb reports the errors as;
"Warning: passthru() has been disabled for security reasons in /home/bahr4com/public_html/attach_mod/includes/functions_thumbs.php on line 166
Warning: Cannot modify header information - headers already sent by (output started at /home/bahr4com/public_html/attach_mod/includes/functions_thumbs.php:166) in /home/bahr4com/public_html/includes/page_header.php on line 564
Warning: Cannot modify header information - headers already sent by (output started at /home/bahr4com/public_html/attach_mod/includes/functions_thumbs.php:166) in /home/bahr4com/public_html/includes/page_header.php on line 566
Warning: Cannot modify header information - headers already sent by (output started at /home/bahr4com/public_html/attach_mod/includes/functions_thumbs.php:166) in /home/bahr4com/public_html/includes/page_header.php on line 567"
As I say, I know thats not a coppermine problem but as it's likely to be caused by the same thing might it help track down the problem?
Hopefully the hosts support staff will post any further useful info..
PS, I made -no- changes to the forum or gallery (apart from enabling single uploads & debug!) since it was last known to be working correctly.
PPS, I'm sorry if this has been covered elsewhere but the connection here is so bad at the moment its taking ages to search through previous messages.
Rgds & again, many thanks
Richard
Are you trying to use ImageMagick? Try GD instead. In Coppermine's config, set "Method for resizing images (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_picture_thumb_advanced_resize_method)" to "GD2" and try again.