Admin Login

Asked by glenthedog

Hi,

I've just setup Xibo 1.0.1 onto a Windows 2003 server running MySQL and Apache. The installation runs fine, and I get the admin login prompt. At this point, I enter the xibo_admin username with the password configured during the install, but instead of getting through to the dashboard I receive a message stating "xibo_admin logged in" on the main login screen.

Based on this, it looks like I'm logged in, but I'm not taken any further than this. Hope someone can help.

Cheers,

Kenny

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
glenthedog
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Hi Kenny

What web browser are you using?

Cheers

Alex

Revision history for this message
glenthedog (kenny-lang) said :
#2

Hi Alex,

I've tried this with Internet Explorer v 7 and Mozilla Firefox v2.

Cheers,

Kenny

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Hi Kenny

IE7 should be fine. FF2 I expect would be problematic anyhow.

Are you using a proxy to access the server? Can you clear the cache on IE7, close and retry please.

Cheers

Alex

Revision history for this message
glenthedog (kenny-lang) said :
#4

Hi Alex,

I'm not using a proxy to reach the server, and I've tried clearing down the cache on IE7 with no joy.

Cheers,

Kenny

Revision history for this message
glenthedog (kenny-lang) said :
#5

I've also tried accessing the server from three different machines, and get the same error.

Revision history for this message
Alex Harrington (alexharrington) said :
#6

Hi Kenny

Could you email over a screenshot to <email address hidden> so I can see exactly the screen you get to.

Could you also have a look in whatever location IIS logs to and see if there are any errors logged there?

Cheers

Alex

Revision history for this message
Alex Harrington (alexharrington) said :
#7

Hi

Just noticed it's Apache. Can you look in the Apache logs for any sign of an error (I doubt there will be any, they should be redirected off to the database).

A

Revision history for this message
glenthedog (kenny-lang) said :
#8

Hi,

I've posted through the screenshot to the email address provided. Will have a look for any Apache logs and send them through.

Many thanks for your assistance - Xibo looks like a great product and I'd like to roll it out to the high schools I work for,

Cheers,

Kenny

Revision history for this message
glenthedog (kenny-lang) said :
#9

Hi Alex,

I've emailed over the Apache server logs.

Cheers,

Kenny

Revision history for this message
Alex Harrington (alexharrington) said :
#10

Kenny

I've been speaking to Dan and he thinks it's likely to be an issue with sessions. What we need is a dump of the sessions table in the database.

I don't want to teach you to suck eggs, but shout if this isn't clear:

Can you:
* Dump out the sessions table to a text file and save it
* Refresh the browser and log in
* Dump out the sessions table again and save it
* Dump out the log table to a text file and save it

Email the three files over.

Cheers

Alex

Revision history for this message
glenthedog (kenny-lang) said :
#11

Hi Alex,

I've had a look at the sessions table and it appears to be empty. I also receive a sporadic error message when trying to view the table.

I have sent some screen dumps of this over to you via email.

Cheers,

Kenny

Revision history for this message
glenthedog (kenny-lang) said :
#12

I've managed to dump out the log table, and have sent this over via email.

Cheers,

K.

Revision history for this message
Alex Harrington (alexharrington) said :
#13

Got them - thanks.

Is that the whole log table? The ID seems to start at 372 and I'd expect that to be 1.

A

Revision history for this message
glenthedog (kenny-lang) said :
#14

Hi Alex,

This is strange, but when I open the table in the query window it starts at 372. I've pinged over another screenshot displaying this.

Cheers,

Kenny

Revision history for this message
Alex Harrington (alexharrington) said :
#15

My mistake. I just looked at the SQL that creates that table and it does start at 372 - so that's fine, but what's puzzling is the first logon attempt says that there's a pre-existing session.

Dan would be much better placed to look at this as it's his code.

He'll pick this up later I'm sure.

Cheers

Alex

Revision history for this message
glenthedog (kenny-lang) said :
#16

Thanks Alex, greatly appreciated.

Revision history for this message
Dan Garner (dangarner) said :
#17

Hi Kenny,

I have a suspicion PHP might be set to auto-start a session before it starts parsing our scripts - therefore not using the Xibo sessions - but the default ones instead.

Could you take a look at the settings defined in your PHP.ini

You would be looking for one called: session.auto_start (http://uk2.php.net/manual/en/session.configuration.php#ini.session.auto-start) we would be wanting a value of 0 (off)

Hopefully it is as simple as this!

Cheers,
Dan

Revision history for this message
glenthedog (kenny-lang) said :
#18

Hi Dan,

I've changed this value in php.ini and restarted Apache, but I still have the same problem.

Cheers,

Kenny

Revision history for this message
glenthedog (kenny-lang) said :
#19

Hi Dan/Alex,

Please ignore my last comment. I've rebooted the server after making the change and I can now access the dashboard.

Many Thanks,

Kenny

Revision history for this message
Alex Harrington (alexharrington) said :
#20

Good - glad it's working for you.

A

Revision history for this message
Levell3r (daniel-grnholm) said :
#21

Hi guys,
I have recently installed a new signage server and am received this error message too. I have been in and checked my php sessions and they seem fine ( as you suggested above).

This is the log file line generated when i try.

[Wed Dec 02 11:31:57 2009] [error] [client 10.124.4.201] File does not exist: /var/www/xibo/lib/js/dashboard.js, referer: http://10.124.4.56/xibo/index.php?p=dashboard

I actually have no clients installed on it anywhere, its literally a fresh install :S

Revision history for this message
Alex Harrington (alexharrington) said :
#22

Hi

What is it you can't do? That message is normal.

Alex

Revision history for this message
Levell3r (daniel-grnholm) said :
#23

oh, cool.

i login to the interface as normal, which goes smoothly. But when i click on anything on the dashboard i tells me im not logged in. as per the screenshot.

amazingly quick response btw, not used to that :)

Revision history for this message
Levell3r (daniel-grnholm) said :
#24

the screenshot i managed to forget, typical.

http://tinypic.com/view.php?pic=k99iqf&s=6

Revision history for this message
Alex Harrington (alexharrington) said :
#25

Launchpad Answers doesn't support attachments so I'm not sure I'm seeing the screenshot you're referring to.

Basic things to check:

Clear your browser cache
Close ALL instances of your browser
Try again

If that's not working, check that you don't have session.autostart set to 1 or true in your PHP configuration.

If you need to change it, you'll have to restart your webserver for those changes to be picked up. Also it's worth clearing local cache/sessions cache in your browser at that point again.

If still not working, are you accessing Xibo from behind a proxy or loadbalancer?

Alex