Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Missing controller error with I18nRoute #9

Closed
ghost opened this issue Mar 23, 2012 · 6 comments
Closed

Missing controller error with I18nRoute #9

ghost opened this issue Mar 23, 2012 · 6 comments

Comments

@ghost
Copy link

ghost commented Mar 23, 2012

Hi,

I'm trying your plugin, just for routing. I've made all basics config like in this example:
http://bin.cakephp.org/view/1339987040

But when I test url with lang param, I get always "missing controller" error...
For example, if I check "http://www.mywebsite.com/fre" to go to my home page, the error is "Error: FreController could not be found."
Same with "http://www.mywebsite.com/fr": "Error: FrController could not be found."
Same with "eng" or "en" that is my DEFAULT_LANGUAGE value
Same with classic crud actions : "http://www.mywebsite.com/fre/users/index"

Do I have to configure classic url schema "/:lang/:controller/:action" in routes.php?

I'm using Cake 1.3.14, PHP 5.3.8, Win XP, latest release of the plugin.

@lorenzo
Copy link
Contributor

lorenzo commented Mar 23, 2012

This is an example of the configuration you need for it

https://github.com/CakePHP-Courses/Mastering-CakePHP/blob/master/app/Config/routes.php

also take a look to the bootstrap.php file

@lorenzo
Copy link
Contributor

lorenzo commented Mar 23, 2012

Oh, sorry... I just noticed you were using cakephp 1.3 please disregard my previous message.

@ghost
Copy link
Author

ghost commented Mar 23, 2012

:) Yes, I'm working on a project that is using 1.3 and I can't change it.

So, no idea about my issue?

@lorenzo
Copy link
Contributor

lorenzo commented Mar 23, 2012

Not really, I could try debugging it with you if you connect to the #cakephp IRC channel in freenode.net my nick is jose_zap

@ghost
Copy link
Author

ghost commented Mar 23, 2012

ok, I will connect

@ghost
Copy link
Author

ghost commented Mar 23, 2012

Ok, it was an error of my bootstrap, so I close this issue, sorry!

@ghost ghost closed this as completed Mar 23, 2012
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant