Sunday, April 14, 2013

Cakephp theme and images

I have a weird problem in CakePHP.

I use a theme so I have a folder Themed/mytheme and in this case I have `Themed/mytheme/webroot/img/`

And my concern is that, in this file picture I have several images. Until now all my images are displayed in the url `/theme/mytheme/img/myimage.png`.

And this morning I created another image so I saved in this folder img and there problem. When I want to display my image I get the following error:


    missing Controller
    Error: ThemeController could not be found.
    
    Error: Create the class below in ThemeController file: app \ Controller \ ThemeController.php
    
    <? php
    ThemeController class extends AppController {
    
    }
    Notice: If you want to customize this error message, create app \ View \ Errors \ missing_controller.ctp
    
    Stack Trace
    APP \ webroot \ index.php line 92 → Dispatcher-> dispatch (CakeRequest, CakeResponse)

I error is not with the rest of the images is in the same folder.

Can you tell me or it could come from please?

Thank you.

P.S: Sorry for my English.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: