Back end login not working

Ask for help or provide support to other members.
Post Reply
willgetitdone
Posts: 4
Joined: Fri Aug 23, 2024 4:19 pm

Back end login not working

Post by willgetitdone »

Hi, I'm a new user and the back end login goes to a page where there is no title and nowhere to input the password. I can get back into the site by switching to a original clone of database.js - then switching the files back so I can edit it. It's a bit of a annoyance :?
Has anyone experienced this?
Thank you,
Will
User avatar
NorfolkGreg
Posts: 106
Joined: Wed Sep 01, 2021 7:50 am

Re: Back end login not working

Post by NorfolkGreg »

Are you reaching a 404 error page?

If so it's possible you done what the software suggests and changed the default login page on the admin modal, logged out and then returned to the home page and clicked the login link again.

That will take you to the original "LoginURL" page that no longer exists and will give you a 404 error.

To log back in again you'll need to enter your new login address manually in the address bar.
willgetitdone
Posts: 4
Joined: Fri Aug 23, 2024 4:19 pm

Re: Back end login not working

Post by willgetitdone »

It goes to a page with no password prompt or other text. Please see the image. It does the same with the default theme or the Parallax one. I changed the admin page in the database.js file and that may have been the cause of the problem.
WonderCMS Admin page error.png
WonderCMS Admin page error.png (2.55 MiB) Viewed 1183 times
willgetitdone
Posts: 4
Joined: Fri Aug 23, 2024 4:19 pm

Re: Back end login not working

Post by willgetitdone »

Just following up in case you all know how to fix this. Thank you!
willgetitdone wrote: Mon Aug 26, 2024 6:33 pm It goes to a page with no password prompt or other text. Please see the image. It does the same with the default theme or the Parallax one. I changed the admin page in the database.js file and that may have been the cause of the problem.

WonderCMS Admin page error.png
User avatar
NorfolkGreg
Posts: 106
Joined: Wed Sep 01, 2021 7:50 am

Re: Back end login not working

Post by NorfolkGreg »

Apologies for the late reply, We've had many family members staying with us (and some are returning this weekend).

You probably know that you can alter the LoginURL address at the first option on the Security page of the Admin modal, and you must have had a good (or bad?) reason for messing with the database file, perhaps while editing another distant part of the file.

The most likely cause is a missing brace or other punctuation symbol somewhere in the file. Bear in mind that the closing } for the config section, is just above the pages section, far down the file.

Try creating a second site and comparing where commas are. Use a text editor with a brace matching facility to see if things are as they should be.
Post Reply