Routing breaks page

i have a page that was working,i added routing with url parameter and the page starts rendering incorrectly. i observed there are many errors on the page also…

im using wappler 3.9.7 with nodejs

access page here… http://172.104.52.64/ProjectView/:id/

errors

I don’t see this many errors hard refresh your browser CTRL and F5 in chrome in safari shift then hit the refresh circle

I did that… I Even cleared cache…it didn’t work

Is this how the page looks for you?

I have noticed this is a redirect assuming this isn’t the page that isn’t working?

If I need to login what details shall i use?

Nope… The security restrict is from the layout page, i have removed it …try the link again… Without the url parameter the page works fine, with url parameter it doesn’t…

{“status”:“404”,“message”:"/ProjectView/:id/dmxAppConnect/dmxAppConnect.js not found."}

I believe a lot of the errors come from this im not 100% sure but I think this would point to http://172.104.52.64/dmxAppConnect/dmxAppConnect.js normally (I maybe wrong) did you do a full publish?

Yes. I did full publish… App connect is present in the layout page and the content page

In your project settings are you using site root apposed to document?

If its on document try switch to site root maybe

It worked… Thanks very much… Maybe that was the error is… I tried switching it back and forth between document and site root, both now works perfectly… But i left it at site root

1 Like