Jump to content

login like customer problem PS 1.4.


Recommended Posts

Hello,

I have problem with login like customer to my e-shop. If I want login from start page or some category page for example (www.havita.cz/cs) - no problem. But if I want login from some page of horizontal menu and in adress is content, for example (http://www.havita.cz/cs/content/14-moznosti-platby) - login goes to 404 page not found.

Please, do You know some solvetion about this problem. Thank You very much for everybody of any information.

 

 

Excuse my English

Link to comment
Share on other sites

Well, it's simply because the link in "login" is a relative link. When you try to login from the content page, the request goes to authentication.php in the same directory. Since your directory does not have authentication.php, it gives your 404 error and it's pretty normal. What you need to do is open up your .tpl file for login block in the header and change the link to something like "http:/www.havita.cz/cs/authentication.php" or you can use relative link, sth like "../../authentication.php" depending on which hierarchy level your .tpl file is located.

Link to comment
Share on other sites

Woala, thank You very much for Your help.

Now everything is O.K.

For information what I need to do.

in modules/blockmyaccount I changed link in tpl file from authentication.php to http://www.havita.cz...hentication.php

next I delete compile files in /www/tools/smarty/compile

and last step: in administration of PS in preferences - performance change smarty Force compile: and Cache: and change back.

 

So solved.

 

Thanks

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

×
×
  • Create New...