I have created a small php form,which is working fine but,when i am adding this form into blocks and saving it as php it's showing an errors.....
don't know what's the problem.I think it's not parsing php.
.
Anyone help me.
Thanx in advance.

Comments

killes@www.drop.org’s picture

What version do you use? There are some issues with stripslashes in drupal 4.1. I suggest to upgrade to the cvs version.

ko-1’s picture

i am using drupal-4.1.0.

ko-1’s picture

I have also tried by adding a very simple php code into new block for just printing "Helloworld" but it's not parsing php and showing errors.
So,is this a bug in drupal-4.1.0 or what..?

KO

ko-1’s picture

hi,
i upgraded my drupal-4.1.0 to cvs version but still it's not parsing php....and giving an error in block.module.

the error is:
"Parse error: parse error, unexpected - in /modules/block.module(69) :
eval()'d code on line 1".

here in place of "-" there was less than sign in single quote.b'coz it's not printed full error statement here sign so due to that problem i replace that sign with "-".

Anybody help me.