| Joomla! http://forum.joomla.org/ |
|
| [FIXED] 1.0.8 :: mod_login does not show logged in users name http://forum.joomla.org/viewtopic.php?f=376&t=41410 |
Page 1 of 1 |
| Author: | Beat [ Sun Feb 26, 2006 2:37 pm ] |
| Post subject: | [FIXED] 1.0.8 :: mod_login does not show logged in users name |
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
|
|
| Author: | romit [ Sun Feb 26, 2006 3:04 pm ] |
| Post subject: | Re: Discussion about: Joomla! 1.0.8 Released |
@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 |
|
| Author: | toubkal [ Sun Feb 26, 2006 3:19 pm ] |
| Post subject: | Re: Discussion about: Joomla! 1.0.8 Released |
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. |
|
| Author: | Beat [ Sun Feb 26, 2006 3:23 pm ] |
| Post subject: | Re: Discussion about: Joomla! 1.0.8 Released |
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. |
|
| Author: | toubkal [ Sun Feb 26, 2006 4:21 pm ] |
| Post subject: | Re: Discussion about: Joomla! 1.0.8 Released |
@ 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; } |
|
| Author: | knol [ Sun Feb 26, 2006 5:59 pm ] |
| Post subject: | Re: Discussion about: Joomla! 1.0.8 Released |
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? |
|
| Author: | Asphyx [ Mon Feb 27, 2006 6:58 am ] |
| Post subject: | Login Module 1.08 suspect bad variable |
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 |
|
| Author: | stingrey [ Mon Feb 27, 2006 1:23 pm ] |
| Post subject: | Re: [CONFIRMED] 1.0.8 :: mod_login does not show logged in users name |
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: |
|
| Author: | marijn [ Mon Feb 27, 2006 2:39 pm ] |
| Post subject: | Re: Discussion about: Joomla! 1.0.8 Released |
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! |
|
| Author: | mophsy [ Mon Feb 27, 2006 5:51 pm ] |
| Post subject: | Re: Discussion about: Joomla! 1.0.8 Released |
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" ![]() Any solutions? |
|
| Author: | Asphyx [ Mon Feb 27, 2006 8:10 pm ] |
| Post subject: | Re: [CONFIRMED] 1.0.8 :: mod_login does not show logged in users name |
WOW.... That was just too easy of a fix Rey! LOL |
|
| Author: | Casey Lee [ Tue Feb 28, 2006 10:10 am ] |
| Post subject: | Re: [CONFIRMED] 1.0.8 :: mod_login does not show logged in users name |
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
|
|
| Author: | PhilTaylor-Prazgod [ Fri Mar 03, 2006 12:13 am ] |
| Post subject: | Re: [CONFIRMED] 1.0.8 :: mod_login does not show logged in users name |
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 |
|
| Author: | pastor_rob [ Sun Mar 05, 2006 4:34 pm ] |
| Post subject: | Re: [CONFIRMED] 1.0.8 :: mod_login does not show logged in users name |
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.
|
|
| Author: | luke409 [ Mon Mar 06, 2006 1:48 am ] |
| Post subject: | Re: [CONFIRMED] 1.0.8 :: mod_login does not show logged in users name |
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. |
|
| Author: | stingrey [ Wed Mar 08, 2006 10:03 am ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
Fixed in SVN |
|
| Author: | kenlyle [ Fri Mar 10, 2006 8:55 pm ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
toubkal, What line numbers for your tip? It's hard to locate "omitted" lines. K |
|
| Author: | james_uk [ Sat Mar 11, 2006 8:03 pm ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
Hey Guys, I am confused: What is the fix for this problem (not the workaround offered by stingrey)? What is SVN? |
|
| Author: | infograf768 [ Mon Mar 13, 2006 5:45 am ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
james_uk wrote: What is SVN? Look here: http://forum.joomla.org/index.php/topic ... #msg246577 |
|
| Author: | Caygill [ Tue Mar 14, 2006 7:56 am ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
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 |
|
| Author: | Martjan [ Tue Mar 14, 2006 8:28 am ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
Where can I access the SVN? |
|
| Author: | infograf768 [ Tue Mar 14, 2006 8:34 am ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
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 |
|
| Author: | Preacher [ Wed Mar 22, 2006 2:55 am ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
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. |
|
| Author: | infograf768 [ Wed Mar 22, 2006 7:33 am ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
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/ |
|
| Author: | Caygill [ Wed Mar 22, 2006 7:47 am ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
infograf768 wrote: Splendid, this was to great help! |
|
| Author: | infograf768 [ Wed Mar 22, 2006 8:04 am ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
I'll give my Swiss bank account # by pm only.
|
|
| Author: | kjarrett [ Sat Apr 15, 2006 9:21 pm ] |
| Post subject: | Re: [CONFIRMED] 1.0.8 :: mod_login does not show logged in users name |
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- |
|
| Author: | cybercam [ Thu May 04, 2006 3:22 pm ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
Thanks stingrey... that fix did the job for me! |
|
| Author: | deanoMed [ Sat May 27, 2006 9:01 pm ] |
| Post subject: | Re: [FIXED] 1.0.8 :: mod_login does not show logged in users name |
thanks stingrey...Modules -> Site Modules -> edit mod_login > Name/Username = Name......fixed it for me too |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|