Opened 10 years ago

Closed 8 years ago

#125 closed task (fixed)

profile: false profile names show my own profile

Reported by: micha Owned by: micha
Priority: major Milestone: new design bugfixing
Component: BW Profile Keywords: member link profile copied from trac
Cc: micha@…

Description (last modified by crumbking)

links like this show my own profile: http://www.bewelcome.org/member.php?cid=thisisabsolutelynonexistingprofilename

copied from trac, Opened by Hannu Kröger (hkroger)

Change History (13)

comment:1 Changed 10 years ago by micha

  • Description modified (diff)
  • Keywords copied from trac added

Comment by Karl Richter-Trummer (karlrt) - Monday, 09 July 2007, 13:07 GMT+1 — Edit — Delete

can confirm this - if logged off it shows an error code:

There is an error with the provided parameters
[$IdMember is not defined]

comment:2 Changed 10 years ago by feuerdaemon

  • follow_up set to none
  • freq_reported set to 1
  • Milestone changed from unassigned to Bugs - not sheduled
  • show_on_bw set to 0
  • Type changed from bug to developer task

comment:3 Changed 10 years ago by philipp

  • Milestone changed from Bugs - not sheduled to unassigned

Milestone Bugs - not sheduled deleted

comment:4 Changed 8 years ago by crumbking

  • Description modified (diff)
  • Milestone changed from unassigned to new design bugfixing

Now it shows:

Member not found

Please implement
MembersMembernotfoundPage
::column_col2()

or create a file
"/home/bwrox/www.bewelcome.org/build/members/templates/membernotfound.column_col2.php"



Fatal error: Call to a member function count_comments() on a non-object in /home/bwrox/www.bewelcome.org/build/members/templates/member.teasercontent.helper.php on line 12

comment:5 Changed 8 years ago by micha

  • Owner set to micha

comment:6 Changed 8 years ago by micha

  • follow_up changed from none to test

I fixed this on test. could you see if there's still any error?

comment:7 Changed 8 years ago by micha

  • Cc micha@… added

comment:8 Changed 8 years ago by crumbking

  • Description modified (diff)
  • follow_up changed from test to move to alpha

tested on test. works

tried /member and /people

comment:9 Changed 8 years ago by globetrotter_tt

when i just enter http://test.bewelcome.org/people i got a page saying:

Members - No username specified.
unclickable black

Please implement
MembersMembernotspecifiedPage
::column_col2()

or create a file
"/var/www/test.bewelcome.org/htdocs/../build/members/templates/membernotspecified.column_col2.php"


We have so many members!!!
Which one do you want?

    * The dangerous rabbit.
    * The old lady.
    * The bus driver.
    * Santa Claus.

Maybe we can change this a bit

comment:10 Changed 8 years ago by fake51

Please do

comment:11 Changed 8 years ago by micha

I changed the controller to redirect to the places app in case the member is not specified. I guess this is the most convenient result you can expect. If you're fine with this, we could move the changes to alpha and production.

comment:12 Changed 8 years ago by crumbking

if you could do the same for http://test.bewelcome.org/user/

than we can move I would say...

MySQL error!

PException

code:1000
message:MySQL error||
file:/var/www/test.bewelcome.org/lib/db/db_statement_mysql.lib.php
line:291


