Hi guys, i just have created several CRUD’s with gii. Everything works fine, except one table called l_textbaustein_art.
Controller has been created by name
LTextbausteinArtController
Folder,where all CRUD’s have been put in has been named
ltextbaustein-art.
However I try to call CRUD’s I’ll get error like this:
Not Found (#404)
Seite nicht gefunden.
The above error occurred while the Web server was processing your request.
Please contact us if you think this is a server error. Thank you.
Not sure if this helps, but I recently had problems with calling a camelCase action.
actionChangePassword() had to be called r=site%2Fchange-password
Maybe something like that is needed for the camelCase Controller, ie: ?r=l-textbaustein-art%2Findex
Location of the CRUD files (views) can be in directory you want: User views can be in views\employee, or \xyz\123 directory. You would need to tell the controller where they are (possible in beforeAction()).
Also: Why are you calling yiic.php? It should be index.php.
What plugin? I use Netbeans with web\index.php with no problem. On one development machine with the PHP internal server, and one using XAMPP and vhosts. On the PHP machine, I do have an index.php page with a link to the frontend and one to the backend.
Not sure what yiic does, and in the standard install it doesn’t exist. The yii file is used to run a console app, but the web\index page is the one that actually loads the configs and starts the web app. If you just copied/renamed the index.php file from web\ to root then the