Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question [Solved] plg_kunenatoolbar: Parse error: syntax error,

More
16 years 1 month ago - 16 years 1 month ago #38156 by Tariqa2009
any idea what is this error i cant login to admin setting of kunena

Parse error: syntax error, unexpected $end in /home/techhom1/public_html/rt/administrator/components/com_kunena/toolbar.kunena.php on line 92
Last edit: 16 years 1 month ago by sozzled. Reason: Change topic title

Please Log in or Create an account to join the conversation.

More
16 years 1 month ago - 16 years 1 month ago #38157 by Tariqa2009
Code:
<?php /** * @version $Id: toolbar.kunena.php 502 2009-03-06 18:05:01Z fxstein $ * Kunena Component * @package Kunena * * @Copyright (C) 2008 - 2009 Kunena Team All rights reserved * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.kunena.com * * Based on FireBoard Component * @Copyright (C) 2006 - 2007 Best Of Joomla All rights reserved * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.bestofjoomla.com * * Based on Joomlaboard Component * @copyright (C) 2000 - 2004 TSMF / Jan de Graaff / All Rights Reserved * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @author TSMF & Jan de Graaff **/ // ################################################################ // MOS Intruder Alerts defined( '_JEXEC' ) or die('Restricted access'); // ################################################################ require_once( JApplicationHelper::getPath( 'toolbar_html' ) ); switch ($task) { case "new": case "edit": case "edit2": CKunenaToolbar::_EDIT(); break; case "cancel": CKunenaToolbar::DEFAULT_MENU(); break; case "showconfig": CKunenaToolbar::_EDIT_CONFIG(); break; case "showCss": CKunenaToolbar::CSS_MENU(); break; case "profiles": CKunenaToolbar::_PROFILE_MENU(); break; case "instructions": break; case "newmoderator": CKunenaToolbar::_NEWMOD_MENU(); break; case "userprofile": CKunenaToolbar::_EDITUSER_MENU(); break; case "pruneforum": CKunenaToolbar::_PRUNEFORUM_MENU(); break; case "syncusers": CKunenaToolbar::_SYNCUSERS_MENU(); break; case "showAdministration": CKunenaToolbar::_ADMIN(); break; case "showprofiles": CKunenaToolbar::_PROFILE_MENU(); break; case "showsmilies": CKunenaToolbar::_SHOWSMILEY_MENU(); bre
Last edit: 16 years 1 month ago by Tariqa2009.

Please Log in or Create an account to join the conversation.

More
16 years 1 month ago #38158 by Tariqa2009
ok i worked it out guys thanks this code was missing from the file that installed on the server which is
Code:
ak; case "editsmiley": CKunenaToolbar::_EDITSMILEY_MENU(); break; case "newsmiley": CKunenaToolbar::_NEWSMILEY_MENU(); break; case "ranks": CKunenaToolbar::_SHOWRANKS_MENU(); break; case "editRank": CKunenaToolbar::_EDITRANK_MENU(); break; case "newRank": CKunenaToolbar::_NEWRANK_MENU(); break; default: CKunenaToolbar::BACKONLY_MENU(); break; } ?>


I think lots of people going to have this error the file script not complete hope this will help other to solve this issue copy this replace it thanks

Please Log in or Create an account to join the conversation.

More
16 years 1 month ago #38201 by sozzled
Tariqa2009 wrote:

I think lots of people going to have this error the file script not complete hope this will help other to solve this issue copy this replace it thanks

???? Sorry, I've never encountered this situation in any version of Kunena. :huh:

Please Log in or Create an account to join the conversation.

More
16 years 1 month ago #38207 by LittleJohn
Can you reproduce this error if you uninstall joomla and kunena and start all over again?
Which versions are you using (of Joomla, Kunena, apache, PHP, Mysql, O/S, etc)?

When I cut the script at your position, the file is exactly 2048 b long.
How is this relevant?

It COULD be some defective buffer or errors in installation, but it could also just be a coincidence...

Please Log in or Create an account to join the conversation.

More
16 years 1 month ago #38245 by JerryLeeLewis
had this problem too thanks for it

Please Log in or Create an account to join the conversation.

Time to create page: 0.513 seconds