Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
warning: Parameter 2 to imageapi_gd_image_overlay() expected to be a reference, value given in C:\xampplite\htdocs\root\sites\all\modules\imageapi\imageapi.module on line 166.
please help for mistake
Comment | File | Size | Author |
---|---|---|---|
#22 | imagecache_canvasactions.patch | 1.54 KB | tche082 |
Comments
Comment #1
sistro CreditAttribution: sistro commentedSame problem happens to me too!
Comment #2
xecstasyx CreditAttribution: xecstasyx commentedsame here!
any ideas?
Comment #3
xecstasyx CreditAttribution: 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 CreditAttribution: walker2238 commentedExperiencing this as well
Comment #5
sistro CreditAttribution: sistro commentedIt's seems to be a php5.3 problem.
Try out with php 5.2, I solved.
Comment #6
orkaan CreditAttribution: 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 CreditAttribution: orkaan commentedHelped this one: http://drupal.org/node/648950#comment-2356572
Comment #8
cookiesunshinex CreditAttribution: 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 CreditAttribution: orkaan commentedTry to replace a definition of funtion that way, cookiesunshinex:
Comment #10
xecstasyx CreditAttribution: xecstasyx commentedit works. Thanks!
Comment #11
alvinlb CreditAttribution: alvinlb commentedOrkaan, thank you!!!!!
Comment #12
anouThanks again :-) !
Comment #13
grendzy CreditAttribution: grendzy commented#648950: Error with PHP 5.3
Comment #14
ghinix CreditAttribution: ghinix commentedThank you, Orkaan! and other contributors.
#9 worked, awesome!
Comment #15
protoplasm CreditAttribution: 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 CreditAttribution: amitavroy commentedthanks man
it worked :)
Comment #17
deadjohn CreditAttribution: deadjohn commentedThanks A lot! I spent so much time searching for a solution!
Comment #18
mbria CreditAttribution: mbria commentedThanks a lot for sharing.
It also worked in my site.
Comment #19
BeatnikDude CreditAttribution: 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 CreditAttribution: cookiesunshinex commented@BeatnikDude, I agree.
This issue has been around for a while now.
Comment #21
ThePixelMines CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: tche082 commentedReopening for issue not fixed.
Comment #24
grendzy CreditAttribution: 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 CreditAttribution: gansbrest commentedHere is another solution to this problem: http://drupal.org/node/540486#comment-5334254
Maybe will be useful for someone.
Comment #26
prakashrajavel CreditAttribution: 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.