Corrupted Content Error

2013-09-15 Thread Duncan Brown
I had this come up once, it ended up being a htaccess rewrite issue. -- 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 gr

Re: updated to ubuntu 8.10 and cake broke

2008-11-12 Thread Duncan
Assuming you are running apache, check the error_log file for details on the 404 error, when accessing that particular page. On Nov 12, 11:00 pm, Stewart <[EMAIL PROTECTED]> wrote: > Hey guys I am just wondering if anyone else has had this issue. I have > a project I am working on in cake.  Was w

Auth -> User model association problem

2008-10-09 Thread Duncan
Hi, I have a User model, which belongsTo a Group model. When using the user model itself, I get the correct association data for the Group model, but when using the Auth component, then I only get the User model itself in the auth session array, e.g.: [Auth] => Array ( [User]

Re: Praise the good book!

2008-09-26 Thread Duncan
The book is really coming along nicely and always my first stop nowadays, when I need to check on something and definitely makes it easier for new cakePHP developers as well now. Plus it's nice to see its ongoing additions and revisions of its content. Another great resource, which often seems to

Debugger::dump() Object methods missing

2008-07-18 Thread Duncan
According to the docs, Debugger::dump() will print out object methods: http://book.cakephp.org/view/460/using-the-debugger-class However, it seems that it only prints out the variables and a look at the API seems to indicate that it doesn't even process the objects methods. Has this been removed

Re: What happens with CakePHP Cookbook?

2008-07-18 Thread Duncan
I use Scrapbook: https://addons.mozilla.org/en-US/firefox/addon/427 to take a snapshot of the all-in-one page every now and then, so I always have an up-to-date offline version available. On Jul 17, 11:27 pm, Ariel Arjona <[EMAIL PROTECTED]> wrote: > The other option is to usehttp://book.cakephp.

Re: Cookbook disappeared?

2008-07-17 Thread Duncan
There's already a thread about this issue: http://groups.google.com/group/cake-php/browse_thread/thread/be7857b4bc7113c3 On Jul 17, 10:56 am, comb <[EMAIL PROTECTED]> wrote: > Did the cookbook disappear for anyone else? I was in the middle of > reading it when all content vanished. --~--~

Re: how to set the root folder

2008-07-15 Thread Duncan
If you don't need the xyz dir, then why not move the whole cake install one directory up? /htdocs/appName/app On Jul 15, 11:15 pm, RJ <[EMAIL PROTECTED]> wrote: > The directory structure is as follows: > /htdocs/appName/xyz/app > > app is the folder that contains all the cakephp files. Now when i

Re: API 1.2 chm or pdf

2008-07-14 Thread Duncan
Try searching in this group, as there used to be one, but I think it's outdated, whereas the online API provides code coverage for the recent RC2 release. On Jul 14, 10:43 pm, "Wisnu Manupraba" <[EMAIL PROTECTED]> wrote: > dear, > > where can I get api 1.2 documentation di chm or pdf format? beca

Re: phpThumb Helper

2008-07-14 Thread Duncan
It can take a while. I added an article, which took about 2 weeks to get approved, and on the day it was live a user requested a feature addition. Unfortunately I didn't know that editing the article would get it delisted again, so that I'm currently waiting for it to get approved once again - DOH

Re: CakePHP / Segmentation Fault

2008-07-09 Thread Duncan
The CakePHP cheat sheet covers all the naming conventions: http://groups.google.com/group/cake-php/files On Jul 9, 2:46 am, Jeremie <[EMAIL PROTECTED]> wrote: > Hi, > > No question in this post, just a hint for a problem who took me a day. > For all the people like me searching "CakePHP Segmentat

Re: trying to get started with cakephp...

2008-07-08 Thread Duncan
Best option would be to enable mod_rewrite on your box, because then cakephp will work right after setting the MySQL connection details in the config file. On Jul 8, 8:43 am, BlueRidgeCliff <[EMAIL PROTECTED]> wrote: > i have installed WAMP on an XP Pro server, and now cake (twice), > followed so

Analyze Code Coverage xdebug error

2008-07-02 Thread Duncan
Hi, I just installed xdebug and it's working just fine when using the examples from their documentation. However, as soon as I click on 'Analyze Code Coverage' in any of the CakePHP test cases then apache crashes within 3-7 seconds. I already tried out the devel version of xdebug, changed its set

Re: Email Problem

2008-07-02 Thread Duncan
If you are not already sending the emails via SMTP, then try switching to that one, which might already fix the issue - especially on a shared host. On Jun 28, 11:48 am, Nam <[EMAIL PROTECTED]> wrote: > I am using the CakePHP email component to send activation email, but > it seems like it can be

Re: CakePHP Sessions and Ajax (ExtJs)

2008-07-01 Thread Duncan
CakeSession, the parent class of the SessionComponent, allows setting the session ID, so that it should be possible to pass the session ID in the ajax call and then use it to set it manually to the provided ID. There might be a more elegant solution though. On Jul 1, 9:26 am, killerboy <[EMAIL P

Re: Location of custom php.ini

2007-02-20 Thread Duncan
Smashing, many thanks! Duncan On Feb 20, 3:16 am, "basic612" <[EMAIL PROTECTED]> wrote: > Hi, when running php as CGI in Apache suEXEC environment, the php.ini > needs to be located in the directory housing the script that being > exectuted - ie: > > if your

Location of custom php.ini

2007-02-19 Thread Duncan
I can't just place a custom php.ini in my http root - I have to place it in the directory where the upload script is run. So, in order for PHP to accept files larger than the default 2M, where should I place my php.ini within the cake directo