Forums / Install & configuration / Admin Login Error - go to wrong URL / address

Admin Login Error - go to wrong URL / address

Author Message

Tullio Demasi

Thursday 23 July 2009 2:24:12 pm

Hello,

I have just installed ezpublish to try, but when i try to login with the Log in to the eZ Publish Administration Interface checked the browser URL is wrong.
It puts the 'ezpublish_site_admin' as the domain name.

Can anyone help me?

Thanks.

Tullio Demasi
Manaus - Amazonas - Brazil

Adrien Mogenet

Thursday 23 July 2009 2:33:18 pm

I got exactly the same issue.
Strange "bug (?)"

Just go to the real backend address.
Admin tab > .ini settings > select "site.ini" as file to edit > change the value of "AdditionalLoginFormActionURL"

Then clear the cache.
It should be ok :)

Cesar Gartland

Wednesday 29 July 2009 4:18:55 pm

And as you do that?
I can tell you what it looks like the line after editing?

Thank you

Paul Wilson

Wednesday 29 July 2009 6:19:32 pm

Hi,

Yes this inconvenient bug that has been in several versions of eZ Publish now.

I've reported it as an issue (see http://issues.ez.no/IssueView.php?Id=14569&ProjectId=3).

Basically, this bug needs to be resolved or go into the documentation as something that needs to be fixed for any (eZ Web Interface?) installation.

Until it's fixed, you need to the following whenever you're installing an eZ Publish:

(either edit the setting via the site admin as Adrien M is suggesting, or ...)

Once the installation is completed...

Edit the file [your_ezrootdirectory]/settings/siteccess/[your_usersiteacccess]/site.ini.append.php

That file contains an INCORRECT setting created by the install process, in the [SiteSettings] section:

AdditionalLoginFormActionURL =http://[admin_siteaccess]/index.php/[admin_siteaccess]/user/login

It needs to be corrected to read:

AdditionalLoginFormActionURL =http://[www.yourdomain.com]/index.php/[admin_siteaccess]/user/login

for example, your version might read:

AdditionalLoginFormActionURL =http://www.mydomain.com/index.php/my_admin/user/login

Once you have edited this file, clear your site cache to ensure the change takes effect.

If you get a chance, vote for the issue above (follow the link to it, then vote) so that the eZ Crew can see this is a priority - especially for new users.

Hope that helps
- Paul