Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Andy] AdCycle plugin login problem

Quote Reply
Re: [Andy] AdCycle plugin login problem In reply to
Finally! I found solution! After few hours of searching and lots of coffee (Caffeine really does strange things to your brain!) and going through database and cgi files, I found where is problem.

Problem was in "login" table in mysql. Specially in row named "AGENT". This is char(100) row. And there was the problem.

When I was accesing it on work computer data that was written in that row was:

Code:
Mozilla/4.0 compatible; MSIE 7.0; Windows NT 5.1)


and that was ok, but when I was accessing it from my laptop data was:

Code:
Mozilla/4.0 compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NE

And there is catch. Real data from AGENT variable is:

Code:
Mozilla/4.0 compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30618)

and because row was set to CHAR(100) extra data "T CLR 3.0.30618)" wasn't stored so every time script try to check data from login table (and it's searching for cookie ID, remote address, account and AGENT) it could not match so every it bangs me back to login screen.

Fast fix was to change AGENT row to CHAR(255). Maybe it could be VARCHAR also. Yeeey! SmileCool

Now, only to find why AJAX category display isn't working...

UnReal Network
Subject Author Views Date
Thread AdCycle plugin login problem DeadMan 7966 Mar 10, 2009, 11:13 AM
Thread Re: [DeadMan] AdCycle plugin login problem
SandraR 7867 Mar 11, 2009, 9:37 AM
Thread Re: [SandraR] AdCycle plugin login problem
DeadMan 7784 Mar 12, 2009, 2:18 PM
Thread Re: [DeadMan] AdCycle plugin login problem
SandraR 7818 Mar 12, 2009, 4:14 PM
Thread Re: [SandraR] AdCycle plugin login problem
DeadMan 7736 Mar 17, 2009, 12:10 PM
Thread Re: [DeadMan] AdCycle plugin login problem
Andy 7742 Mar 17, 2009, 2:06 PM
Thread Re: [Andy] AdCycle plugin login problem
DeadMan 7730 Mar 19, 2009, 11:53 AM
Thread Re: [DeadMan] AdCycle plugin login problem
Andy 7686 Mar 19, 2009, 12:24 PM
Thread Re: [Andy] AdCycle plugin login problem
DeadMan 7640 Mar 21, 2009, 7:14 AM
Post Re: [DeadMan] AdCycle plugin login problem
Jack 7617 Mar 21, 2009, 7:26 AM
Post Re: [DeadMan] AdCycle plugin login problem
SandraR 7594 Mar 22, 2009, 8:15 AM