feroze Posted October 13, 2014 Share Posted October 13, 2014 Hi, My prestashop site and admin panel is working fine. But when i try to add new category or product, it shows only a blank page. Please help? Thanks Link to comment Share on other sites More sharing options...
El Patron Posted October 13, 2014 Share Posted October 13, 2014 this will help you get the underlying error which you can then search for existing issue/solution http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Link to comment Share on other sites More sharing options...
feroze Posted October 13, 2014 Author Share Posted October 13, 2014 Thanks for reply Patron. i'm getting following errors: Notice: Constant __PS_BASE_URI__ already defined in /home/fashionc/public_html/shopping/config/config.inc.php on line 105 Fatal error: Call to undefined method Category::getNestedCategories() in /home/fashionc/public_html/shopping/classes/helper/HelperTreeCategories.php on line 61 Thanks Link to comment Share on other sites More sharing options...
El Patron Posted October 13, 2014 Share Posted October 13, 2014 remove file (delete) cache/class_index.php it will be re-generated. Link to comment Share on other sites More sharing options...
nbtproducts Posted February 4, 2015 Share Posted February 4, 2015 Hi, I need help with categories setup. I get this error; Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with DispatcherCore::loadRoutes($id_shop = NULL) in /var/zpanel/hostdata/chicnluxury/public_html/chic-n-luxury_com/override/classes/Dispatcher.php on line 0Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /var/zpanel/hostdata/chicnluxury/public_html/chic-n-luxury_com/override/controllers/admin/AdminCategoriesController.php on line 4 Could you help me? Thanks in advance Link to comment Share on other sites More sharing options...
nbtproducts Posted February 8, 2015 Share Posted February 8, 2015 Any help with my problem? I am kind of desperate. Thanks Link to comment Share on other sites More sharing options...
bellini13 Posted February 9, 2015 Share Posted February 9, 2015 Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with DispatcherCore::loadRoutes($id_shop = NULL) in /var/zpanel/hostdata/chicnluxury/public_html/chic-n-luxury_com/override/classes/Dispatcher.php on line 0 Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /var/zpanel/hostdata/chicnluxury/public_html/chic-n-luxury_com/override/controllers/admin/AdminCategoriesController.php on line 4 You first need to understand why you are using overrides. Did you install a module that installed the overrides, did you create the overrides, did you have a developer make a custom change for you? Once you understand where they came from, you then need to contact whoever provided the override to you, and let them know they do not work properly and they need to be fixed. Link to comment Share on other sites More sharing options...
Recommended Posts