Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Aug 2012
    Posts
    134
    Plugin Contributions
    0

    Default Re: "Admin Access Management" Missing

    I get error: #1146 - Table 'tel1222205460806.admin' doesn't exist

  2. #12
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: "Admin Access Management" Missing

    Then you probably installed Zen Cart using some sort of one-click-auto-installer from your hosting company, and they've added a "zen_" (or some other) prefix to all your table names.
    So the DELETE FROM admin will need to be changed to DELETE FROM zen_admin
    Same with the INSERT INTO statement.
    .

    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.

  3. #13
    Join Date
    Aug 2012
    Posts
    134
    Plugin Contributions
    0

    Default Re: "Admin Access Management" Missing

    logged in with the admin, and the menu is still not there

  4. #14
    Join Date
    Aug 2012
    Posts
    134
    Plugin Contributions
    0

    Default Re: "Admin Access Management" Missing

    I beleive I got the SQL database. How can I add all the products and groups back from this SQL file?

  5. #15
    Join Date
    Aug 2012
    Posts
    134
    Plugin Contributions
    0

    Default Restore damaged Admin menu

    I have a store made up and have added many products, I noticed after adding all the products, setting up the interface for the user, and install plugins, that the admin menu is missing. I created a new zencart [on the same domain] with a new database and the admin page returns. If I take the new database, and have replace the damage database the admin menu returns[but I loose the products]. Does anyone know either where this is located in the database, or how I can get the menu back[need this to setup permissions for other users].
    Thanks in advance

  6. #16
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Restore missing Admin menu

    CONTEXT:
    a) You said you've installed a clean new instance of Zen Cart into a new database.
    b) And you want to fix a corrupted admin menu in the old database, using the clean working (uncustomized) menu from the new one.

    c) You were thinking that you wanted to copy the products from the old one into the new one, as your fix. But, since this is an admin problem, don't touch the products/categories/etc.
    Instead, focus on restoring just the menu, as in (b).

    RESTORING:
    As long as the tables in both database have the same prefixes (ie: the "admin" table is actually named "admin" and not "zen_admin" ... in both databases), then the following steps will put the clean new admin-user settings into the old database.

    First, on the NEW DATABASE, that is the clean properly-working new version:
    1. Login to phpMyAdmin, find your NEW Zen Cart database. Click on it so the tables are all listed.
    2. click on the Export tab
    3. A box will appear listing all your tables, click on each of these tables (using CTRL-click to select more than one at a time):
    - admin
    - admin_menus
    - admin_pages
    - admin_pages_to_profiles
    - admin_profiles
    (Since you'll probably ask, NO, don't select the admin-activity-log table)
    3. On the right-hand side, check the checkbox next to "Add DROP TABLE / VIEW / etc........"
    4. On the bottom, check the "Save as file" checkbox
    5. Click Go.

    6. Now select the OLD BROKEN database from the pulldown on the far/top left.
    7. Click the Import tab
    8. Select the CHOOSE FILE browse button, and select the file you downloaded in #5 above.
    9. Click Go.

    Then delete the temporary "new" database and temporary store files, since it's not needed.
    .

    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.

  7. #17
    Join Date
    Aug 2012
    Posts
    134
    Plugin Contributions
    0

    Default Re: Restore missing Admin menu

    Did the above, message reads: Import has been successfully finished, 123 queries executed.
    I logged into the admin page, and the problem is still there...

  8. #18
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Restore missing Admin menu

    Okay, then the problem wasn't with the menu. Or else the tablenames have different prefixes and thus didn't actually restore anything.
    .

    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.

  9. #19
    Join Date
    Aug 2012
    Posts
    134
    Plugin Contributions
    0

    Default Re: Restore missing Admin menu

    no idea, not even sure where to look. I would have thought the menu names would have been in the database, considering that when the database is changed it shows up.

  10. #20
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: admin menu broken after installing many conflicting plugins

    no idea, not even sure where to look
    Load your database in phpmyadmin and inspect the table names
    Look for any prefix to the table name
    If there is a prefix then insure that ALL tables have the same prefix
    Zen-Venom Get Bitten

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. NMI payment module broken after installing hack-protection suggestion
    By GreenGecko in forum Addon Payment Modules
    Replies: 6
    Last Post: 17 Feb 2010, 04:43 AM
  2. Menu broken after moving things from configuration to extras
    By boyemillar in forum General Questions
    Replies: 1
    Last Post: 22 Oct 2009, 12:15 AM
  3. Urgent help - quick fix? Broken site after installing Ad Manager addon
    By mygalaxy in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 26 Jun 2009, 09:34 AM
  4. Access to my Customers and Orders broken after installing a mod
    By iheartguts in forum Managing Customers and Orders
    Replies: 12
    Last Post: 25 Mar 2008, 12:42 PM
  5. Replies: 3
    Last Post: 22 Aug 2007, 03:26 PM

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