Solved - Blank File Manager (no errors visible?) - Logging / Debug?
Permalink 1 user found helpful
UPDATE: You should always be careful if you use "rsync -r" on a directory with "--exclude=files", because it will exclude the "dashboard/controller/files"-dir as well, which is not the best choice if you want to load the file manager. ;) (Use "--exclude=/files" instead). ;) Problem solved.
Hey c5-folks!
I'm testing a deployment concept right now. I stumbled across an error that the file manager does not load correctly and that there is only a blank page under the file manager tabs.
How can I debug this? There are no report logs or errors visible in my php-error-log. Permission are 777 and the apache-user (www-data) owns it.
What I did was simply coping the files and packages folder from a live/production server to a staging server. And I also copied the db from the production server. I thought maybe this is a cache issue, but clearing the cache did not help.
Help much appreciated!
Thanks!
Hey c5-folks!
I'm testing a deployment concept right now. I stumbled across an error that the file manager does not load correctly and that there is only a blank page under the file manager tabs.
How can I debug this? There are no report logs or errors visible in my php-error-log. Permission are 777 and the apache-user (www-data) owns it.
What I did was simply coping the files and packages folder from a live/production server to a staging server. And I also copied the db from the production server. I thought maybe this is a cache issue, but clearing the cache did not help.
Help much appreciated!
Thanks!
You just saved my life! Had the same problem only with tar, using --exclude="files". Thanks a million man!
Glad I could help! ;)
If you don't want to reinstall CMS - fixing the problem won't solve the issue. It is because information about controller is stored in Pages table.
I didn't know that and it had cost me a while to figure out.
Please make sure you update the Pages table (look at ID: 10,11,12,13,14) which corresponds usually to /dashboard/files/...
Otherwise you will have '0' value there which is wrong.
I didn't know that and it had cost me a while to figure out.
Please make sure you update the Pages table (look at ID: 10,11,12,13,14) which corresponds usually to /dashboard/files/...
Otherwise you will have '0' value there which is wrong.