Search code examples
coldfusioncoldbox

Why isn't Coldbox route-visualizer displaying in browser after successful install?


I have Coldbox and a Coldbox app on my local machine, which I'm using for a Coldbox hands-on video course (CFcasts.com, "Coldbox from Zero to Hero Workshop). I just successfully installed the route-visualizer module for Coldbox via Commandbox:

install route-visualizer --savedev

And CommandBox says it was installed. Then I did a reinit:

coldbox reinit

And my server reinitted. Ortus documentation says I should now be able to go to 127.0.0.1:42518/route-visualizer and see something in my browser, but instead I'm getting an error message from Coldbox: "The event: route-visualizer is not a valid registered event." I've tried repeating the steps above, with the same results.


Solution

  • Is the route-visualizer module installed in the /modules folder of your working site? Once in awhile I will run the install command from the wrong directory and then wonder where my module is. :)

    It's also possible that the reinit command isn't hitting the right server.

    I would suggest a manual reinit ( http://127.0.0.1:42518?fwreinit=1 ).