Not getting setFlash messages in CakePHP 1.2
If your not observing your $this->Session->setFlash messages, make sure you have the following code present in your layout or view...
If your not observing your $this->Session->setFlash messages, make sure you have the following code present in your layout or view...
| Nr | Query | Error | Affected | Num. rows | Took (ms) |
|---|---|---|---|---|---|
| 1 | DESCRIBE `posts` | 17 | 17 | 1 | |
| 2 | DESCRIBE `comments` | 11 | 11 | 2 | |
| 3 | DESCRIBE `tags` | 2 | 2 | 1 | |
| 4 | DESCRIBE `categories` | 2 | 2 | 1 | |
| 5 | DESCRIBE `posts_tags` | 2 | 2 | 1 | |
| 6 | DESCRIBE `categories_posts` | 2 | 2 | 2 | |
| 7 | SELECT Post.* FROM posts Post, posts_tags pt, tags t WHERE t.tag = ('Setflash') AND t.id = pt.tag_id AND pt.post_id = Post.id AND Post.status = 1 ORDER BY Post.created DESC | 1 | 1 | 2 | |
| 8 | SELECT category, COUNT(*) AS cat_cnt FROM categories_posts c2p INNER JOIN categories Cat ON c2p.category_id = Cat.id GROUP BY category | 15 | 15 | 1 | |
| 9 | SELECT tag, COUNT(*) AS tag_cnt FROM posts_tags t2p INNER JOIN tags Tag ON t2p.tag_id = Tag.id GROUP BY tag | 49 | 49 | 1 |