944,098 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 1140
  • PHP RSS
Apr 8th, 2007
0

PHP help needed

Expand Post »
I recently installed CrackerTracker v5.x in my forums (phpbb2 with no mods, running a custom interface) and I'm having a massive amount of parsing errors.

Examples:

Parse error: parse error, unexpected ',' in /forum/includes/functions_post.php on line 103
PHP Syntax (Toggle Plain Text)
  1. 103: }$lang, $phpEx, $phpbb_root_path;
Parse error: parse error, unexpected T_INCLUDE_ONCE in /forum/includes/page_tail.php on line 36
PHP Syntax (Toggle Plain Text)
  1. '36: overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' : 'simple_footer.tpl')include_once($phpbb_root_path . 'ctracker/engines/ct_footer.' . $phpEx);

Any tips or hints as to what I'm doing wrong? Any help would be appreciated.
Last edited by Bushi; Apr 8th, 2007 at 10:18 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Bushi is offline Offline
9 posts
since Apr 2007
Apr 9th, 2007
0

Re: PHP help needed

You should post several lines of code before the line mentioned in the error + the line mentioned in the error. If possible post a "complete statement", ie a section of code that is more or less complete unto itself.

But I have to say, the code in your error statements looks very screwed up...
Reputation Points: 17
Solved Threads: 14
Posting Whiz
DanceInstructor is offline Offline
355 posts
since Feb 2005
Apr 10th, 2007
0

Re: PHP help needed

Thanks! Yeah, apparently it was getting oddly garbled somewhere along the line. I just completely reworked it, and now it runs like a dream.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Bushi is offline Offline
9 posts
since Apr 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

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: Web content management
Next Thread in PHP Forum Timeline: Parse Error Assitance Needed





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


Follow us on Twitter


© 2011 DaniWeb® LLC