Joomla! Discussion Forums



It is currently Sun Nov 22, 2009 2:44 am (All times are UTC )

 




Post new topic Reply to topic  [ 29 posts ] 
Author Message
Posted: Sun Feb 26, 2006 2:37 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 8:53 am
Posts: 711
Location: Switzerland
Noticed when I logged in again on dev.joomla.com (after getting auto-loggec-out) that the login module said "Hi, 0" instead of "Hi, Beat" 10 minutes ago. Now site is down, seen from here. Maybe linked to upgrade.

EDIT: Tried on a 1.0.8 plain vanilla release, works fine :) . So is probably linked to specific config of dev site ;)

_________________
Beat 8)
www.joomlapolis.com <= Community Builder + CBSubs Joomla membership payment system - team
hosting.joomlapolis.com <= Joomla! Hosting, by the CB Team


Last edited by stingrey on Wed Mar 08, 2006 10:03 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Sun Feb 26, 2006 3:04 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Nov 22, 2005 5:39 pm
Posts: 382
Location: Calcutta - India
@Beat
Quote:
Noticed when I logged in again on dev.joomla.com (after getting auto-loggec-out) that the login module said "Hi, 0" instead of "Hi, Beat" 10 minutes ago. Now site is down, seen from here. Maybe linked to upgrade.


This seems to be a bug,
has been reported over here also,

http://forum.joomla.org/index.php/topic,41203.0.html

_________________
Romit Chatterjee
× Joomla! Web Developer - http://www.RomitChat.com
× IndicJoomla! Translation Coordinator - http://www.JoomlaIndia.org/bengali/


Top
  E-mail  
 
Posted: Sun Feb 26, 2006 3:19 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Thu Aug 18, 2005 4:35 pm
Posts: 2838
Location: Cheshire, England
romit wrote:
@Beat
Quote:
Noticed when I logged in again on dev.joomla.com (after getting auto-loggec-out) that the login module said "Hi, 0" instead of "Hi, Beat" 10 minutes ago. Now site is down, seen from here. Maybe linked to upgrade.


This seems to be a bug,
has been reported over here also,

http://forum.joomla.org/index.php/topic,41203.0.html


I just upgraded and went straight to edit the mod_login.php as I use a hacked version, so I thought it was my error at first.

It seems that the new mod_login.php does not have this in it any more:

Code:
if ( $name ) {
   $query = "SELECT name"
   . "\n FROM #__users"
   . "\n WHERE id = $my->id"
   ;
   $database->setQuery( $query );
   $name = $database->loadResult();
} else {
   $name = $my->username;
}


I added that into the new mod_login.php and it fixes it for me.

_________________
Look at the page source... Lots of useful info...


Top
   
 
Posted: Sun Feb 26, 2006 3:23 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 8:53 am
Posts: 711
Location: Switzerland
Checked again on my test-installation 1.0.8 & CB RC2 and can confirm that the joomla 1.0.8 login module has a bug there.

My tests had been mostly conducted on 1.0.8 and CB 1.0 RC2 and 1.0 pre-Stable, where we didn't have problems, as using the CB RC2 login module ;).

Btw: Yes, Community Builder 1.0 RC2 is compatible with Joomla! 1.0.8. :)
http://www.joomlapolis.com has been updated to Joomla! 1.0.8 and rund CB RC2 fine.

_________________
Beat 8)
www.joomlapolis.com <= Community Builder + CBSubs Joomla membership payment system - team
hosting.joomlapolis.com <= Joomla! Hosting, by the CB Team


Top
  E-mail  
 
Posted: Sun Feb 26, 2006 4:21 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Thu Aug 18, 2005 4:35 pm
Posts: 2838
Location: Cheshire, England
@ stingrey

Any feedback on the mod_login.php ?

is it simply an ommission of

Code:
if ( $name ) {
   $query = "SELECT name"
   . "\n FROM #__users"
   . "\n WHERE id = $my->id"
   ;
   $database->setQuery( $query );
   $name = $database->loadResult();
} else {
   $name = $my->username;
}

_________________
Look at the page source... Lots of useful info...


Top
   
 
Posted: Sun Feb 26, 2006 5:59 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Wed Aug 24, 2005 12:14 am
Posts: 589
Location: The Netherlands
toubkal wrote:
@ stingrey

Any feedback on the mod_login.php ?

is it simply an ommission of

Code:
if ( $name ) {
   $query = "SELECT name"
   . "\n FROM #__users"
   . "\n WHERE id = $my->id"
   ;
   $database->setQuery( $query );
   $name = $database->loadResult();
} else {
   $name = $my->username;
}


