943,078 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 390
  • PHP RSS
Mar 16th, 2010
0

Need help with parse error

Expand Post »
I am getting this parse error:

PHP Syntax (Toggle Plain Text)
  1. Parse error: syntax error, unexpected ';', expecting ')' in /home/freemone/public_html/dofollow-blogs/compiled/arfooo_template/en/c_1_info_whatisdofollow_tpl.php on line 11

And here is the code that somehow contian the error:

PHP Syntax (Toggle Plain Text)
  1. <?php
  2. echo $this->_fetch_compile_include("includes/header.tpl", array('title' => $this->trigger_error("'lang' modifier does not exist", E_USER_NOTICE, __FILE__, __LINE__);));
  3. ?>"}
  4.  

Can anyone see whats wrong?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xwishmasterx is offline Offline
2 posts
since Mar 2010
Mar 16th, 2010
0
Re: Need help with parse error
I think you want this:

PHP Syntax (Toggle Plain Text)
  1. <?php
  2. echo $this->_fetch_compile_include("includes/header.tpl", array('title' => $this->trigger_error("'lang' modifier does not exist", E_USER_NOTICE, __FILE__, __LINE__)));
  3. ?>

Second to last semi-colon was unnecessary.
Reputation Points: 52
Solved Threads: 27
Junior Poster
edwinhermann is offline Offline
134 posts
since Sep 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Partial Compare 2 Fields
Next Thread in PHP Forum Timeline: "not a valid MySQL result resource" at a loss as to why.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC