I upgraded to the latest release Beta3 from Alpha5 and everything suddenly ceased to function. Not really everything, but everything related to the images. All views were -apparently- broken. After going into the Views administration and attempting to update them all, I continue to see this error and a specific lack of images:
user warning: Unknown column 'weight' in 'order clause' query: SELECT nid, iid FROM image_attach WHERE nid IN...
It goes on, but I believe that is all that is relevant. This error is thrown anywhere I try to display an image, even in the Views preview after updating the field to remove the broken handler. This error and no images... anywhere.
Additionally, immediately after installing the update I began receiving javascript errors left and right informing that this and that javascript file did not exist, mostly in the administration pages. The Admin > Site Building > Modules page also experienced a conniption which spat out a list of 30 to 40 javascipt files it could not locate and a couple dozen SQL errors. While I realize this may not directly relate to the Image module, the site as a whole has been functioning flawlessly for months until I made this (and only this) change. I thought I would throw it out there in case someone has some idea what is up. It would seem that I somehow managed a slew of errors coinciding with the Image module update, or that the update perhaps tipped the balance and sent everything flying. I don't know and the errors are nonsensical (javascript files named [letter][20 integers][10 random letters][some more int's]) and SQL tables from sporadic sources (modules).
Thank you for your attention.
Comments
Comment #1
joachim commentedHave you run update.php?
Also, clear your views cache.
Comment #2
doven1 commentedYes, yes... I feel like an idiot but I just remembered the update script a few minutes ago and that resolved nearly everything. I did, also, clear the cache.
Everything is resolved with one small problem. There is still a javascript causing a problem on the modules page. Everything functions correctly, but I get the dropdown informing me that a javascript is causing some ruckus and asking me if I would like to stop it. I do... and all is well, so not a major issue, but a bit annoying.
Thank you for the suggestion despite my forgetfulness. (Going on just under 2 months with Drupal here so some of those things still slip my mind.)
Comment #3
joachim commentedHeh, it happens to us all :)
No idea about your JS. If it's the 'unresponsive script' one, I've been getting that for ages with Drupal core.
Closing as fixed.
Comment #4
OldAccount commentedHad the same problem -- I'm only a few months into using Drupal and forgot to run update.php as well.