when I try to access my online catalog from the admin panel.
Why do that???

Most any browser today has the tab ability
One tab for the shop & another tab for your admin

But in general for 500 errors are server errors

https://www.zen-cart.com/tutorials/index.php?article=63