Closed (fixed)
Project:
Site verification
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
1 Jul 2010 at 09:18 UTC
Updated:
10 Sep 2010 at 22:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
dave reidCan you please copy/paste the output you're getting? Or link to the website so I can see?
Comment #2
eule commentedhi dave i try the new 7.x-1.0-rc2
if i add the meta tag nothing is visible..cache cleaned
the other think is i try to delete the meta tag under "Operations"
this calls this error
Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in x/sites/all/modules/site_verify/site_verify.admin.inc on line 248 and defined in db_query() (line 2166 of x/includes/database/database.inc).
i upped the meta file and it works
Comment #3
David_Rothstein commentedLooks to me like meta tags aren't getting added to the page at all, due to this code:
The API for this function is different in Drupal 7: http://api.drupal.org/api/function/drupal_add_html_head/7
Comment #4
dave reidConfirmed and on it.
Comment #5
dave reidThanks all for reporting and confirming! This is now fixed in CVS: http://drupal.org/cvs?commit=413190
Comment #6
David_Rothstein commentedOops, I should have assigned this to myself then... I was already working on a patch also :( Didn't think you'd respond so quickly, I guess!
In any case, here it is. Hopefully we didn't duplicate any work.
Comment #7
David_Rothstein commentedHa, almost the same exact patch, oh well :)
Thanks for the incredibly speedy response.
Comment #8
dave reidHeh, we're both quick on the draw. Your patch had some improvements to formatting and the query, so I committed those as well and gave you credit. :)
http://drupal.org/cvs?commit=413194
Comment #9
David_Rothstein commentedCool, thanks. But I just ran CVS up to test it out and I think in the process of merging the two a bug was reintroduced (so now if you have more than one meta tag it doesn't work).
Followup patch attached...
Comment #10
dave reidSigh, and that's what I get for not testing it the second time...
http://drupal.org/cvs?commit=413196