I made a mistake, now I cannot fix it :-(

Permalink
I made a big mistake...
Under Dashboard, sitemap, I managed to move the pre-defined Login & Register pages in under the pre-defined Account block. This has messed up login and registration (and change password etc) completely.

I try to "drag" the login and registration back to where they are supposed to be... but no such luck.
While styding the installation and configuration files, I am not smart enough to figure out how to manually fix this.

Is there anyone out there who can help?

2 Attachments

 
mnakalay replied on at Permalink Reply
mnakalay
Could you say more:
- in what way did it mess those pages? what's happening?
- What happens when you try to drag them back to place?
SivCath replied on at Permalink Reply
Hi there,
I am not able to drag them back into place :-( I just get a red wheel and it "drops back" into the Account section. (I did drag them in there, so strange I cannot drag them back.
I can however drag them into other sections (such as one of my pages) - but the same issue occurs.

So basically what happens with the mess I created?
- I can no longer log in to my pages (I can via workaround, I installed a new instance on the same server. I log in to the new instance and go into the frontpage of the "old" and suddenly I am logged in ;-)
- If you try to click login from the front page - you get "Page not found" when inserting username and password and click "submit". Same if you try to request new password.

You can try it yourself:http://www.grenlandspusen.no - you find login at bottom of page. You can try a bogus username/pass - will get page unknown.

Also if I try to define - what to happen after login - I specify page to redirect to - it redirects to "page not found".

Many thanks for your response, btw! :-)
mnakalay replied on at Permalink Reply
mnakalay
You're going to have to do it manually i the database:
1- in the table PagePaths look for the login page by looking in the column cPath. It should be /account/login. Modify that value to /login. Make note of the value in the column cID
2- in the table Pages in the column cID look for the value you noted in step 1. To make sure, check the column cFilename, it should be /login.php. Then go to the column cParentID and modify it to have a value of 0.

That's all.