• Resolved pompi

    (@pompejanska)


    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/

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

    (@jamesckemp)

    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

    (@pompejanska)

    Plugin Author jamesckemp

    (@jamesckemp)

    Hmm, and can you send a screenshot of your document root, expanded to Magento (FTP)?

    Thread Starter pompi

    (@pompejanska)

    Plugin Author jamesckemp

    (@jamesckemp)

    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

    (@pompejanska)

    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.

    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

    (@pompejanska)

    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 jamesckemp

    (@jamesckemp)

    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

    (@pompejanska)

    James, I send it (17th April), see:
    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 jamesckemp

    (@jamesckemp)

    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

    (@pompejanska)

    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 jamesckemp

    (@jamesckemp)

    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

    (@pompejanska)

    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 jamesckemp

    (@jamesckemp)

    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

    set it to .domain.pl

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘PATH’ is closed to new replies.