DB upgrade and init_includes ?
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
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.
By littlemissglamour in forum Upgrading from 1.3.x to 1.3.9
Last Post: 8 Oct 2009, 01:28 AM
By so2006 in forum General Questions
Last Post: 15 Apr 2009, 03:23 PM
By matteoraggi in forum General Questions
Last Post: 5 Feb 2009, 06:33 AM
By freya in forum General Questions
Last Post: 14 Feb 2007, 04:04 PM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC