Title: PATH
Last modified: August 21, 2016

---

# PATH

 *  Resolved [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/path-1/)
 * I have installed WordPress here:
    /var/www/vhosts/e.org/httpdocs/wp_domain_com
 * And Magento here:
    /var/www/vhosts/e.org/httpdocs/mage_domain_com
 * I have tried these paths:
    /var/www/vhosts/e.org/httpdocs/mage_domain_com/app/
   var/www/vhosts/e.org/httpdocs/mage_domain_com/app/ /var/www/vhosts/e.org/httpdocs/
   mage_domain_com/app/Mage.php
 * But nothing works – I see “invalid URL”…
    Maybe dot (e.org) causes problems?
 * [https://wordpress.org/plugins/magento-wordpress-integration/](https://wordpress.org/plugins/magento-wordpress-integration/)

Viewing 11 replies - 16 through 26 (of 26 total)

[←](https://wordpress.org/support/topic/path-1/?output_format=md) [1](https://wordpress.org/support/topic/path-1/?output_format=md)
2

 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757113)
 * And be sure to clear your browser cache!
 * You can check in inspector what cookies are being used, too.
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757114)
 * I have modified wp-config.php file adding this line:
 * define( ‘COOKIE_DOMAIN’, ‘.domain.pl’ );
 * I cleared cache (browser, wordpress, magento). No effect, cart is still empty.
 * I changed cookies setting in magento to .domain.pl too and cleared cache again,
   but nothing.
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757115)
 * The Add to cart url is:
    [http://www.domain.pl/index.php/checkout/cart/add/uenc/aHR0cDovL3BvbXBlamFuc2thLnJvc2VtYXJpYS5wbC8_cHBhZ2U9MiZzPXRld3N0/product/85/form_key/pRauDFYJ17og11Z4/?SID=oveb9auuflmsj1m5k815r25te3](http://www.domain.pl/index.php/checkout/cart/add/uenc/aHR0cDovL3BvbXBlamFuc2thLnJvc2VtYXJpYS5wbC8_cHBhZ2U9MiZzPXRld3N0/product/85/form_key/pRauDFYJ17og11Z4/?SID=oveb9auuflmsj1m5k815r25te3)
   Then magento redirects to empty cart: [http://www.rosemaria.pl/index.php/checkout/cart/](http://www.rosemaria.pl/index.php/checkout/cart/)
 * Which cookies are from mwi?
 * [http://i62.tinypic.com/29yp17n.png](http://i62.tinypic.com/29yp17n.png)
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757116)
 * …and?
 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757117)
 * I’m afraid I have no capacity to help at the moment. When I do I’ll be sure to
   look into the issue.
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757118)
 * So… nothing?
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757119)
 * Answer here: [https://wordpress.org/support/topic/add-to-cart-button-not-working-3?replies=7](https://wordpress.org/support/topic/add-to-cart-button-not-working-3?replies=7)
 *  [KevEd](https://wordpress.org/support/users/keved/)
 * (@keved)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757121)
 * Hi,
    I also have the problem with the root path not working.
 * this is the string which should work /home/stoveyco/public_html/app/Mage.php
 * My Magento install is in the server root, the wordpress site is in a folder /
   tools on the same root.
 * I am on Cpanel OS using vWP4.0 and latest version of the plugin.
 * Thanks.
 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757122)
 * Hey, try “../app/Mage.php”
 * Thanks,
    James
 *  [KevEd](https://wordpress.org/support/users/keved/)
 * (@keved)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757123)
 * oops, it has got worse!
 * I had to save the MWI settings to leave the page, there followed a message saying
   edit the functions file which I have done. But the MWI settings fields have now
   vanished.
 * I re-checked the functions file, a code syntax error was displayed a curly bracket
   was missing. I added the curly bracket, the syntax error cleared but the WP MWI
   settings page still has no fields.
 * I won’t touch the site until I hear from you.
 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757124)
 * Very strange,
 * Could you possibly send FTP and WP logins so I can take a look? if so, submit
   a ticket at jamesckemp.ticksy.com as they’re private.
 * Thanks,
    James

Viewing 11 replies - 16 through 26 (of 26 total)

[←](https://wordpress.org/support/topic/path-1/?output_format=md) [1](https://wordpress.org/support/topic/path-1/?output_format=md)
2

The topic ‘PATH’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/magento-wordpress-integration_1f262e.
   svg)
 * [Magento Wordpress Integration](https://wordpress.org/plugins/magento-wordpress-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/magento-wordpress-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/magento-wordpress-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/magento-wordpress-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/magento-wordpress-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/magento-wordpress-integration/reviews/)

 * 26 replies
 * 4 participants
 * Last reply from: [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757124)
 * Status: resolved