Title: PATH
Last modified: August 21, 2016

---

# PATH

 *  Resolved [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [12 years, 2 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 15 replies - 1 through 15 (of 26 total)

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

 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/path-1/#post-4757042)
 * This should be the correct path:
 * /var/www/vhosts/e.org/httpdocs/mage_domain_com/app/Mage.php
 * Can you show me a screenshot of your settings page? You can submit it on jamesckemp.
   ticksy.com if you’d like to keep it private.
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/path-1/#post-4757045)
 * Yes, see:
 * [http://s22.postimg.org/aqavc66yp/Voila_Capture73.png](http://s22.postimg.org/aqavc66yp/Voila_Capture73.png)
 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/path-1/#post-4757046)
 * Hmm, and can you send a screenshot of your document root, expanded to Magento(
   FTP)?
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/path-1/#post-4757047)
 * ok
    [http://s3.postimg.org/fj21t7aur/Voila_Capture74.png](http://s3.postimg.org/fj21t7aur/Voila_Capture74.png)
 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/path-1/#post-4757085)
 * Hello,
 * For other users, pompejanska managed to find a solution for this issue. He says:
 * >  As I supposed it was caused by parallels plesk and its server configuration
   > or any privileges. Many people described problems with plesk specific paths.
   > Path, which I entered in wp-mage, was proper, but there were openbasedir restrictions.
   > I modified settings: I created a vhost.conf file in your /var/www/vhosts/my.
   > wordpress.domain.com/conf/ directory and I pasted there:
   > <Directory /var/www/vhosts/path_to_wordpress>
   >  php_admin_value open_basedir“/
   > var/www/vhosts/path_to_wordpress:/var/www/vhosts/path_to_magento” </Directory
   > >
   > And by ssh:
   > /usr/local/psa/admin/sbin/httpdmng –reconfigure-all
 * Hope this helps anyone else facing the same issue on Plesk!
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [12 years ago](https://wordpress.org/support/topic/path-1/#post-4757089)
 * I’ve found better solution via plesk 11. No ssh access are required. Above solution
   causes tmp error.
 * Login to plesk, click Websites&Domains, click your wordpress domain, click PHP
   Settings tab and now change open_basedir value to:
 * {DOCROOT}/:/tmp/::/var/www/vhosts/your/mage/path/
 * Save.
 *  [junesbad](https://wordpress.org/support/users/junesbad/)
 * (@junesbad)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/path-1/#post-4757104)
 * Hi James,
    i follow all solutions. Your instruction, and here your tips. Everything…
   Maybe you can help. I used plesk too. I tested a new vhost.conf…and now pompejanskas
   last solution. nothing. regards
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/path-1/#post-4757105)
 * Junesbad, I’m disappointed too… I bought mwi plugin but it no works on my plesk…
   
   When I reported it to support, James replied after a month. He got the login 
   details for the site, but he did as much as I can. – He blocked my magenta store
   🙂
 * The plugin works for me only in part – it shows the products, but you can not
   add them to cart. I think this is caused by the cookies.
 * James: do something
 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/path-1/#post-4757106)
 * Hi pompejanska,
 * I don’t recall receiving any Magento logins from you. Also, MWI is a free plugin.
 * It is definitely a cookie issue you are facing. Where did you send these logins
   to?
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/path-1/#post-4757107)
 * James, I send it (17th April), see:
    [http://jamesckemp.ticksy.com/ticket/193882](http://jamesckemp.ticksy.com/ticket/193882)
   You logged to my magento shop and changed cookie’s setting. Then logging to my
   site was impossible.
 * The MWI is free, but I bought additional plugins for MWI.
 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/path-1/#post-4757108)
 * I never logged in though, as you said you fixed it? We even posted your solution
   here.
 * You can edit the cookie path fields under core_config_data in the database. Note:
   If you change these, you need to clear your browser cache, and also var/cache
   and var/sessions
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/path-1/#post-4757109)
 * There is any cookie issue. The mwi plugin “sees” magento store (after above modifications).
   Products form my store are visible in wordpress. But adding to cart doesn’t work
   at all.
 * 🙁
 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/path-1/#post-4757110)
 * What was the cookie domain and path set to in the end?
 * What are the locations of your WP and Magento files via URL?
 *  Thread Starter [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/path-1/#post-4757111)
 * cookie domain is empty
    cookie path: / store domain: domain.pl wordpress: subdomain.
   domain.pl
 * When I set cookie domain to: .domain.pl (as you suggest), adding to cart still
   doesn’t work and you can’t login to store as admin.
 *  Plugin Author [James Kemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/path-1/#post-4757112)
 * Your’s is the other way round to normal,
 * Try setting your wordpress cookie domain instead:
 * [http://codex.wordpress.org/Editing_wp-config.php#Set_Cookie_Domain](http://codex.wordpress.org/Editing_wp-config.php#Set_Cookie_Domain)
 * set it to .domain.pl

Viewing 15 replies - 1 through 15 (of 26 total)

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

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, 5 months ago](https://wordpress.org/support/topic/path-1/page/2/#post-4757124)
 * Status: resolved