Closed (fixed)
Project:
User Referral
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 04:58 UTC
Updated:
29 Oct 2008 at 17:41 UTC
You're trying to pass an array to the db_escape_string function that begings on line 319 of database.mysql.inc. I'm not sure what you're trying to squeeze from this turnip but I haven't looked at your code. I did however have to patch my drupal file to serialize and deserialize the return value.
Here is the array that it tried to pass as $text to db_escape_string().
Array ( [0] => use referral ) Array ( [0] => administer referral ) Array ( [0] => administer referral ) Array ( [0] => administer site configuration ) Array ( [0] => administer referral ) Array ( [0] => administer referral ) Array ( [0] => administer referral ) Array ( [0] => administer referral )
Comments
Comment #1
kbahey commentedI committed a fix for this, it had to do with the access arguments vs. access callback.
Wait for 12 hours, then download the new tarball, then clear the cache (bottom of admin/settings/performance) then try again.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.