Error after upgrade to 1.2.1 (from <1.0)

We have installed different versions of piwik central on the server with bootstrap.php. Each site has its own database and points to one of the versions.

Today we tried to install the latest version 1.2.1.
The customer who is our first victum, has 3 sites. The third is a new site. So this was a nice victum to upgrade to the latest piwik.
But an error occurred after upgrading.
First we tried to updated the first site also. And found out that the second was installed wrongly, but not in use.

I tell this, cause maybe this is why the error is shown.
It seems also a problem in the smarty: errors too strict?

Please help???
I dont want to try an other site. Cause it is much work to restore the backup when it goes wrong

Greetz, Lydia

The first error is:

[size=small]Notice: Undefined index: loginModule in /home/gpd/domains/gpdinterieur.nl/piwik/tmp/templates_c/%%A5^A51^A51D6D8B%%top_bar.tpl.php on line 37

Backtrace -->
#0 Piwik_ErrorHandler(8, Undefined index: loginModule, /home/gpd/domains/gpdinterieur.nl/piwik/tmp/templates_c/%%A5^A51^A51D6D8B%%top_bar.tpl.php, 37, Array ([this] => Piwik_Smarty Object ([template_dir] => Array ([0] => /home/piwik/piwik_006/plugins,[1] => /home/piwik/piwik_006/themes/default,[2] => /home/piwik/piwik_006/themes),[compile_dir] => /home/gpd/domains/gpdinterieur.nl/piwik/tmp/templates_c,[config_dir] => configs,[plugins_dir] => Array ([0] => /home/piwik/piwik_006/core/SmartyPlugins,[1] => /home/piwik/piwik_006/libs/Smarty/plugins),[debugging] => 0,[error_reporting] => 6143,[debug_tpl] => ,[debugging_ctrl] => NONE,[compile_check] => 1,[force_compile] => ,[caching] => 0,[cache_dir] => /home/gpd/domains/gpdinterieur.nl/piwik/tmp/cache,[cache_lifetime] => 3600,[cache_modified_check] => ,[php_handling] => 0,[security] => ,[secure_dir] => Array (),[security_settings] => Array ([PHP_HANDLING] => ,[IF_FUNCS] => Array ([0] => array,[1] => list,[2] => isset,[3] => empty,[4] => co…NederlandsOver de Piwik vertalingenአማርኛالعربيةБеларускаяБългарскиCatalàČeskyDanskDeutschΕλληνικάEnglishEspañolEesti keelEuskaraSuomiFrançaisGalegoעבריתMagyarBahasa IndonesiaÍslenskaItaliano日本語ქართული한국어LietuviųNorsk (bokmål)NederlandsNynorskPolskiPortuguês brasileiroPortuguêsRomânăРусскийSlovenskyShqipSrpskiSvenskaతెలుగుภาษาไทยTürkçeУкраїнська简体中文繁體中文,[_order] => 30,[_hasSubmenu] => )),[currentAdminMenuName] => ,[debugTrackVisitsInsidePiwikUI] => 0,[isSuperUser] => 1,[menu] => Array ([_html] => NederlandsOver de Piwik vertalingenአማርኛالعربيةБеларускаяБългарскиCatalàČeskyDanskDeutschΕλληνικάEnglishEspañolEesti keelEuskaraSuomiFrançaisGalegoעבריתMagyarBahasa IndonesiaÍslenskaItaliano日本語ქართული한국어LietuviųNorsk (bokmål)NederlandsNynorskPolskiPortuguês brasileiroPortuguêsRomânăРусскийSlovenskyShqipSrpskiSvenskaతెలుగుภาษาไทยTürkçeУкраїнська简体中文繁體中文,[_order] => 30,[_hasSubmenu] => ),[content] => ,[show_autocompleter] => ,[currentModule] => CoreHome,[userLogin] => admin,[totalTimeGeneration] => 0.191,[totalNumberOfQueries] => 0,[showSitesSelection] => 1,[label] => LanguageSelector),[_smarty_vars] => ,[_sections] => Array (),[_foreach] => Array ([topMenu] => Array ([total] => 4,[iteration] => 4)),[_tag_stack] => Array (),[_conf_obj] => ,[_config] => Array ([0] => Array ([vars] => Array (),[files] => Array ()),[1] => Array ([vars] => Array (),[files] => Array ()),[2] => Array ([vars] => Array (),[files] => Array ())),[_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f,[_version] => 2.6.26,[_inclusion_depth] => -2,[_compile_id] => ,[_smarty_debug_id] => SMARTY_DEBUG,[_smarty_debug_info] => Array (),[_cache_info] => Array (),[_file_perms] => 420,[_dir_perms] => 505,[_reg_objects] => Array (),[_plugins] => Array ([modifier] => Array ([translate] => Array ([0] => smarty_modifier_translate,[1] => CoreHome/templates/header.tpl,[2] =>…#1 include(/home/gpd/domains/gpdinterieur.nl/piwik/tmp/templates_c/%%A5^A51^A51D6D8B%%top_bar.tpl.php) called at [/home/piwik/piwik_006/libs/Smarty/Smarty.class.php:1869]#2 Smarty->_smarty_include(Array ([smarty_include_tpl_file] => CoreHome/templates/top_bar.tpl,[smarty_include_vars] => Array ())) called at [/home/gpd/domains/gpdinterieur.nl/piwik/tmp/templates_c/%%00^00A^00A3E455%%header.tpl.php:35]#3 include(/home/gpd/domains/gpdinterieur.nl/piwik/tmp/templates_c/%%00^00A^00A3E455%%header.tpl.php) called at [/home/piwik/piwik_006/libs/Smarty/Smarty.class.php:1869]#4 Smarty->_smarty_include(Array ([smarty_include_tpl_file] => CoreHome/templates/header.tpl,[smarty_include_vars] => Array ())) called at [/home/gpd/domains/gpdinterieur.nl/piwik/tmp/templates_c/%%8E^8EA^8EA6EC60%%index.tpl.php:8]#5 include(/home/gpd/domains/gpdinterieur.nl/piwik/tmp/templates_c/%%8E^8EA^8EA6EC60%%index.tpl.php) called at [/home/piwik/piwik_006/libs/Smarty/Smarty.class.php:1263]#6 Smarty->fetch(/home/piwik/piwik_006/plugins/CoreHome/templates/index.tpl) called at [/home/piwik/piwik_006/core/View.php:173]#7 Piwik_View->render() called at [/home/piwik/piwik_006/plugins/CoreHome/Controller.php:90]#8 Piwik_CoreHome_Controller->index()#9 call_user_func_array(Array ([0] => Piwik_CoreHome_Controller Object ([] => CoreHome,[] => 2011-03-23,[] => Piwik_Date Object ([] => 1300899315,[] => UTC),[] => 1,[] => Piwik_Site Object ([] => 1)),[1] => index), Array ()) called at [/home/piwik/piwik_006/core/FrontController.php:125]#10 Piwik_FrontController->dispatch() called at [/home/piwik/piwik_006/index.php:57][/size]

delete all files in piwik/tmp/templates_c and try again?

yes we did that already several times. Also deleted the assets and cache
But it doesnt work.

On one of the sites we still get the same error
On the other site we have a new error now:

-------------------------error-------------------------
[in CoreHome/templates/top_bar.tpl line 1]: [plugin] unknown tag - ‘assignTopBar’ (core.load_plugins.php, line 118)

maybe we do something stupid.
a forgotten setting maybe
also because we have installed piwik central on the server, which is a bit more difficult.

But we did new versions before, and that went fine.
And now we really cannot find it.

please help

[in CoreHome/templates/top_bar.tpl line 1]: [plugin] unknown tag - ‘assignTopBar’ (core.load_plugins.php, line 118)

it sounds like some files are maye not uploaded correctly?

also make sure you disable third party plugins if you have some installed in case they are not compatible with latest version