开发者

Ajax settings for cakephp

I'm relatively new to CakePHP, but I am proficient in Rails.

So I know the concepts of AJAX and everything else.

In a site that I'm working....a particular URL works fine when requested from the client/browser.

The same URL doesn't work when requested via AJAX calls.

Do I have to make any configuration changes?

Here is the site: http://www.resolutiontweet.com/

The login link is the AJAX-ified link I'm referrin开发者_Go百科g to.

Any help is very much appreciated.

Thanks


You might have already tried this but clearing your file cache by setting the debug level to 2, then refresh page (click on the login link to make sure) then you can set it back to 0. When in 0 its CakePHP production mode and will use old cache (from the last time debug was > 0) stored in tmp/cache dir. Hopefully the problem is as simple as that. If not, post the login action code and we can have a look.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