Contaol 2.11.0 Upgrade Failure - Helpdesk issues?
Okay, trying to upgrade this morning from Contao 2.10.4 to Contao 2.11.0 and I've immediately come across a failure as soon as I start the upgrade. It looks like I'm going to have to roll back the upgrade and uninstall (?) the helpdesk module. Anybody else running across this? It won't let me login to the backend to delete the module.
Code:
Warning: Missing argument 2 for HelpdeskTheme::image(), called in /home/pellabu2/public_html/system/modules/helpdesk/config/config.php on line 25 and defined in /home/pellabu2/public_html/system/modules/helpdesk/HelpdeskTheme.php on line 25
#0 /home/pellabu2/public_html/system/modules/helpdesk/HelpdeskTheme.php(25): __error(2, 'Missing argumen...', '/home/pellabu2/...', 25, Array)
#1 /home/pellabu2/public_html/system/modules/helpdesk/config/config.php(25): HelpdeskTheme::image('helpdesk16')
#2 /home/pellabu2/public_html/system/libraries/Config.php(155): include('/home/pellabu2/...')
#3 /home/pellabu2/public_html/system/libraries/Config.php(125): Config->initialize()
#4 /home/pellabu2/public_html/system/initialize.php(74): Config::getInstance()
#5 /home/pellabu2/public_html/contao/index.php(36): require_once('/home/pellabu2/...')
#6 {main}
Code:
Warning: Missing argument 2 for HelpdeskTheme::image(), called in /home/pellabu2/public_html/system/modules/helpdesk/config/config.php on line 30 and defined in /home/pellabu2/public_html/system/modules/helpdesk/HelpdeskTheme.php on line 25
#0 /home/pellabu2/public_html/system/modules/helpdesk/HelpdeskTheme.php(25): __error(2, 'Missing argumen...', '/home/pellabu2/...', 25, Array)
#1 /home/pellabu2/public_html/system/modules/helpdesk/config/config.php(30): HelpdeskTheme::image('structure16')
#2 /home/pellabu2/public_html/system/libraries/Config.php(155): include('/home/pellabu2/...')
#3 /home/pellabu2/public_html/system/libraries/Config.php(125): Config->initialize()
#4 /home/pellabu2/public_html/system/initialize.php(74): Config::getInstance()
#5 /home/pellabu2/public_html/contao/index.php(36): require_once('/home/pellabu2/...')
#6 {main}
Code:
Warning: Missing argument 2 for HelpdeskTheme::image(), called in /home/pellabu2/public_html/system/modules/helpdesk/config/config.php on line 35 and defined in /home/pellabu2/public_html/system/modules/helpdesk/HelpdeskTheme.php on line 25
#0 /home/pellabu2/public_html/system/modules/helpdesk/HelpdeskTheme.php(25): __error(2, 'Missing argumen...', '/home/pellabu2/...', 25, Array)
#1 /home/pellabu2/public_html/system/modules/helpdesk/config/config.php(35): HelpdeskTheme::image('settings16')
#2 /home/pellabu2/public_html/system/libraries/Config.php(155): include('/home/pellabu2/...')
#3 /home/pellabu2/public_html/system/libraries/Config.php(125): Config->initialize()
#4 /home/pellabu2/public_html/system/initialize.php(74): Config::getInstance()
#5 /home/pellabu2/public_html/contao/index.php(36): require_once('/home/pellabu2/...')
#6 {main}
Ernest McDermon
Snellville, GA
Re: Contaol 2.11.0 Upgrade Failure - Work around
I found a suggestion from Ruud elsewhere on the forum to get through this:
I manually deleted the folder for the Helpdesk at
Code:
system/modules/helpdesk
and then ran the install tool again and was able to complete the upgrade to Contao 2.11.0. The only extension this morning that has an approved update for 2.11.0 is "Imageslider" (good job there!). I think I'll hold off on reinstalling helpdesk until the development team gets this sorted out.
Ernest McDermon
Snellville, GA
Re: Contaol 2.11.0 Upgrade Failure - Helpdesk issues?
You can get the helpdesk Extension 1.3.1 to work for Contao 2.11 pretty easy.
There is no need to delete the whole extension! But change it before you update.
Just replace the config.php in system/modules/helpdesk/config/ with this:
Code:
<?php if (!defined('TL_ROOT')) die('You can not access this file directly!');
/**
* Contao Helpdesk :: Configuration file
*
* NOTE: this file was edited with tabs set to 4.
* @package Helpdesk
* @copyright Copyright (C) 2007, 2008 by Peter Koch, IBK Software AG
* @license See accompaning file LICENSE.txt
*/
/**
* CONTENT ELEMENTS
*/
array_insert($GLOBALS['TL_CTE']['includes'], 0, array(
'helpdesk_comments' => 'HelpdeskComments'
));
/**
* BACK END MODULES
*/
array_insert($GLOBALS['BE_MOD'], 0, array(
'helpdesk' => array(
'helpdesk_discuss' => array(
'callback' => 'HelpdeskBackendModule',
'icon' => 'system/modules/helpdesk/themes/default/images/helpdesk16.png',
'stylesheet' => 'system/modules/helpdesk/themes/default/frontend.css'
),
'helpdesk_structure' => array(
'tables' => array('tl_helpdesk_categories'),
'icon' => 'system/modules/helpdesk/themes/default/images/structure16.png',
'stylesheet' => 'system/modules/helpdesk/themes/default/backend.css'
),
'helpdesk_settings' => array(
'tables' => array('tl_helpdesk_settings'),
'icon' => 'system/modules/helpdesk/themes/default/images/settings16.gif',
'stylesheet' => 'system/modules/helpdesk/themes/default/backend.css'
)
)
));
/**
* FRONT END MODULES
*/
$GLOBALS['FE_MOD']['application'] += array('helpdesktitle' => 'HelpdeskFrontendTitle');
$GLOBALS['FE_MOD']['application'] += array('helpdesk' => 'HelpdeskFrontendModule');
/**
* HOOKS
*/
$GLOBALS['TL_HOOKS'][(VERSION=='2.5' && (int)BUILD<10) ? 'outputTemplate' : 'outputFrontendTemplate'][] = array('HelpdeskTags', 'replaceTags');
$GLOBALS['TL_HOOKS']['getSearchablePages'][] = array('HelpdeskFrontend', 'getSearchablePages');
?>