1. Diego Souto
  2. Newbies area
  3. Saturday, 01 August 2009
  4.  Subscribe via email
So I had the previous version of IjoComment, i think was the 3.5.6 or somithing like.... and I unistaled it in order to install the 4.0 beta.

Ok I installed it withou a hitch but, the problem is everytime I go to

Components-----> and try to click in any option of the IJoomla I ge this error.

[color=#FF0000]Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home1/oquevoce/public_html/administrator/components/com_comment/toolbar.comment.html.php on line 29[/color]

So I'm asking you guys any idea what possible wrong??


Another strange think it seens the comments are working just fine on the front-end

By the way heres the code of the page:
 <?php defined('_JEXEC')  or die('Direct Access to this location is not allowed.');

/**
* Copyright Copyright (C) 2007 Alain Georgette. All rights reserved.
* Copyright Copyright (C) 2006 Frantisek Hliva. All rights reserved.
* License http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*
* !JoomlaComment is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* !JoomlaComment is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/

require_once(JPATH_SITE.DS.'components'.DS.'com_comment'.DS.'joscomment'.DS.'utils.php');
require_once(JPATH_SITE.DS.'administrator'.DS.'components'.DS.'com_comment'.DS.'class.config.comment.php');

function existsAkoTable()
{
JFactory::getDBO()->setQuery ('');
}

class JOSCmosMenubar extends JToolbarHelper {

}

class menucomment {

function MENU_DEFAULT($component='')
{



$config = new JOSC_defaultconfig($component);
$config->load();
if (strpos(strtoupper($config->_local_charset), "UTF-8")===false) {
JOSCmosMenuBar::custom('convertlcharset', 'extensions_f2.png', 'extensions_f2.png', "Convert to $config->_local_charset", true);
}
unset($config);

JOSCmosMenuBar::publishList();
JOSCmosMenuBar::unpublishList();
// JOSCmosMenuBar::addNew();
JOSCmosMenuBar::editList();
JOSCmosMenuBar::deleteList(" Users will not be notified. To notify users use line delete button !");
JOSCmosMenuBar::spacer();

}

function SETTINGS_MENU()
{
// JOSCmosMenuBar::publishList();
// JOSCmosMenuBar::unpublishList();

/* expert mode is not still available - only used for joomlacomment DEMO */
// if (!(strpos(JURI::base(), 'http://localhost/liberator')===false)) JOSCmosMenuBar::custom('settingsexpert', 'extensions_f2.png', 'extensions_f2.png', "Expert Mode", false);
JOSCmosMenuBar::addNew('settingsnew');
JOSCmosMenuBar::editList('settingsedit'); /* $task='edit', $alt='Edit' */
JOSCmosMenuBar::deleteList('', 'settingsremove'); /* $msg='', $task='remove', $alt='Delete' */
JOSCmosMenuBar::spacer();

}

function SETTINGSEXPERT_MENU()
{

// if (!(strpos(JURI::base(), 'http://localhost/liberator')===false)) JOSCmosMenuBar::custom('settings', 'extensions_f2.png', 'extensions_f2.png', "Simple Mode", false);

// JOSCmosMenuBar::publishList();
// JOSCmosMenuBar::unpublishList();
JOSCmosMenuBar::addNew('settingsnewexpert');
JOSCmosMenuBar::editList('settingseditexpert'); /* $task='edit', $alt='Edit' */
JOSCmosMenuBar::deleteList('', 'settingsremove'); /* $msg='', $task='remove', $alt='Delete' */
JOSCmosMenuBar::spacer();

}

function CONFIG_MENU()
{

JOSCmosMenuBar::save('savesettings');
JOSCmosMenuBar::apply('applysettings');
JOSCmosMenuBar::cancel('settings');
JOSCmosMenuBar::spacer();

}

function CONFIGEXPERT_MENU()
{

JOSCmosMenuBar::save('savesettingsexpert');
JOSCmosMenuBar::apply('applysettingsexpert');
JOSCmosMenuBar::cancel('settingsexpert');
JOSCmosMenuBar::spacer();

}

function CONFIGSIMPLE_MENU()
{

JOSCmosMenuBar::save('savesettingssimple');
JOSCmosMenuBar::apply('applysettingssimple');
// JOSCmosMenuBar::cancel(''); /* -> view comments */
JOSCmosMenuBar::spacer();

}

function IMPORT_MENU($josctask)
{

JOSCmosMenuBar::apply($josctask['apply'], 'Preview');
//mosMenuBar::custom($josctask['import'], 'move.png', 'move_f2.png', 'Import selected' );
JOSCmosMenuBar::custom($josctask['importall'], 'move.png', 'move_f2.png', 'Import ALL', false);
JOSCmosMenuBar::spacer();

}

function FILE_MENU()
{

JOSCmosMenuBar::save();
JOSCmosMenuBar::cancel();
JOSCmosMenuBar::spacer();

}
function ABOUT_MENU()
{

JOSCmosMenuBar::back();
JOSCmosMenuBar::spacer();

}

function JUST_BACK()
{

JOSCmosMenuBar::back();
JOSCmosMenuBar::spacer();

}

function JOOMVERTISING_MENU()
{
JOSCmosMenuBar::back();
JOSCmosMenuBar::spacer();
}

}




Thanks guys any help is apreciate.
Responses (2)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now

Last questions

Hotspots Pro 6.0.13 compatability with Joomla 5.3.
Running Hotspots Pro 6.0.13 on Joomla 4.4.13 and want to upgrade to Joomla 5.3.1...
2 Replies
Posted on Friday, 04 July 2025
some questions on Hotspots
Hi, On Hotspots extension : 1) is it possible to add our own map layer / v...
0 Replies
Posted on Thursday, 03 July 2025
Trying to resize the image in the comments
Hey everyone, Basically I am trying to make the images in the comments smalle...
9 Replies
Posted on Wednesday, 12 August 2009
J5 compatibility for Hotspots
Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
2 Replies
Posted on Monday, 24 February 2025
  • #Hotspots
  • #hotspots Joomla 5
error message when adding/cofiguring email address
When configuring the email plugin that send a email message to admin when a new ...
0 Replies
Posted on Friday, 09 May 2025