View Single Post
  #46  
Old 05-13-2011, 08:07 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default Re: X-Cart v4.4.3 released

Quote:
Originally Posted by seyfin
The module initialization routine has been changed and optimized in 4.4.3. Here are the patch which describes the main changes: DIFF_55111.patch.txt

Basically, to initialize your module in X-Cart 4.4.3, you should modify your module's configuration file, for example:

modules/Your_Addon_Module/config.php

and add the following code:



before this line:

Thanks for this information but the problem is that X-cart in 4.4.2 and prior used to load all the config.php and func.php files first in each module directory, then they loaded the init.php files in each module directory. So once you get to init.php all of the other modules config settings and functions are loaded and ready to use. Now this is not the case which is breaking a lot of mods out there.

I hope that explains what we're seeing.

Thank you,

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!