Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
user registration disabled and I'm locked out
  • Posted: 23.12.2005, 08:32
     
    HST
    rank:
    Freshman Freshman
    registered:
     October 2002
    Status:
    offline
    last visit:
    21.02.07
    Posts:
    30
    icon_redface icon_redface icon_redface icon_redface icon_redface icon_redface
    I'm running 726 and upgraded my PHP from 4.2.2 to 4.4.1 and now i'm locked out of my admin account. I purposely deactivated user registration previously, and logged into admin by going to user.php clicking 'Login', and using my admin login to gain access to the admin pages on my site.

    Now when I click the 'Login' link on the user page the page just refreshes and nothing happens. I have checked other PN 726 installations on the same server after the PHP upgrade and I can login fine to those sites (registration never disabled).

    • -How can I manually reenable the registration process through the MySQL DB?

    • -Or how do I login to admin some other way?

    • -Or can I somehow disable the checking of whether the user registration is enabled or not by commenting some lines in the actual PHP pages of the registration system?
  • Posted: 23.12.2005, 14:27
     
    denisrf
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    online
    Posts:
    411
    HST,

    You can change it in the DB if your using something like phpMyAdmin. Look in the module_vars table, it's in on of the pnconfig rows.
    You can also try this:
    http://www.YOURSITE.…RPASS&url=index.php

    I just tried it and it works but I'm nor certain it will work for your problem.

    Hope that helps.

    Best Regards
    Denis
  • Posted: 23.12.2005, 15:05
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    23.11.08
    Posts:
    13414
    If you are running .726 you should upgrade as a matter of urgency. Such an old version has many security vulnerabilities and you're missing out on a lot of features.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 23.12.2005, 20:52
     
    HST
    rank:
    Freshman Freshman
    registered:
     October 2002
    Status:
    offline
    last visit:
    21.02.07
    Posts:
    30

    HammerHead

    If you are running .726 you should upgrade as a matter of urgency. Such an old version has many security vulnerabilities and you're missing out on a lot of features.


    Yeah, I understand that, but to upgrade, I need to to be able to login as admin.

    Thanks for the hints denisrf. I actually was able to enable the registration on the site, but was still unable to login as admin.

    Could this be a PHP setting that I'm just overlooking?
  • Posted: 23.12.2005, 22:17
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    23.11.08
    Posts:
    13414
    It's unlikely to be the user registration setting that's causing your problem. Try reuploading user.php in the root, and also modules/NS-User

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 24.12.2005, 01:17
     
    HST
    rank:
    Freshman Freshman
    registered:
     October 2002
    Status:
    offline
    last visit:
    21.02.07
    Posts:
    30
    Thanks for your help hammerhead, but that didn't work either.

    I have even tried an upgrade and that's not working either. All I get on that is "Problem with DataBase Connection" on the index page.

    --
    everybody's interactive!

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula