Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005
    Posts
    149
    Plugin Contributions
    0

    Default DB upgrade and init_includes ?

    Hello,

    We are in the process of upgrading from 1.3.7 to 1.5.0.
    As we are also updating our look and feel we used the "new site" method :
    we installed a brand new 1.5.0,
    customized the look and feel,
    added some plugins and it works quite well.

    But during our test time the old site is still online and new customers and new orders have been added in the old database,
    so our plan was to :
    1) Migrate again the old but still used database to 1.5.0 (install sql patches files)
    2) Install all sql patches (those of plugins when they exists)
    which theorically sounds a good method but we are facing two problems :
    the first one was that there was no menu on admin side.
    We discovered, looking into the database, that the superuser profile was 0, so we changed it to 1 and all is ok.

    The second problem is that for some plugins the sql patches are in a php file which is in the admin/init_includes folder.
    I thought that these patches would get done automatically as they are on first install but it is not the case.
    Result is that a lot of my plugins are installed but not in the admin menus.

    Can someone tell me how the init_includes files knows if they have to do their job or not, and how to change it.
    My hope is that knowing that I will be able to execute all necessary patches and find back my plugins, so my whole site with an up to date database.

    Tanks for help

    Regards

    Hubert

  2. #2
    Join Date
    Jan 2004
    Posts
    58,235
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: DB upgrade and init_includes ?

    I recommend you review this article and consider how it compares with your current approach: http://www.zen-cart.com/entry.php?3-...he-new-version


    As for init_includes files, they are only loaded if files in the auto_loaders folder tell it to load them.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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. Help please i tried to upgrade and rename didn't work so went back and now its a mess
    By littlemissglamour in forum Upgrading from 1.3.x to 1.3.9
    Replies: 12
    Last Post: 8 Oct 2009, 01:28 AM
  2. Replies: 3
    Last Post: 15 Apr 2009, 03:23 PM
  3. Replies: 0
    Last Post: 5 Feb 2009, 06:33 AM
  4. Replies: 2
    Last Post: 14 Feb 2007, 04:04 PM

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
  •