PHP help needed

Thread Solved

Join Date: Apr 2007
Posts: 9
Reputation: Bushi is an unknown quantity at this point 
Solved Threads: 0
Bushi Bushi is offline Offline
Newbie Poster

PHP help needed

 
0
  #1
Apr 8th, 2007
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
  1. 103: }$lang, $phpEx, $phpbb_root_path;
Parse error: parse error, unexpected T_INCLUDE_ONCE in /forum/includes/page_tail.php on line 36
  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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 355
Reputation: DanceInstructor is an unknown quantity at this point 
Solved Threads: 14
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: PHP help needed

 
0
  #2
Apr 9th, 2007
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...
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 9
Reputation: Bushi is an unknown quantity at this point 
Solved Threads: 0
Bushi Bushi is offline Offline
Newbie Poster

Re: PHP help needed

 
0
  #3
Apr 10th, 2007
Thanks! Yeah, apparently it was getting oddly garbled somewhere along the line. I just completely reworked it, and now it runs like a dream.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC