1. I did have panels printing at taxonomy/term/%
2. I messed up with a lot of modules and drupal upgrade
3. I remove the modules an get ride of "Delegator module is unable to override...", and i checked the db, and delegator is on charge.
4. When you go to a taxonomy term, get the default system term page

As usual Any ideas are welcome.

pd: i have the old site version running at other vhost and db, so i can look for differences, just don't know where else look for it.

Comments

laVera’s picture

Category: support » bug

Is the version of ctools. Don't work the beta1 neither dev. And i don't know how to identify my version (is one dev).

If somebody could guide me how to use cvs to highlight the differences between my current version and current dev, i could fix it, or at least point where is the problem.

The problem is originated at validation, as it don't pass validation, show the system term page.

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

Wow, there's an error message and you decided it's important enough to mention but not important enough to tell me the whole message?

Am I psychic?

laVera’s picture

Sorry, this is what happen:

1. When i update ctools the panels handler from /taxonomy/%term (just for one vocab) disapear, and drupal default replace it. without any error message
2. 2 o 3 days doing stupid and unusefoul thinks (check other modules conflicts, check core update, etc)
3. I tryed to understand the logic of ctools, as i go y put a lot of drupal_set_message('panel handler DID get the resquest'); but ctools don't show any error message. Just my own debugs messages.

Any way, i found my old module folder, with my comments (it was on Trash), i traslate my debug messages to english, added lines numbers, and runned it. This is what it say:

* $plugin: "

Array
(
[title] => Taxonomy: Vocabulary
[description] => Control access by term vocabulary.
[callback] => ctools_term_vocabulary_ctools_access_check
[default] => Array
(
[vids] => Array
(
)

)

[settings form] => ctools_term_vocabulary_ctools_access_settings
[settings form submit] => ctools_term_vocabulary_ctools_access_settings_submit
[summary] => ctools_term_vocabulary_ctools_acesss_summary
[required context] => ctools_context_required Object
(
[keywords] => Array
(
[0] => term
[1] => terms
)

[title] => Term
)

[module] => ctools
[name] => term_vocabulary
[path] => sites/all/modules/ctools/plugins/access
[file] => term_vocabulary.inc
)

" at line 1304 context.inc
* $required_context: "" at line 1308 context.inc
* $context: "argument_terms_1" at line 1309 context.inc
* returning FALSE ctools_term_vocabulary_ctools_access_check() at line 60 at term_vocabulary.inc
* Using: "ctools_term_vocabulary_ctools_access_check(Array,);" at line 1311 context.inc
* $pass: """ at line 1311 context.inc
* Fail panels_panel_context_render at line 25 context-task-handler.inc
* falling back at line 130 term_view.inc

kobnim’s picture

Status: Postponed (maintainer needs more info) » Active

I am having what may be a related problem.

When I enable ctools, I get these error messages:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /mysite/sites/all/modules/ctools/delegator/plugins/tasks/term_view.inc on line 83

Parse error: syntax error, unexpected T_STRING, expecting ']' in /mysite/sites/all/modules/ctools/delegator/plugins/tasks/term_view.inc on line 83

I looked at line 83, but don't don't see why it is generating the error messages above. Here is the code:

if ($items['taxonomy/term/%']['page callback'] == 'taxonomy_term_page' ||   variable_get('delegator_override_anyway', FALSE)) { 
 ...
}

Any suggestions?
Thanks.

merlinofchaos’s picture

nahuel: I'd recommend a completely clean install. From what you've said I'd worry that things just aren't right in that install.

kobnim: Uh. Your PHP is on crack. I have no idea why it thinks ' is invalid when it is perfectly valid there.

laVera’s picture

I just tried to upgrade to the last recommended versions of ctools and panels and had the same problem. I don't now how to clean the db, the modules don't appear to me at the uninstall page.

I tend to think that in one code change, something was altered in a way that conflict with my specific drupal's settings. Maybe is a module that i have installed, i don't know.

Would you give me some advice on how to compare all changes beteewn the working code and the current code? my plan is to apply each change at once, untill i find the one that cause all the troubles.

Thanks in advance.

pd: as always, any ideas are welcome
pd2: i'm at Panels 6.x-3.0-beta1 and Chaos tool suite 6.x-1.x-dev (2009-May-02)

vm’s picture

you must disable the modules
then use the uninstall tab

Both of the above MUST be done before removing the folders from the server.

venkiparam’s picture

I have a similar issue with the taxonomy/term/%term view pages. On my site when an admin clicks on a term he get this error

" Fatal error: Unsupported operand types in /opt/lampp/htdocs/test.thesite.com/includes/common.inc on line 1542 " .

When a normal authenticated user clicks on the same link he doesnot get any error and the term page is displayed normally. I tried to identify the source of the issue by enabling and disabling various module but couldn't spot any problem with other modules.

The only instance where i am able to introduce the error for normal authenticated users is when the user has the permission "administer delegator". Since this is a permission created by ctools, i doubt there is an issue with ctools. As an additional information, i have not defined any handlers for the term view pages.

laVera’s picture

Status: Active » Closed (fixed)