Closed (duplicate)
Project:
ImageAPI
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 May 2010 at 22:24 UTC
Updated:
27 Aug 2012 at 13:17 UTC
Jump to comment: Most recent file
Comments
Comment #1
sistro commentedSame problem happens to me too!
Comment #2
xecstasyx commentedsame here!
any ideas?
Comment #3
xecstasyx commentedI found out that the the imageapi_gd_image_overlay() function is found at imagecache-actions module (imagecache_actions/imagecache_canvasactions.module) so maybe this error could be related to that module...
Comment #4
walker2238 commentedExperiencing this as well
Comment #5
sistro commentedIt's seems to be a php5.3 problem.
Try out with php 5.2, I solved.
Comment #6
orkaan commentedHave the same with 6.x-2.0 on Debian and PHP 5.3.2-1.
Please help to get worked.
Comment #7
orkaan commentedHelped this one: http://drupal.org/node/648950#comment-2356572
Comment #8
cookiesunshinex commentedI've read the thread in the imagecache-actions module and it's hard to determine exactly what is the fix for this.
Any further thoughts on this?
Comment #9
orkaan commentedTry to replace a definition of funtion that way, cookiesunshinex:
Comment #10
xecstasyx commentedit works. Thanks!
Comment #11
alvinlb commentedOrkaan, thank you!!!!!
Comment #12
anouThanks again :-) !
Comment #13
grendzy commented#648950: Error with PHP 5.3
Comment #14
ghinix commentedThank you, Orkaan! and other contributors.
#9 worked, awesome!
Comment #15
protoplasm commenteda. Local development server is php 5.3 -->errors with broken image uploading identical to that mentioned here.
b. Production server is php 5.2.14-->no image upload errors
#9 fixed a. errors.
Thank you so much.
Comment #16
amitavroy commentedthanks man
it worked :)
Comment #17
deadjohn commentedThanks A lot! I spent so much time searching for a solution!
Comment #18
mbria commentedThanks a lot for sharing.
It also worked in my site.
Comment #19
beatnikdude commentedMe: Ubuntu 10.04: PHP 5.3.2: Drupal 6.20: ImageCache 6.x-2.0-beta10
#9 did the trick. Lets commit this patch!
Comment #20
cookiesunshinex commented@BeatnikDude, I agree.
This issue has been around for a while now.
Comment #21
ThePixelMines commentedI couldn't find it mentioned in here, but (for those of you who don't know), #9 is referring to imagecache_canvasactions.module found in the imagecache_actions module.
It worked for me, too. One tiny &.
Comment #22
tche082 commented#9 wouldn't work if you are using imagemagik as your toolkit. Here is a patch to fix both gd and imagemagik.
Comment #23
tche082 commentedReopening for issue not fixed.
Comment #24
grendzy commentedtche082: This is the issue queue for Drupal core. Your patch pertains to the imagecache_actions module. A fix is in progress at #1153518: Overlay (watermark) fails on PHP 5.3 due to pass-by-reference error.
Comment #25
gansbrest commentedHere is another solution to this problem: http://drupal.org/node/540486#comment-5334254
Maybe will be useful for someone.
Comment #26
prakashrajavel commentedi m tried your Patch and code as per your instruction but not working. is there another solution for it to solve this issue.