[Tickets #8969] Re: Upgrade task fatal error with fresh database

bugs at horde.org bugs at horde.org
Thu Jul 29 10:39:24 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8969
------------------------------------------------------------------------------
  Ticket             | 8969
  Updated By         | Jan Schneider <jan at horde.org>
  Summary            | Upgrade task fatal error with fresh database
-Queue              | Turba
+Queue              | Horde Framework Packages
-Version            | Git master
+Version            | Git master
  Type               | Bug
  State              | Assigned
-Priority           | 1. Low
+Priority           | 3. High
  Milestone          |
  Patch              |
  Owners             | Horde Developers
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2010-07-29 06:39) wrote:

This not only happens in Turba, but is a general problem with  
first-time users. Here is another backtrace:

[28-Jul-2010 18:17:50] PHP Fatal error:  Cannot redeclare class  
Horde_LoginTasks_SystemTask_GarbageCollection in  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/horde/lib/LoginTasks/SystemTask/GarbageCollection.php on line  
13
[28-Jul-2010 18:17:50] PHP Stack trace:
[28-Jul-2010 18:17:50] PHP   1. {main}()  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/kronolith/index.php:0
[28-Jul-2010 18:17:50] PHP   2. Horde_Registry::appInit($app =  
'kronolith', $args = *uninitialized*)  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/kronolith/index.php:10
[28-Jul-2010 18:17:50] PHP   3. Horde_Registry->pushApp($app =  
'kronolith', $options = array ('check_perms' => TRUE, 'logintasks' =>  
TRUE))  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry.php:208
[28-Jul-2010 18:17:50] PHP   4. Horde_Registry->callAppMethod($app =  
'kronolith', $call = 'init', $options = *uninitialized*)  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry.php:1198
[28-Jul-2010 18:17:50] PHP   5. call_user_func_array(array (0 => class  
Kronolith_Application { public $ajaxView = TRUE; public $version = 'H4  
(3.0-git)'; public $mobileView = FALSE; public $disabled = array  
(...); public $initParams = array (...); protected $_initDone = TRUE  
}, 1 => 'init'), array ())  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry.php:944
[28-Jul-2010 18:17:50] PHP   6. Horde_Registry_Application->init()  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry.php:0
[28-Jul-2010 18:17:50] PHP   7. Kronolith_Application->_init()  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry/Application.php:87
[28-Jul-2010 18:17:50] PHP   8. Kronolith::initialize()  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/kronolith/lib/Application.php:73
[28-Jul-2010 18:17:50] PHP   9. Horde_Registry->call($method =  
'contacts/listTimeObjectCategories', $args = *uninitialized*)  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/kronolith/lib/Kronolith.php:1106
[28-Jul-2010 18:17:50] PHP  10. Horde_Registry->callByPackage($app =  
'turba', $call = 'listTimeObjectCategories', $args = array (),  
$options = *uninitialized*)  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry.php:851
[28-Jul-2010 18:17:50] PHP  11. Horde_Registry->pushApp($app =  
'turba', $options = array ('check_perms' => TRUE))  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry.php:889
[28-Jul-2010 18:17:50] PHP  12.  
Horde_Core_Factory_LoginTasks->getLoginTasks($app = 'turba')  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry.php:1208
[28-Jul-2010 18:17:50] PHP  13. Horde_LoginTasks->__construct($backend  
= class Horde_Core_LoginTasks_Backend_Horde { private $_app = 'turba'  
})  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Core/Factory/LoginTasks.php:64
[28-Jul-2010 18:17:50] PHP  14. Horde_LoginTasks->_createTaskList()  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/LoginTasks/lib/Horde/LoginTasks.php:75
[28-Jul-2010 18:17:50] PHP  15.  
Turba_LoginTasks_SystemTask_UpgradePrefs->execute()  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/LoginTasks/lib/Horde/LoginTasks.php:157
[28-Jul-2010 18:17:50] PHP  16. Horde_Registry->loadPrefs($app =  
'imp')  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/turba/lib/LoginTasks/SystemTask/UpgradePrefs.php:48
[28-Jul-2010 18:17:50] PHP  17. Horde_Registry->pushApp($app = 'imp',  
$options = *uninitialized*)  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry.php:1334
[28-Jul-2010 18:17:50] PHP  18.  
Horde_Core_Factory_LoginTasks->getLoginTasks($app = 'imp')  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry.php:1208
[28-Jul-2010 18:17:50] PHP  19. Horde_LoginTasks->__construct($backend  
= class Horde_Core_LoginTasks_Backend_Horde { private $_app = 'imp' })  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Core/Factory/LoginTasks.php:64
[28-Jul-2010 18:17:50] PHP  20. Horde_LoginTasks->_createTaskList()  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/LoginTasks/lib/Horde/LoginTasks.php:75
[28-Jul-2010 18:17:50] PHP  21.  
Horde_Core_LoginTasks_Backend_Horde->getTasks()  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/LoginTasks/lib/Horde/LoginTasks.php:108
[28-Jul-2010 18:17:50] PHP  22. Horde_Registry->getAppDrivers($app =  
'imp', $prefix = 'LoginTasks_SystemTask')  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Core/LoginTasks/Backend/Horde.php:106
[28-Jul-2010 18:17:50] PHP  23.  
class_exists('imp_LoginTasks_SystemTask_GarbageCollection')  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Core/lib/Horde/Registry.php:1488
[28-Jul-2010 18:17:50] PHP  24. Horde_Autoloader->loadClass($className  
= 'imp_LoginTasks_SystemTask_GarbageCollection')  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Autoloader/lib/Horde/Autoloader.php:0
[28-Jul-2010 18:17:50] PHP  25. Horde_Autoloader->_include($path =  
'/servers/www/cals.webmail.labs.sapo.pt/horde/lib/LoginTasks/SystemTask/GarbageCollection.php')  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Autoloader/lib/Horde/Autoloader.php:21
[28-Jul-2010 18:17:50] PHP  26. include()  
/fasmounts/webmail/www/cals.webmail.labs.sapo.pt/horde-git/framework/Autoloader/lib/Horde/Autoloader.php:76






More information about the bugs mailing list