A certain page won't load after deployment - vue.js

I deployed my personal website using VueJs and Heroku. While you can see the homepage, when I click on the button that would take me to the Current Projects page, I get the following error :
"Cannot GET /CurrentProjects".
I can see this page on localhost, but not live. Has this ever happened to anyone? If so, what should I be looking out for. Any help is appreciated.

Related

Vue router with hash mode doesn't work on Github Pages

Can't navigate a specific page by url
Hello everyone, I have a little problem, I had a "boilerplate" project with Vue3 + Laravel. And I wanted to use link so people can navigate specific page, for example here's a link you can navigate
https://klim2020.github.io/
After that you are able to open portfolio page by clicking on Portfolio link at the right top of the page. As you see you have that
/cv/en
adress at the address bar
But if you will try to navigate this link from other source you will get Error
Cannot GET /cv/en
try to navigate from here https://klim2020.github.io/cv/en
Why is this happening can you tell me please?
First off, I do recommend hosting on Netlify or Vercel, those will fix the issue that you do have here.
GH pages are just not worth it. And the other 2 services are more flexible, as free and quite powerful.
The issue here being that if you go to a specific path with a "hard navigation", not a client-side one (via vue-router), you SPA will not be in that specific endpoint. Hence why, you will get a 404 (your initial entry point is available a /).
You also need to use the history mode rather than the current # that you do have in your path.
Best thing? The part explaining how to solve your current issue with Netlify/Vercel is also explained in a section below (mainly providing a redirects/rewrites configuration).

Log in module on 403 page

I have a website for family content. I wanted to block external users so I set the pages to be visible just for registered users. So I put a login module to the footer so that users (me and my family members can log in even if the error page came up that you are not allowed to view this page (before logging in). It worked well.
enter image description here
However, after I upgraded to Joomla 3.10 the error page appears differently and my footer with the login module is not visible.
enter image description here
Unfortunately, I haven't made a backup for a long time so using an earlier version of the site is not an option. Could you help me find a good solution to this problem? Creating another method to log in or customize the error page or whatever good idea.
Thanks in advance

Spartacus Migration Throw error on load of PDP

I am migrating existing project with Spartacus. When I load Home page its look fine. but PDP page is not look correct. I see some console log in browser.
I have attached screen for reference.
Can someone please help

GAE API explorer doesn't show APIs, appears to be stuck loading

This happens both on local deserver and when deployed. I was successfully able to use the API explorer with the guestbook tutorial, but now that I've made my own project and am trying to access the first API I have written it never appears. The yellow "Loading..." box next to the search bar never disappears.
I've looked at various solutions online but none have done the trick.
Does anyone have any suggestions for me to try?
Sorry for the broad question!
It turns out that I only got this issue when I typed in the URL myself, if I visit localhost:8080 where I am hosting the application and click on the link to the API Explorer then they all load.

Issue with rending an MVC 4 website inside an iFrame

We have an existing live MVC 4 website that works exactly as it supposed to, running in an Azure Web Role.
A third party want to embed our site in an iFrame on their site (a small part of it anyway, one form really)
I'm no fan of iFrames but this is what they want to do and our business are happy for them to do it.
Except it doesn't seem to work at all.
So I tested it myself with an html page just running on my machine.=, with just an iFrame and a link to the site.
The default page loads fine. It is a forms login screen, when I submit a login, the site crashes into the exception handing and it doesn't provide much useful information.
I then tried pointing the iFrame at the site running in my dev environment. Submitting the login and debugging into the action, the code flows through correctly, no error and tries to return the correct view, but iframe refreshes to the login screen again.
What could be causing this? What am I missing?