Closed (cannot reproduce)
Project:
Ubercart
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2009 at 00:17 UTC
Updated:
8 Apr 2011 at 14:43 UTC
I have a content type where I have added a cck field (image type). When I initially add images to this node, it works fine. However, if I edit it, and then submit it (even if I do nothing), then I get this error.
I poured out the sql statement to the log, and here is how it showed up
SELECT count() FROM {content_field_image_cache} WHERE = 48
It only happens for the images that were in the file PRIOR to the edit. Any new images seem to work just fine.
Any thoughts where I should look. I am a novice PHP programmer, so can understand lots of the code, but I just don't have a clue why it is doing it. If you nudge me, I might be able to figure it out...
Comments
Comment #1
carsonh commentedSame on my page, below the full message:
Comment #2
mcurry commentedsubscribe
Comment #3
quicksketchSounds like a problem with the field that Ubercart sets up upon installation to me (the "field_image_cache" field). If you can create a new content type and add a FileField to it that has this same problem, move back over to FileField. Most likely you need to update your Ubercart or try reinstalling it.
Comment #4
AlexisWilke commentedThe actual error is generated by this statement. This the content_database_info($field) call fails...
Comment #5
longwaveDoesn't seem to be an Ubercart issue, if this still occurs with latest Filefield and Ubercart please reopen.