Authentication Problem

Posts from previous Beta sessions

Authentication Problem

Postby poetter » Sat Sep 29, 2007 2:59 am

Hi, since i replaced the java autoreloader with an autosubmit form with method post i've got the problem that the session cookie isn't saved when using ArmorySync. So every second request to ArmorySync comes up with a password request till i use another authform f.e. in RosterCP.

Anyone an idea how that comes?

btw:

Strange things happening here:
Code: Select all
lib\login.php
  Warning line 86: Cannot modify header information - headers already sent by (output started at D:\xampp\roster.com\htdocs\addons\armorysync\locale\esES.php:1)


Get this error message on guildmember syncing
Last edited by poetter on Sat Sep 29, 2007 3:20 am, edited 1 time in total.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Authentication Problem

Postby poetter » Sat Sep 29, 2007 3:56 am

All right, took me an hour but it was false encoding of Subxeros enES file. Changed to UTF-8 without BOM and everythings fine.
Last edited by poetter on Sat Sep 29, 2007 3:57 am, edited 2 times in total.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Authentication Problem

Postby Subxero » Sat Sep 29, 2007 6:38 am

Upss sorry :( , what is the BOM ? I use the same UltraEdit from ever...
Last edited by Subxero on Sat Sep 29, 2007 6:43 am, edited 1 time in total.
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: Authentication Problem

Postby poetter » Sat Sep 29, 2007 6:42 am

np, that beta :D
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Authentication Problem

Postby PleegWat » Sat Sep 29, 2007 5:55 pm

The BOM is the Byte Order Mark. It can be added to a text file to make sure editors know how the UTF8 encoding is done in the file.
PHP does not support this mark, and treats it as output. After output has been sent, certain php functions won't work anymore, which breaks login (among other things, depending on the file affected). This also creates some weird characters on your screen, usually in the top left corner, and some php error messages.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Authentication Problem

Postby poetter » Sat Sep 29, 2007 7:43 pm

Good to know, thx
Last edited by poetter on Sat Sep 29, 2007 7:44 pm, edited 1 time in total.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg


Return to Archived

Who is online

Users browsing this forum: No registered users and 0 guests

cron