Main menu

Forum


[FIXED IN 3.1.0] crash after update joomla to 3.1.4

  • Lyr!C
  • Lyr!C's Avatar Topic Author
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 8 months ago - 10 years 8 months ago #4409 by 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 : iCagenda 3.9.2
We recommend every user to keep 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) .

File Attachment:

Last edit: 10 years 8 months ago by Lyr!C.

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

 

  • Lyr!C
  • Lyr!C's Avatar Topic Author
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 8 months ago #4414 by Lyr!C
Replied by Lyr!C on topic !!! issues update joomla 3.1.4
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 : iCagenda 3.9.2
We recommend every user to keep 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) .

File Attachment:

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

  • Lyr!C
  • Lyr!C's Avatar Topic Author
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 8 months ago #4426 by Lyr!C
Replied by Lyr!C on topic !!! issues update joomla 3.1.4
Fixed in the day in release 3.1.0 of iCagenda ! ;)

Latest version : iCagenda 3.9.2
We recommend every user to keep 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) .

File Attachment:

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

  • conterosso
  • conterosso's Avatar
  • New Member
  • New Member
More
10 years 8 months ago - 10 years 8 months ago #4435 by conterosso
Replied by conterosso on topic !!! issues update joomla 3.1.4

Lyr!C wrote: 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', ''));
		}


	}
}
Last edit: 10 years 8 months ago by giusebos. Reason: Cortesemente il codice nei tag code!

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

  • giusebos
  • giusebos's Avatar
  • Moderator
  • Moderator
More
10 years 8 months ago #4437 by giusebos
Replied by giusebos on topic !!! issues update joomla 3.1.4
é 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
The following user(s) said Thank You: Lyr!C

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

  • Lyr!C
  • Lyr!C's Avatar Topic Author
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 8 months ago #4445 by Lyr!C
Replied by Lyr!C on topic !!! issues update joomla 3.1.4

conterosso wrote:

:( :( :(
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 : iCagenda 3.9.2
We recommend every user to keep 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) .

File Attachment:

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

Moderators: Lyr!C
Time to create page: 0.073 seconds

 

Follow Us

acymailing logo new

Create your Joomla templates with Template Creator CK