I think their is bug in drupal-4.1.0 b'coz when i am adding new block in HTML it works fine but when i am adding new block
in PHP it's showing an error..Basically it's not parsing any PHP code.

Comments

Kobus’s picture

Priority: Major » Normal

This is the problem with the stripslashes that was discussed a few days ago. A quick fix is to edit common.inc, and remove the stripslashes calls in the following functions:

check_form, check_input, check_query

I have sent patches to the list for this, based on the post made by Gordon on 26 January on the list, but don't have CVS access to post my patches, and it has not yet been confirmed whether these patches cause other problems, but I doubt it.

Regards,

Kobus

Dries’s picture

Anonymous’s picture