WordPress.org

Support

Support » Plugins and Hacks » Magento WordPress Integration » [Resolved] [Plugin: Magento WordPress Integration] Invalid URL

[Resolved] [Plugin: Magento WordPress Integration] Invalid URL

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jamesckemp

    @jamesckemp

    Hi dweb2012,

    Please make sure you write Mage.php, the uppercase M is very important!

    Same prob as dweb2012 here … but I am using uppercase M. I’m using the following for my path string: /magento/app/Mage.php .. but am getting the “Invalid URL” message. Please help!

    Also, when I try entering a file-system path the entire Mage/WP options window ends up blank! Example: [C:\\inetput\\mysite\\magento\\app\\Mage.php]
    At this point I have to go into the WP database and clear the mage path string just to get the Mage/WP options window to show again.

    Plugin Author jamesckemp

    @jamesckemp

    A couple of things going wrong here: The path is incorrect – it needs to be from the document root, this should be partly pre-filled when you first install the plugin. If you can’t find that any more, create a file called test.php and place it on your server. Add:

    <?php echo $_SERVER['DOCUMENT_ROOT']; ?>

    Load the file and it will echo the path to your document root. Then add the path to mage on there. SHould end up similar to this:

    /example.com/www/public/app/Mage.php

    Second issue: Mage is loading, however it seems you may not have edited the functions.php in Magento, this is a required step: http://magentowp.com/documentation/installation/

    Plugin Author jamesckemp

    @jamesckemp

    I’m assuming this is fixed now, marking as resolved!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Magento WordPress Integration] Invalid URL’ is closed to new replies.
Skip to toolbar