the problem is with encoding :(
 
http://stackoverflow.com/questions/6634832/file-exists-and-file-get-contents-fail-on-a-file-which-is-named-output/6634924#6634924
 

On Friday, June 29, 2012 7:36:03 PM UTC+2, MSayyaf wrote:

> I had a problem with naming views.ctp files in arabic language and calling 
> them with CakePHP2.0.
>
> So I've done this:
> - created a view file, naming it in arabic and set it under 
> app/views/pages/myNameInArabic.ctp
> - in app/views/layouts/default.ctp file i put a link to it:
> echo $this->Html->link('link', array('controller'=>'pages', 
> 'action'=>'صفحة'));
>
> when i clicked the link:
> - url bacame: http://localhost/MySite/pages/صفحة
> - and got the following error:
> Error: The view for PagesController::display() was not found.
> Error: Confirm you have created the file: 
> F:\xampp\htdocs\TestLocal\app\View\Pages\صفحة.ctp
> etc etc
>
> thanks
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to