Re: Jquery and Cake php problem

2014-04-27 Thread Thomas von Hassel
What are you doing in internal.php that could not be done better and more 
"correct" in your controllers ?

/thomas


On 26 Apr 2014, at 11:53, Sir Neiklot Bega  wrote:

> Hello,
> 
> I'm trying to do a 
> 
>$('#div').load("/app/View/About/internal.php")
> 
> To load a content in real-time in a div,
> 
> This is working well in the localhost but when I put this code in the server, 
> cakePhp is searching a Controller (View) to process this request, and then is 
> retourning:
> 
> 
> POST http://www.avantravel.es/app/View/About/aboutPresentation.php
> 404 Not Found
> 183ms
> 
> How I can't inform that this is a page in php that must be load to this Div 
> section without using a controller
> 
> 
> Thanks in advance,
> Neiklot
> 
> -- 
> 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+unsubscr...@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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.


Jquery and Cake php problem

2014-04-27 Thread Sir Neiklot Bega
Hello,

I'm trying to do a 

   $('#div').load("/app/View/About/internal.php")

To load a content in real-time in a div,

This is working well in the localhost but when I put this code in the 
server, cakePhp is searching a Controller (View) to process this request, 
and then is retourning:


POST http://www.avantravel.es/app/View/About/aboutPresentation.php
404 Not Found
183ms
How I can't inform that this is a page in php that must be load to this Div 
section without using a controller


Thanks in advance,
Neiklot

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/d/optout.