Jump to content

Front-End login problem with 1.5.2


Recommended Posts

Dear all

Using a fresh 1.5.2 prestashop, i've been uploading data for the past 2 days and everything is working fine, but today i registered as a customer for the 1st time to check the store, and unfortunately i can't login in with the user i just created!, i tried the chrome and firefox for windows and it didn't work out, but tried chrome on OSX and it worked.

 

please try to help me out

 

here is my domain

 

http://www.q8sa3a.com

 

Thank you

Link to comment
Share on other sites

  • 4 weeks later...

in the back office make sure you have www in your shop url..

 

then edit your .htaccess file and add this at the top.

 

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
</IfModule>

 

the will redirect your non-www url to www.yoururl

 

note: in 1.5 this can easily be overwritten and there is no back office block for updating the .htaccess with custom values like 1.4

Link to comment
Share on other sites

in the back office make sure you have www in your shop url..

 

then edit your .htaccess file and add this at the top.

 

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{HTTP_HOST} !^www\.

RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

</IfModule>

 

the will redirect your non-www url to www.yoururl

 

note: in 1.5 this can easily be overwritten and there is no back office block for updating the .htaccess with custom values like 1.4

 

 

This did nothing for my site www.clairejolie.com that only makes the site you can not log in front end and if you can its 1 out of 10 and depends on browser does anyone have a real answer to this on forge they still havn't started... common presta lets go people need help here. i left cubecart for this but cube NEVER ran me issues like this. please help

Link to comment
Share on other sites

Apparently modifying the .htaccess file isn't the answer either. Both of the domains I have redirect to the www. Both domains have multistore but the one with the error has 4 more languages. I also at one time enabled the VAT module then uninstalled it.

 

I have a PHP expert looking into it and he has mentioned that it could be a language module problem making the state dropdown not show up and a IDENTIFICATION NUMBER box appear just above the NAME box.

Link to comment
Share on other sites

BINGO. That is what it is. I disabled the 4 languages and no longer have the error.However, the whole reason why I using PS is because of the multistore and multi-language... so the problem is still there.

 

Oh and btw, it is only happening in IE8 (as far as I know for IE)... Mozilla, Chrome, and Safari, no problem

Edited by mtporter (see edit history)
Link to comment
Share on other sites

@elpatron

Do you know if the custom fields for .htaccess has been added to the development release (1.5.3) over at git hub ?

Or has it been completely removed from v1.5

 

I have been waiting to look at 1.5.3 to see if custom fields are available. I am hoping so but if not then I will write a module to do it.

Link to comment
Share on other sites

Yafay

assume that your website name is www.test.com

your shopadmin is www.test.come/shopadmin.

open your website admin panel.

select menu

Preferences -> SEO & URLs

find in this page Set shop URL lable

here is,

Shop domain : test.com

SSL domain : test.com

Base URI : /

 

now save it then first clear your all borwser data like cache,cookies all

then borwser open test.com

then try to login.

 

I use that in my website and it works good so hope that work also in your sites

Edited by ashishpaceinfonet (see edit history)
Link to comment
Share on other sites

in the back office make sure you have www in your shop url..

 

then edit your .htaccess file and add this at the top.

 

<ifmodule mod_rewrite.c="">
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
</ifmodule>

 

the will redirect your non-www url to www.yoururl

 

 

 

 

note: in 1.5 this can easily be overwritten and there is no back office block for updating the .htaccess with custom values like 1.4

 

 

hi elpatron

 

i try this but with this my cagegory url stop working also feature images not shown

 

i want i site should open with http://www.fashionvogues.com

 

without www its working fine and no issue of frontend login

 

this is my .htaccess file


# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# [url="http://www.prestashop.com"]http://www.prestashop.com[/url] - [url="http://www.prestashop.com/forums"]http://www.prestashop.com/forums[/url]

<ifmodule mod_rewrite.c="">
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

# Images
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^c/([a-zA-Z-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]

# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^.*$ - [NC,L]
RewriteCond %{HTTP_HOST} ^fashionvogues.com$
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
</ifmodule>

#If rewrite mod isn't enabled
ErrorDocument 404 /index.php?controller=404

# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again


Edited by bector (see edit history)
Link to comment
Share on other sites

Yafay

assume that your website name is www.test.com

your shopadmin is www.test.come/shopadmin.

open your website admin panel.

select menu

Preferences -> SEO & URLs

find in this page Set shop URL lable

here is,

Shop domain : test.com

SSL domain : test.com

Base URI : /

 

now save it then first clear your all borwser data like cache,cookies all

then borwser open test.com

then try to login.

 

I use that in my website and it works good so hope that work also in your sites

 

Yes, I did already :) Same to bector, it only works if shop url is without "www". but i hope to add "www". I can see many of them are facing user can't log in/cart is empty, it's weird but hope to be solve.

Link to comment
Share on other sites

Hi,

Make a backup of the .htaccess file and try adding www. In front of all the web address with no www.

 

E.g.

RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$

 

Hi

 

i try this now category url and other url working fine but frontend login problem come again

 

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

# Images
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^c/([a-zA-Z-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]

# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^.*$ - [NC,L]
RewriteCond %{HTTP_HOST} ^www.fashionvogues.com$
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
</IfModule>

#If rewrite mod isn't enabled
ErrorDocument 404 /index.php?controller=404

# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again


Link to comment
Share on other sites

I've reported to PS Forge and so far no fix.

 

I know IE8 has problems and I'm sure pc users out there use various other browsers but having this tiny glitch when multiple languages are involve, there has to be someone that knows what the trouble is.

 

The error has this:

 

Webpage error details

 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; BRI/1)

Timestamp: Mon, 31 Dec 2012 13:18:51 UTC

 

 

Message: Object doesn't support this property or method

Line: 512

Char: 1

Code: 0

URI: http://www.aquachi.org/en/address

 

 

Message: 'countriesNeedIDNumber' is undefined

Line: 54

Char: 2

Code: 0

URI: http://www.aquachi.org/themes/default/js/tools/statesManagement.js

Link to comment
Share on other sites

Thanks for the tip, will try to follow as you.

 

By the way, did you uninstall the module or only use english with it?

 

---------

EDIT:

 

In my back office, everything was disable exept english, so i believe this is not the case.

 

 

Why there is no response from Prestashop Official support?

Edited by Neapix (see edit history)
Link to comment
Share on other sites

  • 9 months later...
×
×
  • Create New...