• Resolved Jdsilva

    (@jdsilva)


    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 help

    The 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.
    Installation

    Navigate 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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Jdsilva

    (@jdsilva)

    Solved !!!!!!

    Hi,

    I was having the same problem. Could you please care to explain how you solved it.

    Cheers

    Found it! I was using mage.php with lowercase m.

    bntabor

    (@bntabor)

    Not sure why someone would post “Solved !!!!!” without letting everyone know what they did to solve the problem. Seems rude. I have the same problem, and it isn’t the “M”.

    Rob

    (@qupodogbark)

    @jdsilva

    having the same problem. how did you solve?

    Rob

    (@qupodogbark)

    I had this problem because I had entered the wrong path to the Mage.php file.

    I tried erasing the plug-in and reinstalling so that I could reenter the path… but after re-installing it showed me the same error screen without giving me a chance to re-enter the path.

    Instead, I had to go into phpMyAdmin and find the option with the wrong path inside wp_options. Switching it to the right path fixes the error

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Magento Integration initial step’ is closed to new replies.