Fork me on GitHub

php parse error  Bottom

  • i get this error when i used the PHP block script,

    Parse error: parse error, unexpected '<' in /home/crayc/public_html/includes/blocks/php.php(51) : eval()'d code on line 1

    i checked that line all i see is <PHP?
  • You don't use when putting code into the PostNuke PHP block.

    -Shawn

    --
    Get the Revolutionary AutoTheme HTML Theme System! Currently for Zikula, PHP-Nuke, CRE Loaded, osCommerce and Wordpress!
  • im talking bout the php.php file in blocks i have an error on line 1 on that, show me your php.php file code to see if mine matches it
  • Re-read Shawn's post. The problem is caused by having the opening and closing PHP tags in the CONTENT you added to the PHP block. If you re-read the error it's not in the block but in eval'd code on line 1 (this is content you added to the block). There is no problem with the block itself!

    -Mark

    --
    Visit My homepage and Zikula themes.

This list is based on users active over the last 60 minutes.