This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » plugins » User management plugins » Problems with redirection and sfGuard for Symfony 1.1
Problems with redirection and sfGuard for Symfony 1.1 [message #62691] Thu, 09 October 2008 15:42 Go to previous message
reynierpm  is currently offline reynierpm
Messages: 50
Registered: November 2007
Location: Cuba
Member
Hi every:
I'm using sfGuard plugin in one of my applications. When I login inside the application I get a server 500 response wich is a Internal Server Error. I made some changes in my routing.yml file and now look like this :
homepage:
  url:   /
  param: { module: geslicsoft, action: index }

And my action.class.php is this:
public function executeIndex($request)
{
	$user = $this->getUser();
	if (!$user->isAuthenticated()) {
		return $this->redirect('@sf_guard_signin');
	}
	$this->culture = $user->getCulture();
	return sfView::SUCCESS;
}


I try this URL also http://gestion.local/backend_dev.php and when I login inside the system I get this message error:

[InvalidArgumentException]
An internal URI must contain a module and an action (module/action) ("" given).

Also you can check the backend_dev.log content here http://paste.org/index.php?id=3976

Where is the problem?


Reynier PĂ©rez Mira

Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:sfGuardLogin & AJAX
Next Topic:'Remember me' keys are shared between apps
Goto Forum:

  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software