ferp2 Posted April 12, 2014 Share Posted April 12, 2014 Hello, I have a new installation of Pshop 1.6.0.5. When I log into the BO, I get a "Controller not found" error message. If I log out and log back in, it takes me to the Dashboard. If I log out, empty the cache, and log back in, I get the "Controller not found" message again. httpd error_log shows this: Trying to get property of non-object in /home/xxx/public_html/cache/smarty/compile/12/f7/e8/12f7e8062917514599979f3d16ee7533cfda043e.file.page_header_toolbar.tpl.php on line 64, referer: http://domain.com/adminxxxx/index.php?controller=AdminDashboard&token=b9c17004592964b0cb6329a5f7e5ceaf I've seen this post, and it doesn't help: http://www.prestashop.com/forums/topic/318517-solved-error-controller-not-found-on-bo-dashboard-when-logged-in-to-bo/ controllers/admin/AdminDashboardController.php exists in my installation. Any suggestions, Thanks. Link to comment Share on other sites More sharing options...
Ralph Northcott Posted April 25, 2014 Share Posted April 25, 2014 I have the same problem. I am just upgrading to 1.6. On my first log in to admin in 1.6 I got this message "Controller not found". It does not say which controller is missing. I have installed 1.6 several times, but each time I get the same message. The error must be in the installation files. Each time I log in, the message is there. The installation works apart from Featured products on the home page and New Products. There is a conflict. They will not work together. If both enabled, they both display at once, the link tabs are frozen together and do not function. Also, I cannot upload my favicon from Preferences/Themes. I press all the right buttons and select the correct file. I get "changes saved" message but the favicon does not change. Could the missing controller be responsible and if so, which one is it and how can I fix? Link to comment Share on other sites More sharing options...
Ralph Northcott Posted April 25, 2014 Share Posted April 25, 2014 Just to add - All my files seem to be present - none are missing, including AdminDashboardController.php , so the fix suggested for other users will not work for me Link to comment Share on other sites More sharing options...
vekia Posted April 25, 2014 Share Posted April 25, 2014 solution is here: http://www.prestashop.com/forums/topic/318517-solved-error-controller-not-found-on-bo-dashboard-when-logged-in-to-bo/ (i hope so) Link to comment Share on other sites More sharing options...
Ralph Northcott Posted May 5, 2014 Share Posted May 5, 2014 All was ok for a few days. I have done nothing to my website for three days, receiving orders ok, now when I try to access my site (cactus-shop.co.uk) this morning, I cannot see the site and I cannot access the back-end. The error message still mentions the Admin Controller: Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/wwwcactu/public_html/cache/smarty/compile/wrt5367448dd91914.39262775' in /home/wwwcactu/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home/wwwcactu/public_html/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/wwwcactu/...', '<?php /* Smarty...', Object(Smarty)) #1 /home/wwwcactu/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /home/wwwcactu/public_html/classes/controller/AdminController.php(1459): Smarty_Internal_TemplateBase->fetch() #3 /home/wwwcactu/public_html/classes/controller/Controller.php(198): AdminControllerCore->display() #4 /home/wwwcactu/public_html/classes/Dispatcher.php(373): ControllerCore->run() #5 /home/wwwcactu/public_html/admin123/index.php(54): DispatcherCore->dispatch() #6 {main} thrown in /home/wwwcactu/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 Link to comment Share on other sites More sharing options...
NemoPS Posted May 5, 2014 Share Posted May 5, 2014 Try erasing your cache (advanced parameters, performance, clear smarty cache), and then check the folder's permissions Link to comment Share on other sites More sharing options...
Recommended Posts