Kunena 6.2.5 & module Kunena Latest 6.0.7 released
The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question [Solved]: Parse error: syntax error, unexpected '<' in view.php on line 1151
In one of the boards, there is a section for the band Die Heuwels Fantasties .
At the moment, this section only has one post , which unfortunately fails to open correctly. The system gives the error message:
Parse error: syntax error, unexpected '<' in /home2/lettingh/public_html/netportaal/components/com_kunena/template/default_ex/view.php on line 1151
This only happened after I have edited my language file. However, when I view the php file in Gedit and I go to line 1151, there is no '<' in sight.
Is this a bug or am I missing something? Unfortunately I am terribly new at making a website, so this may be something common, but I've checked the forums and this seems to be unrelated to the "unexpected '$end'" problem.
Any help would be appreciated greatly!
Please Log in or Create an account to join the conversation.
can you attach here that file
Thank you/ components / com_kunena / template / default_ex / view.php
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Where is attached file?? i cant see??Adriaan wrote: The file is attached. Actually I was checking the wrong file: this one here does in fact have a < on line 1151. I uncommented it using //, and now the problem lies at line 1153. How do I remove that < without breaking Google's code?
I need to look in the file to say you how to do that. You are using unmodified Kunena 1.5.12, right? No hack??
Please Log in or Create an account to join the conversation.
dl.dropbox.com/u/5580727/view%20%281%29.php
The only modification I made to Kunena was this file (to put the Google Ad in) and the language file, and this problem only came up once I made those edits. I assume it's the ad breaking the page
EDIT: I uncommented the <!--'s with // and now the problem is with
<script type="text/javascript"><!--
What should I do?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
How did you fix it?
EDIT: But the ad is supposed to go in the left bar, and not duplicated. Do I change it in this view,php file, or is that somewhere else?
Please Log in or Create an account to join the conversation.
BTW: this is wrong way to insert google ads in kunena, you should use module positions for this docs.kunena.com/index.php/Module_Positions
Regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
If you want to add one Ad of google you need to create new module in Joomla backend and insert Google code into this module, than when you publish that module, for "Position" write one you can see in our documentation.Adriaan wrote: Thanks it worked!
How did you fix it?
EDIT: But the ad is supposed to go in the left bar, and not duplicated. Do I change it in this view,php file, or is that somewhere else?
kunena_profilebox <-- This one show google in profilebox
kunena_announcement <-- This one show google at top of forum
kunena_bottom <-- This show google at bottom of forum
kunena_msg_1 ... kunena_msg_n, where n = number of messages in a page <-- and this one show google ads between mwssages in the topic.
PS. code you have inserted in view.php should be deleted
Regards
Please Log in or Create an account to join the conversation.