I would also like a solution for this one. It looks kind of strange, a 0 instead of your name... Nobody else having this problem?


Top
  E-mail  
 
Posted: Mon Feb 27, 2006 6:58 am 
Joomla! Hero
Joomla! Hero
Offline

Joined: Sun Aug 28, 2005 5:03 pm
Posts: 2404
Login works fine and gives all permissions correctly...

Only problem is once logged in the module displays Hi,0 as opposed to the Hi, username it used to...

Other than that no problems using the site otherwise that I can see


Top
  E-mail  
 
Posted: Mon Feb 27, 2006 1:23 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Mon Aug 15, 2005 4:36 pm
Posts: 2399
Location: Marikina, Metro Manila, Philippines
The easiest solution to confirmed bug, is to go into the mod_login module and setting:
Name/Username = Name

Modules -> Site Modules -> edit mod_login


See attached image:


You do not have the required permissions to view the files attached to this post.

_________________
God grant me the Serenity to Accept the things I cannot change, the Courage to change the things I can and the Wisdom to know the Difference.


Top
  E-mail  
 
Posted: Mon Feb 27, 2006 2:39 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Aug 18, 2005 10:10 am
Posts: 124
Location: Amsterdam
Updating went perfect.

1 small bug: After login in on the site (as user, not in backend) it used to say: ' Hello Marijn' . No it says: 'Hello, 0'.

In my opinion 2 possibilities: My computer found out i am a zero and likes to tell me that from now on or there is a little bug in 1.0.8.


Thanks core team!


Top
  E-mail  
 
Posted: Mon Feb 27, 2006 5:51 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 19, 2005 7:54 am
Posts: 280
Location: Romania
martijn189 wrote:
@cozimek :

The problem is that with MOSCE 1.0.4 and joomla 1.0.8 most of the editors features are lost, due to errors when trying to use features as the image manager or the link manager: you get errors like:

Code:
Fatal error: Call to a member function on a non-object in /var/www/g4225/gatenet.nl/HTML/includes/joomla.php on line 802



I have the same problem too + when user is loget insted of "Hello, User" it gets (ALL of them) -> "Hello, 0"  :o

Any solutions?


Top
  E-mail  
 
Posted: Mon Feb 27, 2006 8:10 pm 
Joomla! Hero
Joomla! Hero
Offline

Joined: Sun Aug 28, 2005 5:03 pm
Posts: 2404
WOW....
That was just too easy of a fix Rey! LOL


Top
  E-mail  
 
Posted: Tue Feb 28, 2006 10:10 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sat Sep 03, 2005 10:22 pm
Posts: 297
Location: AL
Hi,

Same login problem here.
I was getting the Hi, 0 error so I was going to go with the simple workaround from Rey until the file is updated but when a user logs in or out it takes them to http://www.joomlashack.comindex.php/? note there is not forward slash before index.php. 404 :)

_________________
www.joomlatemplatebuilder.com


Top
   
 
Posted: Fri Mar 03, 2006 12:13 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 12:32 pm
Posts: 990
Location: Tewkesbury, UK
I had this on a very high profile site tonight so I fixed the issue - and another issue where the return URL was always invalid (missing a / inbetween .com and index lik .comindex.php should be .com/index.php

I have uploaded the changes to my blog at http://blog.phil-taylor.com

_________________
Phil Taylor - Full Time Expert Joomla-Only Developer
Blue Flame IT Ltd.
-- http://www.phil-taylor.com/
SPEED UP Joomla 1.5.x Admin Console with this: http://extensions.joomla.org/extensions ... 53/details


Top
   
 
Posted: Sun Mar 05, 2006 4:34 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Aug 30, 2005 1:44 pm
Posts: 82
Location: Asheville, NC area
I login fine ... and so does others ... my problem is that I never see all the users and guests online.  I only see my name and noone else.  I know they have been there because I can see the hit counts go up on another module ... but they can not been seen on the login module or the how many guests online module.

Has anyone else experienced this?  I have it on two sites and I keep getting the same thing on both sites.

Thanks in advance for any assistance.  ;)

_________________
He is the Good Shepherd - John 10:27


Top
  E-mail  
 
