Quote
Quote
Attached blog demo from Yii 1.0.3 with Rbac.
There may be name mismatch between the table and the code. Error message says
Quote
Quote
CREATE TABLE IF NOT EXISTS `post` (
`id` int(11) NOT NULL auto_increment,
`title` varchar(128) NOT NULL,
`content` text NOT NULL,
`contentDisplay` text,
:
I've created it with a XAMPP. It seems that the phpmyadmin of it automatically changes the tablenames to lowercase. This is no problem on Windows but on Linux it produces the the encountered errors. This is evil.
You have to to change tablenames in the models to get it work: Post -> post, PostTag -> posttag, etc. I will try to fix in the zip-file the next days.
For further information take a look at:
http://dev.mysql.com...ensitivity.html

Help

This topic is locked













