After installation the admin can't log in
I was installed the xibo1.0.2 on my server "http://
The Details are:
UserName: xibo_admin
Password : password
url:http://
First time i got this error so that i removed the folder and database and install it again. Even its not log in.
Can you please help me on this.
Regards
selvakumar
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Xibo Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I was installed the xibo1.0.2 on my server "http://
The Details are:
UserName: xibo_admin
Password : password
url:http://
First time i got this error so that i removed the folder and database and install it again. Even its not log in.
Can you please help me on this.
Regards
selvakumar
Revision history for this message
|
#2 |
Hi
I just tried and it logged in first time?
Alex
Revision history for this message
|
#3 |
Hi alex,
Is it blocked my ip address. Because i cant log in.
The Details are:
UserName: xibo_admin
Password : password
url:http://
Regards
selvakumar
Revision history for this message
|
#4 |
Hi
There's no code in Xibo to "block" IP addresses. Are you accessing Xibo through a proxy? Please try clearing the browser and session caches of your web browser, close the browser and try again.
Alex
Revision history for this message
|
#5 |
Hi alex,
Thank you so much for your prompt reply.
Yes i cleared all the cookie and priveate data and session and restart the browser also.
Still i cant login. Can you please help me on this.
Regards
selvakumar
Revision history for this message
|
#6 |
It's very strange.
When I log in and look at the sessions, I can see you logged in 4 times from two similar IP addresses. Three times in Firefox and one time in IE7?
Alex
Revision history for this message
|
#7 |
I've put your server in to full debug/audit/test mode. Please try logging on now so we can see what's logged.
Cheers
Alex
Revision history for this message
|
#8 |
Are you behind some kind of load-balancer? I see you trying to log on however while the session ID is constant (in some cases), the IP address you're coming from keeps skipping about...
Revision history for this message
|
#9 |
Hi Alex,
No we havnt use any load-balancer technique. I am installed on my separate laptop.
I sent this link to my colleague. He also not able to login.
We both cleared the cache and session and tried many times its not login.
Regards
selvakumar
Revision history for this message
|
#10 |
OK
That really isn't helpful. What I need is for one person to clear their cache, cookies and session data. Then from one browser on one PC, try logging in a few times so I can see what's going on.
Thanks
Alex
Revision history for this message
|
#11 |
OK - so from the log I see:
Form token incorrect from: 220.255.7.192 with token [d4d2afe8ccdc68
Form token incorrect from: 220.255.7.196 with token [2233c9f925ea31
Form token incorrect from: 220.255.7.191 with token [89d1a1b02a9150
All from your last three attempts. See how your IP address is changing?
Revision history for this message
|
#12 |
Hi Alex,
I got the error like this after login
Notice: Undefined index: token in /home/networkc/
Warning: Cannot modify header information - headers already sent by (output started at /home/networkc/
So i put ob_start() on the first line.
The ip address change is my colleague also trying this login so it might be his ip address.
I saw the log its saying
"'Form token incorrect from: 220.255.7.195 with token [9ed8827cffdf68
Revision history for this message
|
#13 |
Selvakumar
Please - we can't debug this with lots of people accessing the server.
Please arrange it so that it is JUST YOU attempting to log on from ONE BROWSER on ONE PC two or three times in sucession. We need to see what is happening with the session IDs and having multiple people trying to access it at once makes that impossible.
Please do not modify the source code as it's yet another variable to contend with. Please revert the change you made already until we understand the problem properly.
Alex
Revision history for this message
|
#14 |
The IP is still skipping all over the place:
Form token incorrect from: 220.255.7.199 with token [e3600fc8f0386c
Form token incorrect from: 220.255.7.198 with token [e3600fc8f0386c
See how the session ID is the same but the IP is changing. That has to be the same web browser on two different IP addresses...
Alex
Revision history for this message
|
#15 |
Hi Alex,
I revert back all the changes then i got the following error. [After login]
Notice: Undefined index: token in /home/networkc/
Warning: Cannot modify header information - headers already sent by (output started at /home/networkc/
Regards
selvakumar
Revision history for this message
|
#16 |
OK.
I've pushed up a special branch for you to test. Please can you download the new version of app_functions.php and replace the version in xibo-server/lib/app
Go here: http://
Use the "download file" link at the top to download a fresh copy and replace the existing version.
It won't work, but it will give us extra debug information about the sessions. Please continue to ensure that only one person is attempting to log on.
Cheers
Alex
Revision history for this message
|
#17 |
yes i download and replaced. Its display the following error
Notice: Undefined index: token in /home/networkc/
Warning: Cannot modify header information - headers already sent by (output started at /home/networkc/
Regards
selvakumar
Revision history for this message
|
#18 |
> Notice: Undefined index: token in
> /home/networkc/
hp on line 692
>
> Warning: Cannot modify header information - headers already
> sent by (output started at /home/networkc/
> server/
> /home/networkc/
> /xibo-server/
That output won't change, but I get extra info in the log.
I see you've tried to log on once. Please can you try three or four
times in quick succession so I can see if the session ID is changing
between tries.
Alex
Revision history for this message
|
#19 |
Yes i tried 5 times.
Regards
selvakumar
Revision history for this message
|
#20 |
Thanks - I got what I need.
The session ID is staying constant - which means that the sessions look sane. However your IP is changing on every request. Why is that happening? You must be behind some kind of load balancer and multiple net connections?
Alex
Revision history for this message
|
#21 |
FYI I've pastebin'd the relivant part of the log:
http://
Revision history for this message
|
#22 |
Alex has pin pointed the problem exactly (despite me being sure he was wrong!). The session is restricted to IP - because your IP is changing constantly you are never getting your session data persisted - and therefore you cannot login.
If you fix the IP issues I am sure it will be completely resolved.
I am researching alternatives and will keep you posted.
Revision history for this message
|
#23 |
Can you try the patch found on the linked bug report.
Thanks,
Dan
Revision history for this message
|
#24 |
Hehe. Makes a change. It'll be the first thing I've got right this week!
A
Revision history for this message
|
#25 |
Bug created to track status. Patch issued to OP.
Revision history for this message
|
#26 |
I get this error on a localhost server i use for testing powered by XAMPP.
Here is how the error occured:
I tried a movie upload which was too large for my "max_upload_
The listed patch don't work in my scenario.
I am using xibo-server-1.0.3.
Revision history for this message
|
#27 |
1. Upgrade to 1.0.6 - unless you like people having access to any file on your servers filesystem. All details are in the release notes for v1.0.4,1.0.5 and 1.0.6. You can upgrade from 1.0.3->1.0.6 in one step.
2. Clear your browser file and session cache. This bug won't apply to you unless you're beind a loadbalancer which changes your IP on each request.
Alex