Hi

I upgraded my drupal to 4.7.5 and now I get this error:

[client 74.6.73.122] PHP Parse error:  parse error, unexpected T_STRING, expecting ',' or ';' in /var/www/html/portal/includes/common.inc(1196) : eval()'d code on line 2

If somebody can help .... or know the problem ...

Thank you in advance.

Comments

gelusi’s picture

nobody can help me?

this error is from apache error_log

gelusi
www.cartiere.ro

jerome_107’s picture

i also get the same error with 4.7 also... while creating a php page:

$con = mysql_connect("host","user","pw");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
<div class="content">
$sql = 'SELECT * FROM `term_data` LIMIT 0, 30 ';
</div>

mysql_close($con);

am i missing something here? please help

thanks,

just another newbie :D

LanceLight’s picture

What are the DIV lines doing in the middle of a php block? Thats not gonna work bro.