CP doens't work after deploy #9487
-
I just deployed my statamic site using Digital Ocean App Platform. My frontend site works, but I can't access my control panel anymore. I get a 500 server error when trying to access it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Are you able to access the Laravel log? It'll usually tell you what error is occurring, then you can fix it from there. Normally, you'd find your Laravel log file in |
Beta Was this translation helpful? Give feedback.
I temporarily enabled debug mode and found the problem. My cp.css and cp.js were not found with the build as I'm not using those files, but they were put in the boot function in the AppServiceProvider.php. I deleted that part of the code in that file and the problem is now solved. Thank you for your help!