info[0]: Statement: select SQL_CACHE membersgroups.id as IdMemberShip,membersgroups.Comment as Comment,groups.Name as Name,groups.id as IdGroup from groups,membersgroups where membersgroups.IdGroup=groups.id and membersgroups.Status='In' and membersgroups.IdMember=
info[1]: 1064
info[2]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
PDBStatement_mysql::query( string(245) = "select SQL_CACHE mem"{{{
select SQL_CACHE membersgroups.id as IdMemberShip?,membersgroups.Comment as Comment,groups.Name as Name,groups.id as IdGroup? from groups,membersgroups where membersgroups.IdGroup?=groups.id and membersgroups.Status='In' and membersgroups.IdMember?=
}}}
)/var/www/test.bewelcome.org/lib/db/db_mysql.lib.php (line 299)PDB_mysql::query( string(245) = "select SQL_CACHE mem"{{{
select SQL_CACHE membersgroups.id as IdMemberShip?,membersgroups.Comment as Comment,groups.Name as Name,groups.id as IdGroup? from groups,membersgroups where membersgroups.IdGroup?=groups.id and membersgroups.Status='In' and membersgroups.IdMember?=
}}}
)/var/www/test.bewelcome.org/build/user/user.model.php (line 547)User::getmembersgroups( false )/var/www/test.bewelcome.org/build/user/user.ctrl.php (line 301)UserController::index( stdClass object{{{
stdClass Object
(

[request_uri] => /user/
[request] => Array

(

[0] => user

)

[req] => user
[get] => Array

(
)

[post] => Array

(
)

[get_or_post] => Array

(
)

[post_or_get] => Array

(
)

)
}}}
)call_user_func( array[2]{{{
Array
(

[0] => UserController? Object

(

[_model:private] => User Object

(

[avatarDir] => PDataDir Object

(

[dir:protected] => /var/www/test.bewelcome.org/htdocs/../data/user/avatars

)

[dao:protected] => PDB_mysql Object

(

[_cr:private] => Resource id #115
[_dbname:private] => hcvoltest
[_results:private] =>

)

[prefix:protected] =>
[namespace:protected] =>
[className:protected] =>
[tableName:protected] =>
[_cols:private] => Array

(
)

)

[_view:private] => UserView? Object

(

[_model:private] => User Object

(

[avatarDir] => PDataDir Object

(

[dir:protected] => /var/www/test.bewelcome.org/htdocs/../data/user/avatars

)

[dao:protected] => PDB_mysql Object

(

[_cr:private] => Resource id #115
[_dbname:private] => hcvoltest
[_results:private] =>

)

[prefix:protected] =>
[namespace:protected] =>
[className:protected] =>
[tableName:protected] =>
[_cols:private] => Array

(
)

)

[_model:private] =>

)

[_parameters:private] => Array

(

[route_vars] =>
[request_vars] => Array

(

[0] => user

)

[args_vars] => stdClass Object

(

[request_uri] => /user/
[request] => Array

(

[0] => user

)

[req] => user
[get] => Array

(
)

[post] => Array

(
)

[get_or_post] => Array

(
)

[post_or_get] => Array

(
)

)

[router] => RequestRouter? Object

(
)

)

[_cache:private] => Array

(
)

)

[1] => index

)
}}}
, stdClass object{{{
stdClass Object
(

[request_uri] => /user/
[request] => Array

(

[0] => user

)

[req] => user
[get] => Array

(
)

[post] => Array

(
)

[get_or_post] => Array

(
)

[post_or_get] => Array

(
)

)
}}}
)/var/www/test.bewelcome.org/tools/routing/roxfrontrouter.class.php (line 338)RoxFrontRouter::runControllerMethod( string(14) = "UserController"{{{
UserController?
}}}
, string(5) = "index"{{{
index
}}}
, array[1]{{{
Array
(

[0] => user

)
}}}
, NULL )/var/www/test.bewelcome.org/tools/routing/roxfrontrouter.class.php (line 222)RoxFrontRouter::route_normal()/var/www/test.bewelcome.org/tools/routing/roxfrontrouter.class.php (line 34)RoxFrontRouter::route()/var/www/test.bewelcome.org/roxlauncher/roxlauncher.php (line 68)RoxLauncher::chooseAndRunApplication( EnvironmentExplorer object{{{
EnvironmentExplorer? Object
(

[classes] => Array

(
)

)
}}}
)/var/www/test.bewelcome.org/roxlauncher/roxlauncher.php (line 22)RoxLauncher::launch()/var/www/test.bewelcome.org/htdocs/index.php (line 63)main()/var/www/test.bewelcome.org/htdocs/index.php (line 78)

comment:13 Changed 8 years ago by micha

  • follow_up changed from move to alpha to none
  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed with r8909.

Note: See TracTickets for help on using tickets.