hi
i have views 3 alpha3 installed after updating filefield and imagefield i cause now the bug thats in my views for the attributes are only showing a "a" this cause only in the views the imagefield in the node show korrekt.
sry for my english
here a link in the views...and iam not loosing the link to the node!
<a href="example.com" class="imagefield imagefield-nodelink imagefield-field_x"><img class="imagefield imagefield-field_x" title="a" alt="a" src="xx.gif?1277636263" height="a" width="a"></a>
the link in a node
<img class="imagefield imagefield-field_x" title="korrekt title" alt="korrekt alt" src="x.gif?1277636263" height="31" width="88">
thanks
Comments
Comment #1
quicksketchCould you try the patch in #841212: warning: array_merge() [function.array-merge]: Argument #1 is not an array in..../filefield_field.inc on line 292.?
Comment #2
MadOverlord commentedI am also having this problem on views-generated images. Title and Alt are both "a".
I have tried the patch you suggested and it has no effect. I am using the latest production views and field/imagefield.
My update today was, shall we say, a little fraught.
I was accumulating updates on my offline copy of the site with no problems, and froze things last night before doing the live-site install this morning (installing -3.5 as it happens, because I didn't get an alert about -3.6).
When I did the install on the live site and ran update.php, I got a lot of red-box warnings, and all the views-generated images on the site were gone, with views telling me the handler was broken. Egad. Lucky for me I backed up the site and database before doing the update (35 years in this biz has made me understandably paranoid). Found the filefield -3.6 update, installed it, then reloaded the database and ran update.php again with fingers and toes crossed. Whew. My images were back.
Then I moused over and got the "a" popup. I have imagefield -3.6 on the offline copy (-3.3 on the live); both exhibit the same behavior.
Images that are not generated by views (ie: by the ads module) do not suffer from this issue.
One other data point: I am running Drupal 6.16, not 6.17.
Comment #3
quicksketchI updated the patch in #841212: warning: array_merge() [function.array-merge]: Argument #1 is not an array in..../filefield_field.inc on line 292. again, please try out the latest suggestion. Thanks!
Comment #4
eule commentedthanks fix seems working for me.. and what is the best choice for an editor?
Comment #5
quicksketchMoving to postponed until #841212: warning: array_merge() [function.array-merge]: Argument #1 is not an array in..../filefield_field.inc on line 292. is committed. This issue is just a different effect of the same problem.
Comment #6
MadOverlord commentedConfirming, fix works.
Comment #7
MadOverlord commentedAh, spoke a little too soon.
Everything on the local, offline version of my site works.
But on the online version, after updating and running update.php, all the views-sourced images went poof, just like my report in #2 -- broken handler.
But after I re-uploaded the database (my backup-fu is strong) without running update.php, the images are back.
This despite the fact that update.php isn't running any updates really.
So I have to figure some sort of database corruption. Any pointers to fixes?
Comment #8
quicksketchThe 3.7 version is now out (of both FileField and ImageField). The most likely problem you're having is that during your update ImageField is getting disabled during your replacement of FileField (see #492166: Imagefield module gets disabled on upgrade, or unexpectedly on running cron). My suggestion is to upload ImageField first (to fix the auto-disabling problem), then upload FileField next. If any users hit your site while FileField is being replaced first, ImageField will disable itself and Views handlers may end up broken.
I'm moving this to fixed now that 3.7 is out, but please continue updating with your progress.
Comment #9
MadOverlord commentedAh, that might explain it.
I just downloaded the live site database, installed it in my local copy, and ran update.php -- and everything looks good.
I will try your suggestion tomorrow. I deserve what I got tonight for breaking the first rule of updating sites - never update after lunch, or on a Friday or weekend.
Is it possible for this gotcha to hit even when the site is in maintenance mode? Yowch!
Comment #10
MadOverlord commentedquicksketch,
Your suggestion worked like a charm. My thanks for your considerate attention to this issue.
And now some google-bait to help the next poor bastard.
Imagefield disabled after update
Images gone after update
Image views broken after update
Filefield Imagefield update order
Comment #11
pauligree commentedi'm that bastard...
:-)
Comment #12
quicksketchSweet, thanks for the updates.