Fatal Error Constant TB_EXTENSIONS_ROOT already defined

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeFatal Error Constant TB_EXTENSIONS_ROOT already defined

This topic has been marked as resolved.

I uploaded a clean copy of OpenCart 1.541 and uploaded the Shoppica v.2.2.0 theme. I uploaded the additional index.php file and activated the theme. When I try to access the store front, I receive the following fatal erro message:

Notice: Constant TB_THEME_ROOT already defined in /home/renataaa/public_html/catalog/controller/common/tb.php on line 26Notice: Constant TB_EXTENSIONS_ROOT already defined in /home/renataaa/public_html/catalog/controller/common/tb.php on line 27PHP Fatal error: ‘This callablle has been already defined: getJavascriptRegistry’
in /home/renataaa/public_html/tb_themes/shoppica2/library/DataBag.php:33
Stack trace:
#0 tb_themes/shoppica2/catalog/ThemeCatalogExtension.php(56): TB_DataBag->addCallable(Array)
#1 [internal function]: Theme_Catalog_Extension->afterRouting(Object(sfEvent))
#2 tb_themes/shoppica2/library/vendor/sfEventDispatcher.php(79): call_user_func(Array, Object(sfEvent))
#3 tb_themes/shoppica2/library/CatalogDispatcher.php(102): sfEventDispatcher->notify(Object(sfEvent))
#4 tb_themes/shoppica2/library/CatalogDispatcher.php(59): TB_CatalogDispatcher->doRouting(Object(sfEventDispatcher), Object(Request), Object(TB_DataBag))
#5 catalog/controller/common/tb.php(35): TB_CatalogDispatcher->dispatch()
#6 [internal function]: ControllerCommonTb->index(Object(Front))
#7 system/engine/front.php(42): call_user_func_array(Array, Array)
#8 system/engine/front.php(29): Front->execute(Object(Action))
#9 index.php(222): Front->dispatch(Object(Action), Object(Action))
#10 {main}

Please advise me on how to correct this issue so that I can continue to rebuild my shop with Shoppica. Thanks

October 23, 2012 at 6:53 pm #14642

Problem solved. I installed Shoppica version 1 and enabled the theme. Switched back to version 2 and everything seems to be working well. Now I will install extensions and test each one before adding more.

October 24, 2012 at 1:06 am #14648
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.