Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Parse error: syntax error, unexpected $end in /var/www/www.greenopolis.com/htdocs/includes/common.inc(1355) : eval()'d code on line 11
can any one help me on this
Comments
Comment #1
Heine CreditAttribution: Heine commentedThere's most likely a PHP node or block (or code for block visibility) that contains code with a syntax error. Go into the db to disable the block / correct the code.
See also http://drupal.org/node/85694 and http://drupal.org/node/166556
Comment #2
drup_lr CreditAttribution: drup_lr commentedbut there are no syntax errors.
Comment #3
Heine CreditAttribution: Heine commented1. The code in common.inc is syntax error free. The code with the syntax error (line 11) is something that is passed to drupal_eval (replace eval() with error_log($code) and you'll see what gets executed.
2. If you want support on the syntax error, consider pasting the code.
Comment #4
drup_lr CreditAttribution: drup_lr commentedThis is my code . can you help in finding the error
Comment #5
Heine CreditAttribution: Heine commentedIs this the code that is printed to the PHP error log?
Comment #6
drup_lr CreditAttribution: drup_lr commentedmy code in the node
Comment #7
Heine CreditAttribution: Heine commentedReplace eval(...) with error_log($code) and you'll see what gets executed.
Comment #8
drup_lr CreditAttribution: drup_lr commentedI get this
[05-Mar-2009 11:12:02]
which is a 50% discount from the regular price.
Please Register or Login to take advantage of this offer and access the resouces ONLY available to registered users
Comment #9
drup_lr CreditAttribution: drup_lr commentedComment #10
mdupontClosing old issue.