By datacode on
I'm trying to add a custom php code block - actually its the block listed here (http://drupal.org/node/21390). The php code keeps giving me the error...
Parse error: parse error in /home/httpd/vhosts/mysite.net/httpdocs/includes/common.inc(1857) : eval()'d code on line 2
I've tried a few other php block examples and they all give me the same error. Any ideas on what could be causing this?
Comments
I'm still stuck. Any help or
I'm still stuck. Any help or suggestions would be appreciated.
I just tried it
I just tried it on 4.6.3, and it works fine.
All I did was copy the code (from the
<?phpall the way to?>, and paste it in a new block. Set the title to Categories, and set the block format to PHP.That is it.
--
Drupal development and customization: 2bits.com
Personal: Baheyeldin.com
--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba