I have been having difficulty installing Geshi filter on a D6 site. Had no trouble with a past D7 install, but on D6 the management pages seem to fail. No matter what I enter into the field "Generic syntax highlighting tags:" that field reloads with default "code blockcode". I tried entering "code java".

I find similar issues on the Languages tabs. When I check a language (which I presume is to activate it, there are no labels on the checkboxes!) and press save, the page reloads, and the language is not saved. It seems to be impossible to activate the languages, and the "Enabled" languages tab is always empty.

I am not seeing any errors while using these pages, so no indication that there is a problem. Any idea why these forms would not be able to save data?

Comments

soxofaan’s picture

what version of Drupal are you using?
Can you try with GeSHi filter 6.x-1.x-dev?

goldhat’s picture

I have installed the 6.x-1.x-dev today and after testing find the same issue. Could it be conflicting with WYSIWYG API module or a WYSIWYG install? We have TinyMCE and MarkItUp in use. Not sure how that affects Geshi Filter settings though.

To be specific about the behavior, here are the steps to reproduce the issue:

  • Visit geshifilter/languages, where none are enabled.
  • Visit geshifilter/languages/all and enable Java and enter "java" as the tag value.
  • Visit geshifilter/languages, see Java listed as enabled.
  • Visit geshifilter/ and check settings (but do not submit form).
  • Reload geshifilter/languages. Enabled languages are now disabled!

What I am seeing is that a visit to the main Geshi filter settings page erases all languages enabled! Which is bizarre behavior, given I'm not even submitting the form to save any changes. Simply landing on that page appears to erase all saved settings for the module.

soxofaan’s picture

Hmm, it's probably not those other modules (it would be very strange if they interfere with the geshi filter module settings page in that way)

But on the other hand I can not reproduce this on a Drupal 6.24 install with geshifilter 6.x-1.x-dev.

I'm doubtful this would help, but is your database schema up to date? (have you run update.php recently?)

yukare’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

Closing this as it is more than a year without any response, please reopen it if you still have this issue.