• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not work Debug toolbar

#1
Hello!

After upgrade CR1->CR2 debug toolbar not work.
I get error in console ?debugbar_time=1569581131 500 (Internal Server Error)
Logs:

CRITICAL - 2019-09-27 05:34:20 --> Invalid file:
#0 /home/a0327641/domains/site.ru/public_html/system/View/Parser.php(156): CodeIgniter\Exceptions\FrameworkException::forInvalidFile('')
#1 /home/a0327641/domains/site.ru/public_html/system/Debug/Toolbar/Views/toolbar.tpl.php(139): CodeIgniter\View\Parser->render('_files.tpl')
#2 /home/a0327641/domains/site.rupublic_html/system/Debug/Toolbar.php(495): include('/home/a0327641/...')
#3 /home/a0327641/domains/site.ru/public_html/system/Debug/Toolbar.php(453): CodeIgniter\Debug\Toolbar->format(Array, 'html')
#4 /home/a0327641/domains/site.ru/public_html/app/Config/Events.php(41): CodeIgniter\Debug\Toolbar->respond()
#5 [internal function]: CodeIgniter\Events\Events::Config\{closure}()
#6 /home/a0327641/domains/site.ru/public_html/system/Events/Events.php(187): call_user_func(Object(Closure))
#7 /home/a0327641/domains/site.ru/public_html/system/CodeIgniter.php(226): CodeIgniter\Events\Events::trigger('pre_system')
#8 /home/a0327641/domains/site.ru/public_html/index.php(47): CodeIgniter\CodeIgniter->run()
#9 {main}


how can i fix this?
Reply

#2
It's a known issue, fix in the works: https://github.com/codeigniter4/CodeIgni...ssues/2275

Quick fix is open system/Debug/Toolbar/Views and rename _*.tpl.php to _*.tpl
Reply

#3
(09-27-2019, 05:51 PM)MGatner Wrote: It's a known issue, fix in the works: https://github.com/codeigniter4/CodeIgni...ssues/2275

Quick fix is open system/Debug/Toolbar/Views and rename _*.tpl.php to _*.tpl

thank you!
Reply

#4
Fixed in https://github.com/codeigniter4/CodeIgni....0.0-rc.2b
Reply

#5
See https://forum.codeigniter.com/thread-74473.html
Reply

#6
thanks to all!
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.