Main menu

Forum


[FIXED IN 3.1.0] crash after update joomla to 3.1.4

  • Lyr!C
  • Avatar di Lyr!C Autore della discussione
  • Administrateur
  • Administrateur
  • Lead Developer
Di più
6 Anni 2 Mesi fa - 6 Anni 2 Mesi fa #4409 da Lyr!C
Hello everybody,

New updates of Joomla are available.

About joomla 2.5.13, i've found no errors with iCagenda, but with an update from 3.1.1 to 3.1.4, i've got many errors ! (not only iCagenda, many extensions have many problems)
This is really a weird update of Joomla... :pinch:

So, first, as a general issue for all, after update, you have to clear your browser cache in order to have the toolbar with buttons back again and working!

Secondly, i'm sorry, but some issues with iCagenda on Joomla 3.1.4 make it not possible of use!
I've already found a way to fix temporaly one issue (error JFile when saving an event), and will add this release before next monday, but there's currently not enought information available to find some admin display issue, as an impossibility to view the control panel (error 500 layout default not found).

I'm working on it (and i think other extensions developpers are doing the same)

So, i recommand everyone not to update to 3.1.4 until all issues are solved.

I will keep you informed,
Thanks!
Lyr!C

EDIT : Fixed in the day in release 3.1.0 of iCagenda ! ;)

Latest version : 3.7.10

We recommend every user to keep your iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!


Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .
Ultima Modifica 6 Anni 2 Mesi fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C Autore della discussione
  • Administrateur
  • Administrateur
  • Lead Developer
Di più
6 Anni 2 Mesi fa #4414 da Lyr!C
error 500: I've found the reason!

They have change the function for name of the view, and now it takes importance of uppercase and lowercase.

So, as a quick fix, you can replace in this file /administrator/components/com_icagenda/views/icagenda/view.html.php :
class iCagendaViewiCagenda extends iCJView

by this
class iCagendaViewicagenda extends iCJView

Latest version : 3.7.10

We recommend every user to keep your iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!


Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C Autore della discussione
  • Administrateur
  • Administrateur
  • Lead Developer
Di più
6 Anni 2 Mesi fa #4426 da Lyr!C
Fixed in the day in release 3.1.0 of iCagenda ! ;)

Latest version : 3.7.10

We recommend every user to keep your iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!


Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • conterosso
  • Avatar di conterosso
  • Fresh Boarder
  • Fresh Boarder
Di più
6 Anni 2 Mesi fa - 6 Anni 2 Mesi fa #4435 da conterosso
Risposta da conterosso al topic [FIXED IN 3.1.0] crash after update joomla to 3.1.4

Lyr!C ha scritto: error 500: I've found the reason!

They have change the function for name of the view, and now it takes importance of uppercase and lowercase.

So, as a quick fix, you can replace in this file /administrator/components/com_icagenda/views/icagenda/view.html.php :

class iCagendaViewiCagenda extends iCJView

by this
class iCagendaViewicagenda extends iCJView



