Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #197 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

new register does not work!!!

Reported by: JianZhan Owned by:
Priority: critical Milestone: 2.4
Component: user Version:
Keywords: Cc:

Description

http://lavaink.com/lavagallery/

I set up register but it did not work!!!

new register does not work!!!
Notice (8): Undefined index: User [APP/Controller/AppController.php, line 209]
Code Context

AppController::getUserRole() - APP/Controller/AppController.php, line 209
AppController::hasRole() - APP/Controller/AppController.php, line 218
AppController::_setMainMenu() - APP/Controller/AppController.php, line 53
AppController::beforeFilter() - APP/Controller/AppController.php, line 38
HomeController::beforeFilter() - APP/Controller/HomeController.php, line 44
call_user_func - [internal], line ??
CakeEventManager::dispatch() - APP/cakephp/lib/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - APP/cakephp/lib/Cake/Controller/Controller.php, line 670
Dispatcher::_invoke() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 141

Change History

comment:1 Changed 6 years ago by JianZhan

anonymous registration does not work.
I had the following error when I try to register as a new user.
Notice (8): Undefined index: User [APP/Controller/AppController.php, line 209]
Code Context

public function getUserRole() {

$user = $this->getUser();
return $userUser?role?;

$user = array(

'register' => array(

'captcha' => 'km8q7a'

)

)
AppController::getUserRole() - APP/Controller/AppController.php, line 209
AppController::hasRole() - APP/Controller/AppController.php, line 218
AppController::_setMainMenu() - APP/Controller/AppController.php, line 53
AppController::beforeFilter() - APP/Controller/AppController.php, line 38
UsersController::beforeFilter() - APP/Controller/UsersController.php, line 30
call_user_func - [internal], line ??
CakeEventManager::dispatch() - APP/cakephp/lib/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - APP/cakephp/lib/Cake/Controller/Controller.php, line 670
Dispatcher::_invoke() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - APP/cakephp/lib/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 141

I think it's security code doe snot match session security code cause this problem.

Jian Zhan

comment:2 Changed 6 years ago by sebastian

  • Status changed from new to closed
  • Resolution set to fixed

Thank you for the ticket! I've fixed it and uploaded the zip file phtagr-2.3-dev-9d38f8e2.zip to sourceforge at http://sourceforge.net/projects/phtagr/files.

PS: Please use commas to separate metadata otherwise it will be treated as one tag. Eg. 'daisy flower' is one tag whereas 'daisy, flower' is treated as 'daisy' and 'flower' tag.

Note: See TracTickets for help on using tickets.