Opened 4 years ago

Closed 4 years ago

#1034 closed Bug (fixed)

Undefined variable: login in /var/www/vhosts/piwik.atlantismedia.de/httpdocs/plugins/Login/Controller.php on line 275

Reported by: larsen Owned by:
Priority: major Milestone: Piwik 0.5
Component: Core Keywords: 0.4.5 Controller.php login
Cc: Sensitive: no

Description

A user wants to reset his password. After entering the data and clicking on "change data", he gets this error message while down below there is the text "Password successfully changed!" what is not the case.

Backtrace -->
#0 Piwik_ErrorHandler(8, Undefined variable: login, /var/www/vhosts/piwik.example.com/httpdocs/plugins/Login/Controller.php, 275, Array ([loginMail] => user@…,[token] => b7316e69a0d87ec76ba32242397ba12d,[password] => secret,[urlToRedirect] => index.php,[user] => Array ([login] => user,[password] => 83ce8dc141e51f8b479849278d006413,[alias] => user,[email] => user@…,[token_auth] => 76639b9abede16e2f1324758f565f50a,[date_registered] => 2009-09-02 17:29:48))) called at var/www/vhosts/piwik.example.com/httpdocs/plugins/Login/Controller.php:275
#1 Piwik_Login_Controller->resetPasswordFormValidated(user@…, b7316e69a0d87ec76ba32242397ba12d, secret, index.php) called at var/www/vhosts/piwik.example.com/httpdocs/plugins/Login/Controller.php:231
#2 Piwik_Login_Controller->resetPassword()
#3 call_user_func_array(Array ([0] => Piwik_Login_Controller Object ([] => Login,[] => 2009-11-04,[] => Piwik_Date Object ([] => 1257289200),[] => Array ([label] => General_ColumnLabel,[nb_visits] => General_ColumnNbVisits,[nb_actions] => General_ColumnNbActions,[max_actions] => General_ColumnMaxActions,[sum_visit_length] => General_ColumnSumVisitLength,[nb_uniq_visitors] => General_ColumnNbUniqVisitors,[nb_actions_per_visit] => General_ColumnActionsPerVisit,[avg_time_on_site] => General_ColumnAvgTimeOnSite,[bounce_rate] => General_ColumnBounceRate,[revenue_per_visit] => General_ColumnValuePerVisit,[goals_conversion_rate] => General_ColumnVisitsWithConversions)),[1] => resetPassword), Array ()) called at var/www/vhosts/piwik.example.com/httpdocs/core/FrontController.php:134
#4 Piwik_FrontController->dispatch() called at var/www/vhosts/piwik.example.com/httpdocs/index.php:91

Change History (1)

comment:1 Changed 4 years ago by vipsoft (robocoder)

  • Milestone set to 1 - Piwik 0.5
  • Resolution set to fixed
  • Status changed from new to closed

In [1566], fixes #1034 - undefined $login changed to $user[login]

Note: See TracTickets for help on using tickets.