Ho effettuato l'aggiornamento dalla 2.5 alla 3.X ed è andato tutto bene (lato amministrativo) tranne che non vedo più il sito e mi dà questo errore:
Parse error: syntax error, unexpected '=' in
/Applications/XAMPP/xamppfiles/htdocs/jo/plugins/content/phocagallery/phocagallery.php on line
20
Ho aperto il file e allego una parte del codice interessato:
<?php
/*
* @package Joomla.Framework
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @component Phoca Plugin
* @copyright Copyright (C) Jan Pavelka
www.phoca.cz * @license
http://www.gnu.org/copyleft/gpl.html GNU General Public License version 2 or later;
*/
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.plugin.plugin' );
if (!JComponentHelper::isEnabled('com_phocagallery', true)) {
return JError::raiseError(JText::_('PLG_CONTENT_PHOCAGALLERY_ERROR'), JText::_('PLG_CONTENT_PHOCAGALLERY_COMPONENT_NOT_
INSTALLED'));
}
if (! class_exists('PhocaGalleryLoader')) {
require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_phocagallery'.DS.'libraries'.DS.'loader.php');( include_path= '.:/Applications/XAMPP/xamppfiles/lib/php');
}
phocagalleryimport('phocagallery.path.path');
phocagalleryimport('phocagallery.path.route');
phocagalleryimport('phocagallery.library.library');
phocagalleryimport('phocagallery.text.text');
phocagalleryimport('phocagallery.access.access');
phocagalleryimport('phocagallery.file.file');
phocagalleryimport('phocagallery.file.filethumbnail');
phocagalleryimport('phocagallery.image.image');
phocagalleryimport('phocagallery.image.imagefront');
phocagalleryimport('phocagallery.render.renderfront');
phocagalleryimport('phocagallery.render.renderadmin');
Come posso risolvere?
Grazie