Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Apr 2006
    Posts
    96
    Plugin Contributions
    0

    Default Can't log in anymore, can't delete admin -- after server IP change

    Strange things have been happening lately with my site. First, our host changed the site's IP. After we made all the nameserver corrections, site was acting weird, sometime it came up, sometime it didn't Host found out their DNS zone was still using the old IP for nameserver 2 (ns1 and ns2).

    Now I can't login to my zencart admin, with neither one of my login IDs! Here's the error message I get "Fatal error: Call to a member function Execute() on a non-object in /home/starting/public_html/store/includes/functions/sessions.php on line 61"

    I searched on these forums and tried to run this SQL query: DELETE FROM admin WHERE admin_name = 'Admin';DELETE FROM admin WHERE admin_name = 'Admin';DELETE FROM admin WHERE admin_name = 'Admin';

    phpMyAdmin gives me this error:

    Error
    SQL query:

    DELETE FROM admin WHERE admin_name = 'Admin';



    MySQL said:

    #1146 - Table 'starting_zc1.admin' doesn't exist

    i'm confused, what should I do??

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Can't log in anymore, can't delete admin

    Probably you will have to wait a while, upto 48 hours for the propagation process to complete.

    Question your host: why did they change your ips, did they make some other changes? I would be so pissed off if my host ever does that to me.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Apr 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Can't log in anymore, can't delete admin

    I don't think propagation has much to do with my inability to login as admin, or to make changes to phpMyAdmin - but then again, I could be wrong.

    any ideas?

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Can't log in anymore, can't delete admin

    Do you see your database listed when you go into phpMyAdmin?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Apr 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Can't log in anymore, can't delete admin

    yes I do

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Can't log in anymore, can't delete admin

    Check that your settings in admin/includes/configure.php and includes/configure.php are pointing to the right places.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  7. #7
    Join Date
    Apr 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Can't log in anymore, can't delete admin

    What would the right places be? I'm a little confused.

    I looked into both those files and, strange enough, the pwd for the db seems strange, i never set this one to this: yz3Wx***jUM2

    do u think i've been hacked??

  8. #8
    Join Date
    Apr 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Can't log in anymore, can't delete admin -- after server IP change

    update:

    ok, i used zen as prefix and the sql command ran ok (followed instructions here: https://www.zen-cart.com/tutorials/index.php?article=2). I went and used Admin admin and still nothing! I still get this "Fatal error: Call to a member function Execute() on a non-object in /home/starting/public_html/store/includes/functions/sessions.php on line 61"

    When I go to that file, line 61 says "$total = $db->Execute($qid);"

    When I click on the link "resend password" it says "Sorry, your security clearance does not allow you to access this resource.

    Please contact your site administrator if you believe this to be incorrect.

    Sorry for any inconvenience."

  9. #9
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Can't log in anymore, can't delete admin -- after server IP change

    What version of Zen Cart are you using?
    What version of PHP is on your server?

    Your reported symptoms suggest that you're using old code not compatible with PHP5 running on a PHP5 server.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Apr 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Can't log in anymore, can't delete admin -- after server IP change

    PHP version: 5.2.5

    zen version (according to fantastico, cause I don't know another way how to check it): 1.3.0.2
    Last edited by shqipo; 30 Jan 2008 at 08:19 PM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 11 Feb 2013, 07:55 PM
  2. Replies: 4
    Last Post: 28 Oct 2010, 01:00 PM
  3. I can't Log In to Admin after install/move to a new server
    By uni in forum Installing on a Windows Server
    Replies: 19
    Last Post: 2 Oct 2008, 07:37 AM
  4. can't access Admin anymore after uninstalling SEO mod
    By lieven23 in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 26 Sep 2008, 09:50 PM
  5. Can't log into admin anymore
    By arothman in forum General Questions
    Replies: 4
    Last Post: 22 Dec 2006, 09:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR