List Info

Thread: Login problems




Login problems
user name
2006-08-29 10:52:23
Hi Patrick,

I'm unable to reproduce this behaviour. I can log in with
user name containing
 in
it. Most probably this happens because of some PHP
configuration issue.
Can you give me access to your site so I can debug?

Regards,
Mugur

--- patrickrocksolidsystems.biz wrote:
> I have just recently upgraded from an old version to
the latest joey version
> of campsite. Our subscribers use the email address as a
username to logon.
> Something within campsite does not like a username
either as long - or
> containing an  char.
> 
> I keep getting 'Invalid Username' message. I have
tried with a completely new
> login template created using the Login tags etc. 
> 
> However, when signing in with a 'normal' user name
all works ok.
> 
> Anyhelp appreciated as I am stuck at this point.
> 
> Patrick
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
Login problems
user name
2006-08-29 11:08:54
sure.

The site url : noseweek.mediaturtle.com
here you will see a link to login ....

it's a test site at the moment (although i am getting pressure from my principles to make live) so passing you the passwords etc here ...

i made two users :
te.cz">tte.cz and tte.cz both with password "MiniCooperS"
the first one doesn't work, the second does.

you can try it at noseweek.mediaturtle.com/pwtest.tpl
which is simple, 'clean', campsite form.

it has the same behavior

if you need to log on to campsite..
patrick
MiniCooperS

By the way the Campsite logon works fine.

It seems to come into play when using the <!**If login action> campsite commands.

Let me know if you need more



patrick wright

RockSolid Systems

+27 82 652 7474




On 29 Aug 2006, at 12:52 PM, Mugur Rus wrote:

Hi Patrick,

I'm unable to reproduce this behaviour. I can log in with user name containing
in it. Most probably this happens because of some PHP configuration issue.
Can you give me access to your site so I can debug?

Regards,
Mugur

I have just recently upgraded from an old version to the latest joey version
of campsite. Our subscribers use the email address as a username to logon.
Something within campsite does not like a username either as long - or
containing an char.

I keep getting 'Invalid Username' message. I have tried with a completely new
login template created using the Login tags etc. 

However, when signing in with a 'normal' user name all works ok.

Anyhelp appreciated as I am stuck at this point.

Patrick



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 


Login problems
user name
2006-08-29 11:58:09
It is the same thing as the  bug I reported in trac.
The explanation:
1) create new subscriber using admin interface with  in UName
2) use login.tpl on the frontend to login
- result is, invalid username

I checked database and the values are correct, so the only
reason I can
imageine is the login form feature in parser.
I believe the bug must be there.

Ondra

On Tue, 2006-08-29 at 13:08 +0200, patrick wright wrote:
> sure.
> 
> 
> The site url : noseweek.mediaturtle.com
> here you will see a link to login ....
> 
> 
> it's a test site at the moment (although i am getting
pressure from my
> principles to make live) so passing you the passwords
etc here ...
> 
> 
> i made two users :
> tte.cz and tte.cz both with password
"MiniCooperS"
> the first one doesn't work, the second does.
> 
> 
> you can try it at noseweek.mediaturtle.com/pwtest.tpl
> which is simple, 'clean', campsite form.
> 
> 
> it has the same behavior
> 
> 
> if you need to log on to campsite..
> patrick
> MiniCooperS
> 
> 
> By the way the Campsite logon works fine.
> 
> 
> It seems to come into play when using the <!**If
login action>
> campsite commands.
> 
> 
> Let me know if you need more
> 
> 
> 
> 
> 
> patrick wright
> 
> RockSolid Systems
> 
> +27 82 652 7474
> 
> 
> 
> 
> 
> 
> 
> On 29 Aug 2006, at 12:52 PM, Mugur Rus wrote:
> 
> > Hi Patrick,
> > 
> > 
> > I'm unable to reproduce this behaviour. I can log
in with user name
> > containing
> >  in it. Most probably this happens because of some
PHP
> > configuration issue.
> > Can you give me access to your site so I can
debug?
> > 
> > 
> > Regards,
> > Mugur
> > 
> > 
> > --- patrickrocksolidsystems.biz wrote:
> > > I have just recently upgraded from an old
version to the latest
> > > joey version
> > > of campsite. Our subscribers use the email
address as a username
> > > to logon.
> > > Something within campsite does not like a
username either as long
> > > - or
> > > containing an  char.
> > > 
> > > 
> > > I keep getting 'Invalid Username' message.
I have tried with a
> > > completely new
> > > login template created using the Login tags
etc. 
> > > 
> > > 
> > > However, when signing in with a 'normal'
user name all works ok.
> > > 
> > > 
> > > Anyhelp appreciated as I am stuck at this
point.
> > > 
> > > 
> > > Patrick
> > > 
> > > 
> > 
> > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
protection around 
> > http://mail.yahoo.com 
> > 
> > 
> 
> 

Login problems
user name
2006-08-29 14:36:32
Hi Patrick,

The problem seems to be in the MySQL libraries, here is the
explanation: when
querying the database it escapes the string (replaces ',
" and other
characters). On Linux the escaped email is the same (e.g.
testtest.com) but on
FreeBSD it changes the  character into %40: test%40test.com,
while in the
database the correct value was stored (testtest.com).

Ondra asked for help on MySQL support list; in the meantime
you could do the
login through a PHP script and use Campsite API to create
the user session.
See:
- http://cod
e.campware.org/api/campsite-2.6/
- http://code.campware.org/api/campsite-2.6/Campsite/U
ser.html

Regards,
Mugur

--- patrick wright <patrickrocksolidsystems.biz>
wrote:
> sure.
> 
> The site url : noseweek.mediaturtle.com
> here you will see a link to login ....
> 
> it's a test site at the moment (although i am getting
pressure from  
> my principles to make live) so passing you the
passwords etc here ...
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
Login problems
user name
2006-08-29 14:40:42
ok, thanks for your help ...

patrick wright

RockSolid Systems

+27 82 652 7474




On 29 Aug 2006, at 4:36 PM, Mugur Rus wrote:

Hi Patrick,

The problem seems to be in the MySQL libraries, here is the explanation: when
querying the database it escapes the string (replaces ', " and other
characters). On Linux the escaped email is the same (e.g. test.com">testtest.com) but on
FreeBSD it changes the character into %40: test%40test.com, while in the
database the correct value was stored (test.com">testtest.com).

Ondra asked for help on MySQL support list; in the meantime you could do the
login through a PHP script and use Campsite API to create the user session.
See:

Regards,
Mugur

sure.

The site url : noseweek.mediaturtle.com
here you will see a link to login ....

it's a test site at the moment (although i am getting pressure from  
my principles to make live) so passing you the passwords etc here ...



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )