i have issue of viewing my app on the server. i can only run it via localhost.
my title is the error showing on the logs.
After deploying this is what shows up.
ERROR: An error has occurred. Check your logs or contact the app author for clarification.
You shouldn't be using setwd() and using an absolute path inside it makes it worse, have in mind that when the app is deployed to the server is going to be executed on a computer other that yours where that file path doesn't exist, so modify your code to include relative paths only and avoid using setwd()