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

Changes to Submission Form?
Are you able to make changes to the Hotspot submission form? There are several f...
0 Replies
Posted on Friday, 26 April 2024
  • New
  • Question regarding custom fields
    How do I access custom fields after I have created them?...
    0 Replies
    Posted on Wednesday, 24 April 2024
  • New
    • #custom fields
    Google no index für bestimmte Seiten/Details
    Hallo ich habe eine kleine Frage: wo kann ich einstellen, dass Google die Seite...
    0 Replies
    Posted on Wednesday, 24 April 2024
  • New
  • Language parameter in the link to the comment
    Hello. 1) I have a multilingual website (3 languages). If someone added a comme...
    1 Replies
    Posted on Saturday, 06 April 2024
    categories icon in header
    Hi! I saw this in the promo, but I can't find how to set it up. https://compo...
    0 Replies
    Posted on Monday, 22 April 2024
  • New
    • #style
    • #Categories