Hello,
I upgraded my drupal 6 instalation into 7.24. The olny thing which doesn't work is php filter. The module is enabled, php format is set (php and change url into links is checked) but when I enter some php code, it display it as plain text.

What's wrong.
Idisabled and enabled the module, updated all modules to the nowest vesrsions, update database.
Please help.

Comments

nevets’s picture

Are you sure the text formatter for is set to "PHP code"?

xavier19’s picture

Yes, I am. Also it was an update, so I was working on 6
Also permissions are on to all groups.

nevets’s picture

It is possible the formatter key was not updated correctly (was a number now a string), I would check the node (or block) with the PHP code to be sure.

xavier19’s picture

I thouth it was something wrong on serwer side, but no. Single php file loaded to main directory works.
In node or block the code still not.

xavier19’s picture

Nevest, could you explain what should I do in this case, please? What this mean - formatter key not updated?

nevets’s picture

Drupal 6 used a numeric key, Drupal 7 uses a string. When I have seen similar behavior it was because the nodes/blocks using the PHP filter did not have the key updated correctly. This can be verified by looking a node or block where the PHP is not working, edit the node/block and check the format setting.