Elxis CMS Forum

Support => Administration => Topic started by: fushang on December 22, 2012, 05:20:00

Title: I can not login in chrome or ie
Post by: fushang on December 22, 2012, 05:20:00
Hi all
I install elxis on localhost (usbwebserver8.5), in firefog i can login but not in chrome or ie
If i login in estia, it back to login form (not show anything).
If i login in elxis/index.php/user/login/ it show : Your request dropped for security reasons. Please try again.
I just install and not change anything.
And problem with change user info: all of the fields (previously contained data) are empty.
I have update elxis.js but the problem was not solved.
Can anyone help me!
sorry for my bad english  ;D
Title: Re: I can not login in chrome or ie
Post by: xmanhattan on December 22, 2012, 10:09:12
Hello

1st   Check that your php.ini settings are according to the installation notes https://www.elxis.net/docs/using-elxis/getting-started/installation-guide.html (https://www.elxis.net/docs/using-elxis/getting-started/installation-guide.html)

2nd  Did you move the repository outside of the root directory?  If you did not then you can still do it but after you must change the information in the configuration file.



Title: Re: I can not login in chrome or ie
Post by: datahell on December 22, 2012, 12:02:47
usbwebserver might have some limitations and most probably incomplete setup which I don't know. Also I think it runs on port 8080, in this case your URLs are wrong. If login is your only problem (I think not) then sessions is the cause of the login failure. Why to mess with something so amateur like a web server running from a USB stick instead of testing Elxis in a proper web server? usbwebserver can be a later experiment but first run Elxis the normal way. Your problem is not Elxis but usbwebserver.
Title: Re: I can not login in chrome or ie
Post by: fushang on December 22, 2012, 17:54:23
Thank for your reply, but i thing the problem is not in webserver or in php configuration, because i can login with firefox (fontend & backend), but not in chrome or ie
Title: Re: I can not login in chrome or ie
Post by: tmcgee123 on February 17, 2013, 06:21:59
I use a different WAMP with settings: Apache port = 80 Apache SSL port = 443 PHP Version 5.4.11.  My problem is identical to yours.  Have you received an answer to the problem?
Title: Re: I can not login in chrome or ie
Post by: xmanhattan on February 17, 2013, 10:09:47
Sorry to say that what you explained originally was different than not being able to log into your site locally.

I just tested logging into Nautilus (latest version) locally using wamp 2.2 with:
FF v18 works
Opera v12 works
IE v9   fails
Chrome v24 fails

All of them can view Nautilus properly so I suggest that you use firefox to work on them locally.

p.s.  All the above browsers can log into 2009.x properly.
Title: Re: I can not login in chrome or ie
Post by: speck on February 17, 2013, 12:34:44
maybe can be problem of some setting in local. with chrome i have the same problem of you.
on live sites, google chrome works right.... ie9 i don't know ... i'm not a rich man. my pc is old and i use again XP  ;D
Title: Re: I can not login in chrome or ie
Post by: datahell on February 17, 2013, 14:38:25
I just logged in with Chrome 24 in Elxis 4.0 administration without any problem.
I also tried IE 9, everything fine here too.
So everything works fine, I don't see any problem...
Title: Re: I can not login in chrome or ie
Post by: tmcgee123 on February 18, 2013, 06:07:55
I have attached Apache and PHP configuration information files for localhost.  Maybe someone can compare to production settings to find the source of this problem.  I use localhost to develop and test all files prior to uploading to production server.
Title: Re: I can not login in chrome or ie
Post by: datahell on February 18, 2013, 08:47:02
 I guess it is a browser issue but it can be solved by modifying the server configuration. As long as you can login with firefox then elxis is fine. You must find out why you can't login with other browsers. The most posible reason is a browser setting, a browser plugin or an antivirus/firewall than prevents cookies and sessions from working normal.
This article (https://secure.kitserve.org.uk/content/php-session-cookie-problems-google-chrome-and-internet-explorer) describes the same problem with chrome and IE. It is quite old but worths reading it. This article says why chrome and IE can't accept session cookies for different reasons each one. If the problem with chrome is the ip address I think it can be solved by modifying the windows hosts file. In elxis.org there is an article regarding virtual hosts in local apache installations (https://www.elxis.org/guides/developers-guides/local-apache-and-virtual-hosts.html).

This is why we always recommd to use firefox, whatever other browsers do or say, firefox is by far the best and most secure browser.

BTW, have you tried to login from frontend? Do you have the same result?
Title: Re: I can not login in chrome or ie
Post by: xmanhattan on February 18, 2013, 10:51:49
I have just tried modifying php.ini with various settings found on the net but they do not appear to work.

I did not try adding this header simply because I do not know where it should be placed in the index files:
Code: [Select]
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
Wamp solution is to go to xampp believe it or not.  http://forum.wampserver.com/read.php?2,91207,93463 (http://forum.wampserver.com/read.php?2,91207,93463)

I would simply ignore this problem as I believe that it has to do with the local server and is not worth the time trying to solve it.
Besides FF has better add-ons then the other browsers, e.g. try User Agent Switcher to test your site for device resolution, click resize and view responsive layouts.

Use firefox for inhouse local testing the other browsers will work when you place your site online at a host according to Datahell, I don't have a nautilus site online yet.
Title: Re: I can not login in chrome or ie
Post by: timalsina on September 06, 2014, 13:57:57
I was having similar issue for Chrome/IE 9 on 4.2. Setting Match browser - No on Settings -> Session fixed the problem.