:( :( :(
where?
<?php
/**
 *	iCagenda
 *----------------------------------------------------------------------------
 * @package     com_icagenda
 * @copyright	Copyright (C) 2012-2013 JOOMLIC - All rights reserved.

 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @author      Jooml!C - http://www.joomlic.com
 *
 * @update		2013-05-31
 * @version		3.0
 *----------------------------------------------------------------------------
*/

// No direct access to this file
defined('_JEXEC') or die();

// iCagenda Class control (Joomla 2.5/3.x)
if(!class_exists('iCJView')) {
   if(version_compare(JVERSION,'3.0.0','ge')) {
      class iCJView extends JViewLegacy {
      };
   } else {
      jimport('joomla.application.component.view');
      class iCJView extends JView {};
   }
}

/**
 * HTML View class - iCagenda.
 */
class icagendaViewList extends iCJView
{
	protected $return_page;

	// Methode JView
	function display($tpl = null)
	{

		if(version_compare(JVERSION, '3.0', 'lt')) {

			JHTML::_('behavior.mootools');

			$document = JFactory::getDocument();

			// load jQuery, if not loaded before (NEW VERSION IN 1.2.6)
			$scripts = array_keys($document->_scripts);
			$scriptFound = false;
			$scriptuiFound = false;
			$mapsgooglescriptFound = false;
			for ($i = 0; $i < count($scripts); $i++) {
		    	if (stripos($scripts[$i], 'jquery.min.js') !== false) {
		     	   $scriptFound = true;
		    	}
				// load jQuery, if not loaded before as jquery - added in 1.2.7
		    	if (stripos($scripts[$i], 'jquery.js') !== false) {
		    	    $scriptFound = true;
		    	}
		    	if (stripos($scripts[$i], 'jquery-ui.min.js') !== false) {
		     	   $scriptuiFound = true;
		    	}
		    	if (stripos($scripts[$i], 'maps.google') !== false) {
		    	    $mapsgooglescriptFound = true;
		    	}
			}

			// jQuery Library Loader
			if (!$scriptFound) {
				// load jQuery, if not loaded before
				if (!JFactory::getApplication()->get('jquery')) {
					JFactory::getApplication()->set('jquery', true);
					// add jQuery
				    $document->addScript('https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js');
		    		$document->addScript('components/com_icagenda/js/jquery.noconflict.js');
				}
			}
			JHTML::script('http://maps.google.com/maps/api/js?sensor=false');
			if (!$scriptuiFound) {
		    	$document->addScript('https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js');
			}

			$document->addScript( 'components/com_icagenda/js/icmap.js' );

		}
		else {

			jimport( 'joomla.environment.request' );

        	$document = JFactory::getDocument();

			JHtml::_('behavior.formvalidation');
			JHtml::_('bootstrap.framework');
			JHtml::_('jquery.framework');

			$document->addScript('http://maps.google.com/maps/api/js?sensor=false');
			$document->addScript('https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js');
	      	$document->addScript( JURI::base().'components/com_icagenda/js/icmap.js' );
		}



		// loading data
		$this->data = $this->get('Data');

		// loading params
		$app = JFactory::getApplication();
		$icpar = $app->getParams();


		$this->template = $icpar->get('template');
		$this->title = $icpar->get('title');
		$this->format = $icpar->get('format');
		$this->copy = $icpar->get('copy');
		$this->atlist = $icpar->get('atlist');
//		$this->atevent = $icpar->get('atevent');
		$this->addthis = $icpar->get('addthis');
		$this->atfloat = $icpar->get('atfloat');
		$this->aticon = $icpar->get('aticon');
		$this->limit = $icpar->get('limit');

		$this->time = $icpar->get('time');
		$this->navposition = $icpar->get('navposition');
		$this->targetLink = $icpar->get('targetLink');

		$this->regEmailUser = $icpar->get('regEmailUser');
		$this->emailUserSubjectPeriod = $icpar->get('emailUserSubjectPeriod');
		$this->emailUserBodyPeriod = $icpar->get('emailUserBodyPeriod');
		$this->emailUserSubjectDate = $icpar->get('emailUserSubjectDate');
		$this->emailUserBodyDate = $icpar->get('emailUserBodyDate');

		// Check for errors.
		if (count($errors = $this->get('Errors'))) {
			JError::raiseError(500, implode("\n", $errors));
			return false;
		}

		// ASSIGN
		$this->assignRef('params',		$icpar);

		$this->_prepareDocument();

		parent::display($tpl);
	}

	protected function _prepareDocument() {

		$app		= JFactory::getApplication();
		$menus		= $app->getMenu();
		$pathway 	= $app->getPathway();
		$title 		= null;


		$menu = $menus->getActive();
		if ($menu) {
			$this->params->def('page_heading', $this->params->get('page_title', $menu->title));
		} else {
			$this->params->def('page_heading', JText::_('JGLOBAL_ARTICLES'));
		}

		$title = $this->params->get('page_title', '');

		if (empty($title)) {
			$title = $app->getCfg('sitename');
		}
		elseif ($app->getCfg('sitename_pagetitles', 0) == 1) {
			$title = JText::sprintf('JPAGETITLE', $app->getCfg('sitename'), $title);
		}
		elseif ($app->getCfg('sitename_pagetitles', 0) == 2) {
			$title = JText::sprintf('JPAGETITLE', $title, $app->getCfg('sitename'));
		}

		$this->document->setTitle($title);

		if ($this->params->get('menu-meta_description', '')) {
			$this->document->setDescription($this->params->get('menu-meta_description', ''));
		}

		if ($this->params->get('menu-meta_keywords', '')) {
			$this->document->setMetadata('keywords', $this->params->get('menu-meta_keywords', ''));
		}

		if ($app->getCfg('MetaTitle') == '1' && $this->params->get('menupage_title', '')) {
			$this->document->setMetaData('title', $this->params->get('page_title', ''));
		}


	}
}
Ultima Modifica 6 Anni 2 Mesi fa da giusebos. Motivo: Cortesemente il codice nei tag code!

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • giusebos
  • Avatar di giusebos
  • Modérateur
  • Modérateur
Di più
6 Anni 2 Mesi fa #4437 da giusebos
é stata rilascita una versione con il problema corretto, puoi trovarla qui

www.joomlic.com/it/extensions/icagenda

HAI BISOGNO DI ASSISTENZA?
leggi qui

Guarda tutti i video tutorial di iCagenda
Watch all video tutorials iCagenda
Regardez toutes les vidéos tutoriels iCagenda
Ver todos los videos tutoriales iCagenda

guarda qui
Ringraziano per il messaggio: Lyr!C

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C Autore della discussione
  • Administrateur
  • Administrateur
  • Lead Developer
Di più
6 Anni 2 Mesi fa #4445 da Lyr!C

conterosso ha scritto:

:( :( :(
where?


Yes, as Gisuebos said, no need to do it by your self. Just install 3.1.0, and the fix is in it. ;-)
I added yesterday one way to change it before i finished the release to fix issues with joomla 3.1.4 (so that, user you need to have access during this black friday can!)

In fact, this issue was an "error" in Joomla 3.1.4 causing hundreds of extensions not working.
See infos of yesterday about this bug : joomlacode.org/gf/project/joomla/tracker...racker_item_id=31565

But, i'm pleased to have been able to add a fix the same day of the 3.1.4 released, so that users coule have a quick fix! Some other developpers ask their users not to update. I prefered to give you a way not to wait with this 3.1.0 version of iCagenda ;-)

Joomla 3.1.4 was not really a stable version, so be careful for users who want to update, to make sure all your extensions are ready to this version, or wait 3.1.5...
But, iCagenda can be used not with 3.1.4 ;-)

It was a hard day of work yesterday, but i'm happy to have solved this issues :cheer:

Latest version : 3.7.10

We recommend every user to keep your iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!


Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.109 secondi

Follow Us

Create your Joomla templates with Template Creator CK