Hello all!

I've been using Drupal for about a month now, and love it. Great engine, and great community!

Enough with the ass-kissing, I've got a problem. I try to access Search Settings to disable Advanced Search, but I get this error:

Fatal error: Cannot use string offset as an array in /home/.zhukov/killerjerseys/killerjerseys.com/includes/form.inc on line 680

... so, I can't access the Settings page.

Now, I'm not a PHP programmer, and have limited knowledge in general coding, excluding HTML (I promise I'll pick up the Drupal Pro Dev book!), so I tried swapping form.inc with a fresh copy -- which didn't work. (I replaced the original afterwards).

Ideas? I have no idea what the heck this means.

Another question, while we're on the subject of searching -- How do I change the output of search results? Since I run a shopping cart (ubercart) I would like to do something among the lines of:

Product name
Product ID
Product Image
Price

Images in search results are pretty crucial to e-commerce, as you could imagine.

Thanks!

Comments

KillerJerseys’s picture

Bump... thread fell into oblivion!

KillerJerseys’s picture

Should I just trash my Drupal Installation?

If I do so, how can I back-up settings? I've spent quite a while tweaking to fit my needs...

VladRM’s picture

Fatal error: Cannot use string offset as an array in \includes\form.inc on line 680

if (isset($form['#disabled']) && $form['#disabled']) {
      $form['#attributes']['disabled'] = 'disabled'; // <- this is the 680 line
}
vitvik’s picture

Hi,

Subj, when I try to add filter with Container ID or Category ID in Views I've got this error...
Help!

tseven’s picture

Try disabling the scanner module if you have that enabled. That worked for me when I was getting the same error.

Most likely it is a module which is causing the problem. Systematically disable them until your site works again. :)

Jeff Burnz’s picture

this is a good first step. esp if you have any other search modules that might modify the search settings page - Search Config module comes to mind...