Parse error: parse error in /home/httpd/nuke/modules/Forums/

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Parse error: parse error in /home/httpd/nuke/modules/Forums/
infinite_root
CZ Newbie
infinite_root has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jun 03, 2004
0.00 posts per day
Posts: 29
Points: 3,082
   
Hi,

I installed a fresh copy of phpnuke-7.3 and was successful without any problem and then i installed "Print Topic" mod for phpnuke which I downloaded here. However, after I tried to post a new topic phpbb forum, the following error appeared:

Parse error: parse error in /home/httpd/nuke/modules/Forums/viewtopic.php on line 688

Which was exactly what I added for the mod:


#----[ AFTER, ADD ] ------
#

'L_PRINT' => ($lang['Print_View']) ? $lang['Print_View'] : 'Printable version', //This is Line 688
'U_PRINT' => append_sid("printview.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start"),



What could be the problem?

Hope you can help me.

Thanks and more power.



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
        'L_PRINT' => ($lang['Print_View']) ? $lang['Print_View'] : 'Printable version',
        'U_PRINT' => append_sid("printview.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start"),


Make sure if it is the last one you remove the comma after the $start")



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
infinite_root
CZ Newbie
infinite_root has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jun 03, 2004
0.00 posts per day
Posts: 29
Points: 3,082
   


Originally posted by Telli @ Tue Jun 15, 2004 11:07 am:

        'L_PRINT' => ($lang['Print_View']) ? $lang['Print_View'] : 'Printable version',
        'U_PRINT' => append_sid("printview.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start"),


Make sure if it is the last one you remove the comma after the $start")


Hi Telli,

Thank you very much for your reply.

Yes, the code was located in the last and have no comma after the $start.
Yet I'am still having an error.

What should I do next?


Back to top Reply with quote
#4   re: Parse error: parse error in /home/httpd/nuke/modules/For
infinite_root
CZ Newbie
infinite_root has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jun 03, 2004
0.00 posts per day
Posts: 29
Points: 3,082
   
Just want everyone 2 know I haven't fix the print mod problem yet. Hope u'll reconsider my question.

Thanks.



Back to top Reply with quote
#5   re: Parse error: parse error in /home/httpd/nuke/modules/For
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Post the lines causing the problem and the 10 lines above it and below it.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum