Default Pages in DNN wont load as I deleted the 404 Error page - dotnetnuke

I was trying to solve a problem by deleting a 404 Error page in DNN (Recycle Bin was also cleaned) so that I can create a completely new page.
When I try to go back to Site Settings > Site Behavior > Default Pages, it fails to load and gives a wrong Internet Connection message which is caused by DNN not finding the default 404 Error page anymore.
UPDATE
I did try to RUN the following to set the 404 Error Page to a default value, but it still seems broken.
Update [dbo].[PortalLocalization] set Custom404TabID = NULL
I get the following error in the Console when trying to load Default Pages. It says the portal ID is undefined, but I checked and it is defined in PortalLocalization.
HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
(XHR)GET - https://www.ourwebsite.co.za/API/PersonaBar/SiteSettings/GetDefaultPagesSettings?portalId=undefined&cultureCode=en-US

Related

Nextjs dynamic route page return 403 Forbidden error for only one specific user dynamic route

I have my route defined as patients/[userID].tsx in pages dir.
When I tried to access one of the specific active userID (eg. patients/7917067d) it gave 403 Forbidden error in prod only, In dev, it is working fine.
FYI, when I enter the wrong userId it gives 404 which is correct behaviour but don't know why only this userId which is correct gives a 403 error.
NOTE: I am using Static Generation with Client-side data fetching
Upgrading the nextjs package to 12.3.3 did the work.
Refer this github issue for more details.

How to add custom error page to app served with shinyproxy

I am serving a R app using ShinyProxy with default configurations. When there is an error, the default error page exposes a lot of information about what caused the error. I would like to replace the error page, but cannot figure out where to find the HTML that creates the error message.
There is a git repo https://github.com/openanalytics/shinyproxy-config-examples/tree/master/04-custom-html-template shows how to change html for log in and the index page, but i cannot seem to find the error- does anyone have any suggestions?
Maybe this will help: https://www.tutorialspoint.com/adding-404-page-in-express
and you can replace res.send('<h1> Page not found </h1>'); with res.sendFile(pagedir);

React/Github-pages: Failed to load resource: the server responded with a status of 404 ()

I have successfully uploaded react app`s to github pages before, but this time when I try to upload a new page the code is pushed and everything looks fine in the repository, everything loads fine in the localhost. The problem is when I access the website in the console i get the error message above.
const res = await axios.get(' https://api.open5e.com/monsters/?limit=1086');
I am using this API, the limit is above 50 but I don`t believe this is the reason for the crash but I cannot think of anything else.
Website 1: (Currently redirects you to a 404 error page, as part of my attempt to solve the problem)
https://ottotsuma.github.io/MonsterSearch/
Repo - Website 1:
https://github.com/ottotsuma/MonsterSearch
Website 2:
https://ottotsuma.github.io/MonsterApiReact/
Repo all code:
https://github.com/ottotsuma/DnD-React
I also get this error in localhost and the hosted website: Uncaught TypeError: Cannot use 'in' operator to search for 'default' in undefined. But since the website was working as intended so far I have just ignored it.
I was hoping if anyone else has had a similar problem with gh-pages they might know what I have done wrong.
Kind regards,
Sheep

Phoenix 1.2 start page loads blank

When I generate a new Phoenix application, start the server and go to localhost:4000, I just see a blank page.
It also prints out a Failed to load resource error for favicon.ico in the javascript console.
Clearing the browser cookies for localhost:4000 resolved this error for me.

Endpoints stopped working with proxy.html error

Error I'm getting
Refused to display 'ah/api/static/proxy.html?jsh=m%3B%2F%2">https://appname.appspot.com/ah/api/static/proxy.html?jsh=m%3B%2F%2…8s_uMxLg#parent=http%3A%2F%2Fappname.appspot.com&rpctoken=....' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Everything worked until yesterday. Started browser this morning to access app and got above message. Getting this on other endpoint apps too. Seems to fail when I access the endpoints to get info from the backend.
Yes, Endpoints discovery seems to be failing, but it's on Google's side and not your code. Star this issue and get updates on its progress:
https://code.google.com/p/googleappengine/issues/detail?id=9167
End points are indeed down for several of our apps. Certainly an error on google's side. Got to wait.
Worked till we refreshed the browser page today!
Error noted from Chrome's JavaScript Console:
GET https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=689483000 404 (Not Found) cb=gapi.loaded_0:116
Refused to display 'https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=689483000' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. about:blank:1
GET https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=401828000 404 (Not Found) cb=gapi.loaded_0:116
Refused to display 'https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=401828000' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. about:blank:1
Update (somebody is apparently working on it), the error has changed to:
Invalid gadgets.rpc token. 429366340 vs 703741727 cb=gapi.loaded_0:41
c cb=gapi.loaded_0:41
_.Mb._.sa cb=gapi.loaded_0:41
h cb=gapi.loaded_0:59
c cb=gapi.loaded_0:52
Uncaught Error: m`apiproxy0e30dfc60185e9bebed936e8008c20776b338f810.6918280611280352 cb=gapi.loaded_0:71
_.T.Ca.Mm cb=gapi.loaded_0:71
h cb=gapi.loaded_0:59
c

Resources