fatheeym Posted August 11, 2016 Share Posted August 11, 2016 iam using cookies law and in browser its name some thing like this prestashop-5dsd21dsa5dwd4sa5d4sad can i replace prestashop to be my name ? Link to comment Share on other sites More sharing options...
bellini13 Posted August 11, 2016 Share Posted August 11, 2016 edit the Cookie class (\classes\Cookie.php) and search for this line of code $this->_name = 'PrestaShop-'.md5(($this->_standalone ? '' : _PS_VERSION_).$name.$this->_domain); and then change Prestashop to your name. I have not tested this, but I don't see why it would not work. Any existing cookies will of course not work. Link to comment Share on other sites More sharing options...
fatheeym Posted August 11, 2016 Author Share Posted August 11, 2016 when i make this change i couldn't log in any more to the dashboard or as user in front-end Link to comment Share on other sites More sharing options...
bellini13 Posted August 12, 2016 Share Posted August 12, 2016 maybe try clearing your browser cache, and then delete the smarty compile and cache and try again As I said, I did not test this, so you will need to figure out what else is wrong. Link to comment Share on other sites More sharing options...
fatheeym Posted August 12, 2016 Author Share Posted August 12, 2016 i've tried all this :/ but i still can't login Link to comment Share on other sites More sharing options...
bellini13 Posted August 13, 2016 Share Posted August 13, 2016 Using PS v1.6.1.6 I made the change to the Cookie.php class and it works just fine for me. I don't know what you did exactly, I assume you cleared the cookies in your browser before trying to visit your website again? Link to comment Share on other sites More sharing options...
fatheeym Posted August 13, 2016 Author Share Posted August 13, 2016 it works fine this time i have no idea why ? thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now