Access back office Prestashop - http-status-code-404

I have a problem in the Prestashop back office.
When I try to log in with my credentials, the page reloads every time, but it doesn't log in and the login screen appears.
In the console I get GET 404 and "Failed to load source map in DevTools: Failed to load content for chrome-extension: //gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net :: ERR_FILE_NOT_FOUND."

Related

Next Js static site refresh not working on AWS s3 bucket [duplicate]

For a while, I was simply storing the contents of my website in a s3 bucket and could access all pages via the full url just fine. I wanted to make my website more secure by adding an SSL so I created a CloudFront Distribution to point to my s3 bucket.
The site will load just fine, but if the user tries to refresh the page or if they try to access a page using the full url (i.e., www.example.com/home), they will receive an AccessDenied page.
S3 doesn't understand route open when you reload and open in new tab. You need to tell S3 is for this route used index.html.Whenever new route open its gives 403 [access denied ] error. for this you need to do setting CloudFront to set 403 error page redirect to index.html
Go to aws cloud front and open your configuration then go to Error page tab you will see same as above screenshot
Here is details blog : https://www.internetkatta.com/host-angular-2-or-4-or-5-version-in-aws-s3-using-cloudfront

Getting Error400 when signing into Strapi admin panel

I have a strapi cms which I use for fetching. Today I ran npm run develop to start the server, and it needed be to login. No big deal, I logged in with my credentials, and it says wrong credentials. I tried the 3 passwords I use, but none of them work. I clicked "forgot password" and waited for the password reset, but it never came. I went back to sign in again, and I notice this message whenever I click the sign in button:
POSThttp://localhost:1337/admin/login [HTTP/1.1 400 Bad Request 95ms]
This message is also displayed in my IDE's console:
debug POST /admin/login (89 ms) 400
I've been trying to login for the past hour but it's still not letting me. I've already restarted the server, the IDE, my computer, as well as clearing cache and cookies, but none of them worked. Any clue to solve this?
Update:
This message is appearing in the console. I wonder if it's relevant? It's weird though because I never modified with the scripts in my IDE.
DevTools failed to load SourceMap: Could not parse content for http://localhost:1337/admin/shallowequal.cjs.production.min.js.map: Unexpected token < in JSON at position 0

Spring security showing error console when login fails, how do I stop that

I have inherited an AngularJS app that uses Spring Security to handle login. I have a different app, and when a user tries to go to a non-authenticated page (i.e. reloading the app after their session has expired) it does the proper thing: it simple puts "login failed" on the login screen, and lets the user log in.
The appI inherited throws up two consecutive dialogs with html say "you failed", followed by an error console, and only when all that's been dismissed does the user get to log in.
How do I make it so none of those things ever show up, and the user's just taken to the login screen?

Websphere Portal 8.0 -- display forbidden error instead of redirecting user to first page they have access to see

We are using WebSphere Portal 8.0. Currently, when a user tries to access a page they do not have permission to view (via Page Permissions), the Portal redirects them to the first page they do have access to see.
I would prefer that instead of them being redirected to an unrelated page, they instead receive some sort of Forbidden page or 403 error.
Is there a way to configure this to happen?
Portal cannot be configured to throw a 403 for these resources, but it can be configured to throw a 404 instead for pages instead of redirecting to the one that is found first for anonymous users. you can use this to instead throw a 404 http://www-01.ibm.com/support/docview.wss?uid=swg21674823

Opencart 1.5.5.1 Error: You don't have permission to access /admin/index.php on this server

I have installed opencart 1.5.5.1, and latest VQmod 2.4.1 and Product Video Tab. In my product edit option, i can see Youtube video tab. But when i paste youtube link and try to save, iam getting below error:
Forbidden
You don't have permission to access /admin/index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
please help
Firstly you have to add route in the url with index.php, to access that page.
Suppose you have entered '
admin/index.php?route=common/dashboard&token=594683c55af7002fb0d00f6915f75ca6
Then it will go to ,
admin/controller/common folder, there you will find dashboard.php
and token will be generated when admin login in the admin panel.
If you type admin/index.php , then it will never anywhere.Please insert the url properly.

Resources