Magento Integration initial step
-
I am a newbie and just installed the Magento WordPress Integration, but soon after the path was defined in Mage.php path, i got the below message .
I did change the code in function.php , but still the problem persist , kindly helpThe modified functions.php in Magento could not be found. It is very important this is created before MWI will work. Please see the instructions below.
InstallationNavigate to ~/your-magento/app/code/core/Mage/Core/functions.php
Duplicate that file and place the new version in ~/your-magento/app/code/local/Mage/Core/functions.php – this file will now be used over the original, and will remain during Magento upgrades. If the destination folders do not exist, you can create them (maintain the capital lettering).
Open the newly created file and browse to around line 90, where you will find this:
function __() { return Mage::app()->getTranslator()->translate(func_get_args()); }
Replace the entire function, which usually spans over approximately 3 lines, with:
if(!function_exists(‘__’)) { function __() { return Mage::app()->getTranslator()->translate(func_get_args()); } }
Upload the file to your server, and you are done!Once you’ve done the above you’ll be able to modify the MWI settings here.
https://www.ads-software.com/plugins/magento-wordpress-integration/
- The topic ‘Magento Integration initial step’ is closed to new replies.