Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2010
    Posts
    14
    Plugin Contributions
    0

    Default Rename admin doesn't work?

    Hi
    I changed configure file and renamed admin folder as
    (https://www.zen-cart.com/tutorials/index.php?article=33)
    and I am pretty sure I did it right steps right here is what I get:

    1146 Table '......zen_project_version' doesn't exist
    [select * from zen_project_version....



    Am I missing something or it there a bug?

    Thanks for you help.
    Hamidz

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

    Default Re: Rename admin doesn't work?

    It's not a Zen Cart bug. It seems you're missing something.

    At its basic level, all Zen Cart needs is for you to edit the configure.php file to match the new foldername.

    The error you're getting indicates that you've altered the DB_XXXXXX settings in the configure.php file to point to an empty database, or to a DB_PREFIX that doesn't match the names of the tables IN the database you've specified.
    .

    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. #3
    Join Date
    Feb 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: Rename admin doesn't work?

    It's fixed. Thanks
    The problem was that in configure.php, I had this by default:
    define('DB_PREFIX', 'zen_');

    I changed it to empty: define('DB_PREFIX', ''); and worked.

    The wired thing is that I never edited this line and it was by default in the file that I downloaded. I don't think installing tutorial mention to change this line.

    Thanks for you help again.

    Hamid

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Rename admin doesn't work?

    Correct, the tutorial would have never mentioned that line because there's no need to touch that when merely renaming the admin.
    Sounds like maybe you grabbed an old copy of the file or some example text someplace for some reason.

    Glad you got it sorted out.
    .

    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.

 

 

Similar Threads

  1. 1.5.0 Rename admin didn't work as expected after upgrade from 1.3
    By s58smith in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 8 Jun 2012, 04:07 AM
  2. Log in after rename Rename "admin" folder does not work
    By flashmxfreak in forum General Questions
    Replies: 3
    Last Post: 3 Sep 2011, 12:38 PM
  3. Followed recommendations to rename admin folder - now doesn't work
    By alicia1234 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 12 Aug 2011, 12:45 AM
  4. Links in Admin area don't work after admin folder rename
    By bhfruitcakeco in forum General Questions
    Replies: 8
    Last Post: 27 Dec 2007, 06:55 PM
  5. Rename Admin folder instructions does not work - did something wrong
    By ronwong in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 4 Dec 2006, 11:49 AM

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