WordPress.org

Forums

PrestaShop Integration
[resolved] Problem with customer logon in PrestaShop (3 posts)

  1. retroyw
    Member
    Posted 2 years ago #

    Hello, I'm using prestashop 1.4.8.2 installed in a child directory, and when I replace on prestashop Cookie.php file the $this->_path with '/' as suggested in the FAQ, customers can't logon :(
    ¿any suggestion?
    Thanks in advance.

    http://wordpress.org/extend/plugins/prestashop-integration/

  2. aytechnet
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,

    You should have something like that in your code of Cookie.php :

    if (PHP_VERSION_ID <= 50200) /* PHP version > 5.2.0 */
                            return setcookie($this->_name, $content, $time, '/' /* $this->_path */, $this->_domain, 0);
                    else
                            return setcookie($this->_name, $content, $time, '/' /* $this->_path */, $this->_domain, 0, true);

    If you are making tests, you may, in order to be sure no session cookie can cause problems, removes all the cookies relative to your site in your browser. You may invalidate all the existing cookie too.

    If you use Firefox, you can under Preferences/Private area (in French : Vie Privée) display all the cookies and remove those relative to your website by searching your domain name.

    I hope this will help you.

  3. retroyw
    Member
    Posted 2 years ago #

    Thanks, that solved my problem. I was using Safari and the "empty cache" function doesn't remove the cookies. :D

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PrestaShop Integration
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.