#2161 - Cannot add images to a gallery
| Identifier | #2161 |
|---|---|
| Issue type | Major issue (breaks an entire feature) |
| Title | Cannot add images to a gallery |
| Status | Closed (no changes needed) |
| Handling member | Chris Graham |
| Addon | General / Uncategorised |
| Description | Hi,
On vwgolfmk1.org.uk I am trying to add some images to a new gallery (AG 2002) The images are coming from a zip download from photobucket. I can unzip and open each of them, I tried to add them via a bulk import but that failed silently. I then tried to add them one by one and managed to get four of them loaded but the fifth and any of the rest resulted in an error. I screen grabbed one of the images and saved it as a new jpg just to rule out a corrupted image error, but the same error occurred. I can see the image uploaded to Cloudinary fine (http://res.cloudinary.com/mk1-golf-owners-club/image/upload/c_limit,w_1024/v1454167199/56acd499a404e_z0t8vl.jpg) I have attached the zip of the images that I am trying to upload. Any idea ? Cheers Ade Here is the stack trace: An error has occurred A file, http://res.cloudinary.com/mk1-golf-owners-club/image/upload/c_limit,w_1024/v1454167461/56acd56017181_t9soju.jpg is either corrupt or a filetype not recognised by this part of the website software (version: 9.0.5, PHP version: 5.5.27, URL: /cms/index.php?page=cms_galleries&type=_ad&redirect=http%3A%2F%2Fvwgolfmk1.org.uk%2Findex.php%3Fpage%3Dgalleries%26type%3Dmisc%26id%3Dag_2002%26keep_fatalistic%3D1&uploading=1&keep_fatalistic=1) You have turned on stack traces for all errors, via having keep_fatalistic=1 in the URL. This means that this may not actually be a fatal error, you have just asked for it to be presented as such (perhaps to help you find where it came from). Here is the stack trace: Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information. We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly. File '/home/vwgolfm/public_html/sources/failure.php' Line '804' Function 'get_html_trace' Args File '/home/vwgolfm/public_html/sources/global.php(206) : eval()\'d code' Line '1,016' Function '_fatal_exit' Args object File '/home/vwgolfm/public_html/sources/failure.php' Line '258' Function 'fatal_exit' Args object File '/home/vwgolfm/public_html/sources/global.php(206) : eval()\'d code' Line '976' Function '_generic_exit' Args object 'WARN_SCREEN' File '/home/vwgolfm/public_html/sources/images.php' Line '593' Function 'warn_exit' Args object File '/home/vwgolfm/public_html/sources/images.php' Line '509' Function '_convert_image' Args 'http://res.cloudinary.com/mk1-golf-owners-club/image/upload/c_limit,w_1024/v1454167461/56acd56017181_t9soju.jpg' '/home/vwgolfm/public_html/uploads/galleries_thumbs/56acd56017181_t9soju.jpg' -1 -1 200 true NULL false false NULL File '/home/vwgolfm/public_html/sources/uploads.php' Line '482' Function 'convert_image' Args 'http://res.cloudinary.com/mk1-golf-owners-club/image/upload/c_limit,w_1024/v1454167461/56acd56017181_t9soju.jpg' '/home/vwgolfm/public_html/uploads/galleries_thumbs/56acd56017181_t9soju.jpg' -1 -1 200 true NULL false false File '/home/vwgolfm/public_html/cms/pages/modules/cms_galleries.php' Line '1,028' Function 'get_url' Args 'url' 'file' 'uploads/galleries' 0 1 true 'thumb_url' 'file2' File '/home/vwgolfm/public_html/sources/aed_module.php' Line '649' Function 'add_actualisation' Class 'Module_cms_galleries' Object Type '->' Args File '/home/vwgolfm/public_html/sources/aed_module.php' Line '209' Function '_ad' Class 'standard_aed_module' Object Type '->' Args File '/home/vwgolfm/public_html/sources/zones.php' Line '425' Function 'run' Class 'standard_aed_module' Object Type '->' Args File '/home/vwgolfm/public_html/sources/site.php' Line '878' Function 'load_module_page' Args 'cms/pages/modules/cms_galleries.php' 'cms_galleries' File '/home/vwgolfm/public_html/sources/site.php' Line '662' Function 'request_page' Args 'cms_galleries' true File '/home/vwgolfm/public_html/cms/index.php' Line '38' Function 'do_site' Args Parameters MAX_FILE_SIZE 134217728 label_for__title Title title require__title 0 label_for__cat Gallery cat ag_2002 require__cat 1 image on require__file 0 hidFileID_file 11550 file 1 require__url 0 comcode__comments 1 label_for__comments Description comments comments_parsed label_for__validated Validated validated 1 tick_on_form__validated 0 require__validated 0 label_for__watermark Watermark watermark 1 tick_on_form__watermark 0 require__watermark 0 label_for__rep_image Representative image tick_on_form__rep_image 0 require__rep_image 0 label_for__allow_rating Allow rating tick_on_form__allow_rating 0 require__allow_rating 0 label_for__allow_comments Allow comments allow_comments 0 require__allow_comments 0 label_for__notes Notes notes pre_f_notes 1 require__notes 0 meta_keywords (array) label_for__meta_keywords (array) require__meta_keywords 0 label_for__meta_description Concise description meta_description require__meta_description 0 http_referer http://vwgolfmk1.org.uk/cms/index.php?page=cms_galleries&type=ad&cat=ag_2002&keep_fatalistic=1&redirect=http%3A%2F%2Fvwgolfmk1.org.uk%2Findex.php%3Fpage%3Dgalleries%26type%3Dmisc%26id%3Dag_2002%26keep_fatalistic%3D1 |
| Steps to reproduce | Go to the AG 2002 gallery and try to add am image |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".
Comments
I have just mass added to an existing gallery and that works fine. Images are added to the server and not cloudinary as expected.
Not sure what it is doing when adding an image one by one - is it supposed to add to Cloudinary ?
Cheers
Ade
Cheers
Ade
I have just applied the same fix (switching to preference of cURL over ocP's own downloader).