When I browse to /path/to/vanilla/forum/setup/ I'm presented with a very detailed error message that outlines where Vanilla has been installed to.
This gives away too much system information for my liking and I'd like to hide the page. I can see the error message is being generated by:
forum/applications/dashboard/controllers/class.setupcontroller.php
Is it possible to disable this page without hacking the PHP code in this file?
x00
Don't PM about development, I'm not currently taking on clients MVP
Server rule have some nuances, which can be specific to your setup
I may be easier to use vanilla routes. dashboard/routes->Add Route
(dashboard/)?setup(/.*)?
dashboard/home/filenotfound
Not Found (404)
You could also use it to redirect to a custom page. I would say report this on git hub becuase is still triggers even if debugging is off. it should really show 'Bonk!' as default. https://github.com/vanillaforums/Garden/issues
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
Answers
yes with server rules like .htaccess something like so
RewriteRule ^setup(/.*)$ dashboard/home/filenotfound [R=404, L]Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·This gives me a 500 internal redirect error.
I've got Vanilla installed in a subfolder or the domain root but have modified my .htaccess accordingly.
- Spam
- Abuse
0 · Insightful Awesome LOL ·This works
change
/path/to/forumDon't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·This doesn't work either. No 500 error but it doesn't hide the setup page output.
Tried a few combinations but I can't get it to work. Any thoughts?
- Spam
- Abuse
0 · Insightful Awesome LOL ·Alternatively, would it be possible just to setup Vanilla to return a simple message saying that it has already been installed as opposed to revealing system paths?
- Spam
- Abuse
0 · Insightful Awesome LOL ·Sweet, this worked a treat and I've reported it to GitHub as suggested.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Suggestion number on gitHub? So I can add it to the topic title
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
0 · Insightful Awesome LOL ·GitHub number 1377
- Spam
- Abuse
0 · Insightful Awesome LOL ·