Download & Extend

Flexifilter doesn't work with Drupal 6.3

Project:Flexifilter
Version:6.x-1.1-rc1
Component:User interface - Admin pages
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Flexifilter 6.x-1.1-rc1 doesn't work with Drupal 6.3 (most of options are missing in the admin menu, and those present lead to an access denied page).

Flexifilter 6.x-1.1-dev doesn't work with Drupal 6.3 (all options seem to be present, but with a bunch of non-working, non editable filters named by a single letter, but all options still lead to an access denied page).

Flexifilter 6.x-2.x-dev doesn't even show up in the admin menu.

Comments

#1

+1

#2

Same issue, it doesn't work (cannot add, cannot modify, cannot delete).

#3

Seems to not work similary in 6.2, too.
(Is this related to http://drupal.org/node/273479 or http://drupal.org/node/280559 ? Newbie yet, sorry...)

#4

same here

#5

Yup, same here. :(

#6

this seems to be a permissions issue. i had the same problem. more speficically, in D6.3 i logged in as root (uid=1), installed flexinode, and while i saw flexinode listed in the admin/build panel, i could see no "create new flexifilter" link when i went to admin options, and when i tried to edit the example filter that came preinstalled, i received an access denied error.

edit: forgot to mention this was with flexifilter 6.x-1.1-rc1

#7

I was able to resolve this issue by applying the patch in http://drupal.org/node/273479 and then reinstalling flexifilter.

#8

@lunakid
The problem is described well in other issue reports.
Look at #247416: Missing options and Access Denied error when editing filters for a solution to the problem; despite of the title of the issue (which should be titled Access denied for user with UID 1), the issue report describes the problem you are having, and how to fix it.

#9

I am just a beginner and i am doing a wiki for my site.
I found that i needed the following for this to be done
wikitools
flexifilter
fleelinking
dif
talk and
table of contents
but when i installed the flexifilter i also had the same problem.
The flexifilter would show up in the admin menu but i am not able to add, edit, delete or disable any of the functions.
All options lead to an access denied page
I used the Flexifilter 6.x-1.1-dev module.
Can I use any other filter for the same?

AttachmentSize
Filter.png 164.39 KB

#10

Hi folks,

While configuring the Flexifilter module I found that certain menus are missing like
Add new flexifilter
Import a flexifilter
Load a default filter

As i went throgh the flexifilter module i found that permissions were not given for the users and admin.
It happens due to drupal 6.2 API changes.
Drupal will throw 'access denied' (403) when user tries to edit or create filters. this also applies for UID1 !!!

To fix this flexifilter_menu() function needs to be updated to include 'access arguments' => array('administer flexifilter') for every menu array item returned. implementation of hook_perm is also needed:

So either u can edit your Flexifilter module
or
You can use the patch

If u are going to edit the page this link can help u.
http://drupal.org/node/247416

I applied a patch and it worked.

AttachmentSize
flexifilters-diff-1.1-1.x-dev.patch 11.93 KB

#11

Here is a working Flexifilter module. It has been patched and is ready to be used.

AttachmentSize
flexifilter.tar_.gz 36.48 KB

#12

Status:active» needs review

Changing to needs review since there is a patch here.

#13

I think #10 also needs a patched .install file. The current release of code in the tree does not create a column called 'cache' in the flexifilters table. You wind up with things like this:

user warning: Unknown column 'cache' in 'field list' query: INSERT INTO flexifilters (label, description, enabled, delta, pid_root, advanced, cache) VALUES ('Wiki', 'Flexifilter for a Wiki', 0, 0, 0, 0, 1) in /var/www/html/mysite/sites/all/modules/flexifilter/flexifilter.module on line 498.

#14

OK so ignore my #13. Here's where I went with this to get a working module.

1. Check out the module from CVS, since it has changes from the -dev release. This gets you HEAD with the current changes. This seems to fix most of what was previously reported.
cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib co -d ./flexifilter contributions/modules/flexifilter

2. Apply the patch from #347923: MySQL Error when loading MediaWiki Filter, comment #1.

That's it so far. HEAD seems to be the way to go.

#15

Status:needs review» closed (duplicate)

Duplicate of #247416: Missing options and Access Denied error when editing filters, and resolved in the latest release.

#16

Hey Folks,

A good news for You.

The new version of flexifilter has come. No problems with it.

Try it and forget the other issues.

AttachmentSize
flexifilter-6.x-1.2.tar_.gz 29.52 KB