Posted: Mon Mar 06, 2006 1:48 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Jan 30, 2006 7:03 pm
Posts: 48
PhilTaylor-Prazgod wrote:
....where the return URL was always invalid (missing a / inbetween .com and index lik .comindex.php should be .com/index.php

I have uploaded the changes to my blog at http://blog.phil-taylor.com


Your link sloved the "Hi, user" issue, but it seemed to create another problem.  Proviously, if you had the Logon on page A, a person could logon there and stay on the same page. If they logged on on page B, they would stay on page B. 

This fix seems to send people to a page different than the one where they log on. 

The original install (before .08) let people stay on the the same page where they logged in and did not take them to another page.

Possible fix for this? Thank you.


Top
  E-mail  
 
Posted: Wed Mar 08, 2006 10:03 am 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Mon Aug 15, 2005 4:36 pm
Posts: 2399
Location: Marikina, Metro Manila, Philippines
Fixed in SVN

_________________
God grant me the Serenity to Accept the things I cannot change, the Courage to change the things I can and the Wisdom to know the Difference.


Top
  E-mail  
 
Posted: Fri Mar 10, 2006 8:55 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Mar 10, 2006 11:46 am
Posts: 31
toubkal,

What line numbers for your tip?  It's hard to locate "omitted" lines.

K


Top
   
 
Posted: Sat Mar 11, 2006 8:03 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Sep 07, 2005 11:51 pm
Posts: 52
Location: UK
Hey Guys, I am confused: What is the fix for this problem (not the workaround offered by stingrey)?

What is SVN?


Top
  E-mail  
 
Posted: Mon Mar 13, 2006 5:45 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11653
Location: **Translation Matters**
james_uk wrote:

What is SVN?


Look here: http://forum.joomla.org/index.php/topic ... #msg246577

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Tue Mar 14, 2006 7:56 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Mar 11, 2006 7:22 am
Posts: 13
stingrey wrote:
Fixed in SVN


I would prefer to patch the problem on a production site. Could you please specify the required changes or point me to a source for the information?

Thanks


Top
  E-mail  
 
Posted: Tue Mar 14, 2006 8:28 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Feb 17, 2006 8:50 am
Posts: 195
Location: Amersfoort The Netherlands
Where can I access the SVN?


Top
  E-mail  
 
Posted: Tue Mar 14, 2006 8:34 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11653
Location: **Translation Matters**
Martjan wrote:
Where can I access the SVN?

http://dev.joomla.org/content/view/17/60/#subversion
For 1.0.x:
1.0 Release. http://scm.joomla.org/svn/repos/joomla/releases/1.0

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Wed Mar 22, 2006 2:55 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Mar 14, 2006 9:29 pm
Posts: 10
Location: Memphis, Tennessee
I concur--I need a patch, not another upgrade. My only option otherwise is to let it stay broken.

I simply can't afford the time required for another upgrade.

_________________
"The Christian ideal has not been tried and found wanting; it has been found difficult and left untried."
G. K. Chesterton


Top
   
 
Posted: Wed Mar 22, 2006 7:33 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11653
Location: **Translation Matters**
Preacher wrote:
I concur--I need a patch, not another upgrade. My only option otherwise is to let it stay broken.

I simply can't afford the time required for another upgrade.


All patches available on this list:
http://dev.joomla.org/component/option, ... ,33/cat,1/

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Wed Mar 22, 2006 7:47 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Mar 11, 2006 7:22 am
Posts: 13
infograf768 wrote:


Splendid, this was to great help!


Top
  E-mail  
 
Posted: Wed Mar 22, 2006 8:04 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11653
Location: **Translation Matters**
I'll give my Swiss bank account # by pm only.  :laugh:

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Sat Apr 15, 2006 9:21 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Apr 11, 2006 12:42 pm
Posts: 4
Location: Northfield, NJ USA
stingrey wrote:
The easiest solution to confirmed bug, is to go into the mod_login module and setting:
Name/Username = Name

Modules -> Site Modules -> edit mod_login


Awesome, wurks grate! Thanks!

-kj-

_________________
"Life is what happens while you're busy making other plans." - John Lennon
Site: http://www.kevin-jarrett.net/
Blog: http://www.kevin-jarrett.net/blog/


Top
  E-mail  
 
Posted: Thu May 04, 2006 3:22 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Sep 16, 2005 2:13 am
Posts: 6
Thanks stingrey... that fix did the job for me!


Top
  E-mail  
 
Posted: Sat May 27, 2006 9:01 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Apr 18, 2006 12:44 am
Posts: 61
thanks stingrey...Modules -> Site Modules -> edit mod_login > Name/Username = Name......fixed it for me too

_________________
to learn from those who have trekked this path before me
cheers, deano


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group