Forums / Developer / Problem with user login form

Problem with user login form

Author Message

Golvier Jean

Friday 21 May 2004 5:28:39 am

I use a custom template called scm_login.tpl to enable my users to login. In the form, I find :

<form method="post" action={"user/login/"|ezurl}>

which become after ezPublish compiling :

<form method="post" action="/news_en/user/login">

but when I submit, I get a message error which says :

Module not found
The requested module news_en could not be found.

Possible reasons for this is.

The module name was misspelled, try changing the url. 
The module does not exist on this site. 
This site uses siteaccess matching in the url and you didn't supply one, try inserting a siteaccess name before the module in the url . 

but news_en is not a module, it's only the english part of the url (http://www.mydomain.com/news_en/...) which lead to my english website. I have the same problem with others languages.

I try to change this line but I can't reach my goal. Do you have an idea ?