Closed (fixed)
Project:
Image
Version:
6.x-1.x-dev
Component:
image.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2006 at 18:10 UTC
Updated:
18 Apr 2006 at 11:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
RayZ commentedTry this.
Comment #2
Patrick Nelson commentedNice one, Rayz - that fixed it.
Regards
Patrick
Comment #3
walkah commentedcommitted. thanks!
Comment #4
zom commentedI have the same error on the 4.6RC1 with last cvs image version ( happends suddenly, as worked for a while before the error appears)
Could you detail where to insert the code ?
Comment #5
Patrick Nelson commentedYou insert the code in the image.module itself.
Look at the patch and the lines with the '-' sign at the beginning. Those are the lines that you need to remove from image.module.
This line:
@@ -162,13 +162,6 @@ function image_cron() {gives you an idea of the line numbers in image.module where those other lines will be but it's not always 100% accurate depending on what editor you're using. Either way, you can always search for the text so, for the line:
-function image_validate($node) {you would search for
function image_validate($node) {(i.e., without the '-' sign)
Find it and delete the line. Do the same for every line that is listed in the patch with the '-' sign next to it.
That's it. That's all you need to do.
Comment #6
Patrick Nelson commentedPS - Probably worth noting that the whole "insert the code" thing is a bit of a misnomer in the case of this particular patch as there is no code to insert, only code to remove.
Comment #7
(not verified) commented