404 trying to load "TraceLogViewer/TraceLog/GetLogData" with virtual path
Hello,
my Umbraco installation is at "mywebsite.com/MyVirtualPath/" and it causes me to have a 404 when trying to load /Umbraco/Backoffice/TraceLogViewer/TraceLog/GetLogData
A potential fix would be to edit EditController.js, line 21 from
var dataUrl = '/Umbraco/Backoffice/TraceLogViewer/TraceLog/GetLogData?logfileName=' + $routeParams.id;
to
var dataUrl = 'Backoffice/TraceLogViewer/TraceLog/GetLogData?logfileName=' + $routeParams.id;
404 trying to load "TraceLogViewer/TraceLog/GetLogData" with virtual path
Hello,
my Umbraco installation is at "mywebsite.com/MyVirtualPath/" and it causes me to have a 404 when trying to load /Umbraco/Backoffice/TraceLogViewer/TraceLog/GetLogData
A potential fix would be to edit EditController.js, line 21 from
to
What do you think?
Hi,
Thanks, I'd never tried it using a virtual path - I wasn't even sure if Umbraco supported virtual directories.
So does using a relative URL with a prefixing slash sort the issue? Does everything else work OK? If so, I'll put this in the next release.
The change I proposed fixed things on my side.
I don't know if this is called somewhere other than from the Developper tab tho.
Thanks, I've tried locally and it all seems to work, so this will definitely go in the next release!
Thank you. :)
Hi,
Just to let you know the latest release includes the virtual path fix - thanks for your help :)
https://www.nuget.org/packages/DiploTraceLogViewer/
https://our.umbraco.org/projects/developer-tools/diplo-trace-log-viewer/
is working on a reply...