You are not logged in.
Pages: 1
Can't get it to work. When I login using the username "root" and the password I entered during installation, it immediately say "Your session has expired." Then it goes back to the login dialog box. Browser: Firefox 11.0. Window XP Home Edition.
Offline
Does your ip address change from time to time? That message is shown, in case your ip address changed (there's a way to turn this off) and in case the last access to the session took longer than one hour (default oneye setting).
Best regards,
Lars Knickrehm
The oneye project.
Offline
The message "Your session has expired" pops up immediately after trying to log in. There is no change of IP. This is very frustrating, as I really want to use oneye. I also removed oneye from the server and uploaded it again, entered the same root password and I still cannot login. How do you cut off "Your session has expired"?
Offline
What oneye release do you use?
That code can be found in xxxxxxxxxx/system/services/mmap/main.eyecode near line 111.
ORIGINAL CODE:
if(($_SESSION['AUTH_IP'] != $_SERVER['REMOTE_ADDR']) && sec('protectedIpSessions') || intval(SESSION_EXPIRE) > 0 && time() - intval($_SESSION['ping']) > intval(SESSION_EXPIRE)) {
WORKAROUND (Just skips the check completely!):
if (false) {
I'd like to know what's the problem on your server. Could you try the following three lines and tell us, what of them worked, pease?
TEST A:
if (($_SESSION['AUTH_IP'] != $_SERVER['REMOTE_ADDR']) && sec('protectedIpSessions')) {
TEST B:
if ($_SESSION['AUTH_IP'] !== $_SERVER['REMOTE_ADDR'] && sec('protectedIpSessions')) {
TEST C:
if (intval(SESSION_EXPIRE) > 0 && time() - intval($_SESSION['ping']) > intval(SESSION_EXPIRE)) {
Best regards,
Lars Knickrehm
The oneye project.
Offline
I'm using oneye_0.8.0.
I performed the tests as you requested:
Test A: Removes the login box.
Test B: Login box comes up, but nothing happens after you try to log in.
Test C: When you try to login, "your session has expired" dialog box immediately comes up. When you click "ok", a new login box appears.
The workaround: After I enter User Name "root" and password, and click on "Enter" nothing whatsoever happens.
Offline
It seems your server has a nontypical session related configuration.
What operating system, what server software (apache, iis, ...) and what php version do you use?
Could you send me your php settings, please? You get them by creating a simple php file and accessing it via your browser. Its content should be:
<?php phpinfo(); ?>
Best regards,
Lars Knickrehm
The oneye project.
Offline
What operating system, what server software (apache, iis, ...) and what php version do you use?
System: Linux vux143 3.2.1
Server: Apache/2.2.22
PHP Version 5.3.8
Offline
Hi jetsetter,
[...]it immediately say "Your session has expired."[...]
This morning, proceeding to some tests on a new SNV installation I encountered the same issue: my soluce was simply to clean my browser (Chrome in that case => "Clear browsing data...") and to reload the page
Offline
HI jetsetter,
please check your webfolder rights.
I had the same problem and fixed it by a "chown root:apache oneyexxxxxx and chmod 755 oneyexxxxxx.
Check also the subfolder rights.
But be careful with .htacces and other security related files!
Darkspider
Offline
hi there!
i am a happy user from eyeos version 1.5. recently i upgraded from 1.9 to eneye 0.90 and 0.9.1-preview-2013-01-25 with problem described above by jetsetter.
in my case solution A and B and WORKAROUND disabled login window, C did absolotely nothing.
i have server LiteSpeed V6.2 and PHP Version 5.3.26 on a shared webhosting.
Hosting support said that oneye is too unique to advice something wise.
Any ideas?
Last edited by 13mhz (2013-08-04 22:39:32)
Offline
Offline
Sorry, the Login window disappers?
So now, please tell me everything you do and see:
You open the oneye url. What do you see? The login window? Does it disappear immidiatly?
Best regards,
Lars Knickrehm
The oneye project.
Offline
Did you clean your browser's Cache and what about the file permissions? Please, try setting them to either 755 or 777.
Best regards,
Lars Knickrehm
The oneye project.
Offline
you can check my site - desktop.kapa.pl
as I mentioned before it is a very old installation, upgraded a few times.
Offline
Hi 13mhz,
Welcome to oneye!
Would I be right in thinking that before you first posted in this thread, that the login window did appear? If so, could you please undo any changes you may have done as a result of seeing them suggested in this thread? Right now the issue appears to be server side, and I just want to see how it was originally.
Just a word of warning: the continuous upgrading from eyeOS 1.5 has probably taken its toll on your installation. It may be easier to backup your user data and reinstall oneye from scratch. I say 'may' because I have no idea how many users you have, nor do I know which web host you're on, so I realise this may be logistically difficult.
Offline
Hi again 13mhz,
I recently got a new idea:
Please, add the following line of code in front of that "if" statement from one of my previous post with those "test cases" and tell me when you're done.
var_dump($_REQUEST); var_dump($_SESSION);
I guess, session initialization might fail on your server and with that, I will get some output to check if the checksum (an process identifier) can be matched or not.
Best regards,
Lars Knickrehm
The oneye project.
Offline
i have no more than 15 users so if you can tell me what forlders exactly contains all users' data, i would try the option with fresh install + adding users from backup.
Last edited by 13mhz (2013-08-05 14:28:59)
Offline
Did you install third-party applications? Those might be lost when doing a fresh installation. Else you'd just need to back up the folders "accounts", "groups" and "users" .
Best regards,
Lars Knickrehm
The oneye project.
Offline
Pages: 1