0

I have activated globalization config in my lithium framework.

When I using html helper in my View like '$this->form->create()'.

The page threw an Exception with "No parameter match found for URL {$url}".

I found that in my 'Lithium\action\Request' object ,the Param property has a key named 'locale' , It detected the locale setting with "zh_CN" .That's right however case the problem.The route object could not find the right match.

So how to deal with it? Thanks for all help.

rmarscher
  • 5,596
  • 2
  • 28
  • 30
guosheng1987
  • 107
  • 1
  • 7

1 Answers1

0

You can use the li3 route command to help you debugging this.

Make sure you have the required routes in your app/config/routes.php and the languages (here zh_CN) in the locales environment variable.

greut
  • 4,305
  • 1
  • 30
  • 49