what is up with cakephp.org

2009-10-27 Thread Samuel DeVore
Did someone hack it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Appropriate requestAction() alternative required

2009-05-17 Thread Samuel DeVore
You could also look at http://www.ad7six.com/MiBlog/MiniControllers and http://bakery.cakephp.org/articles/view/creating-reusable-elements-with-requestaction and http://book.cakephp.org/view/97/Elements Sorry for my brevity yesterday, but I was a little crazed with running a swim meet... Sam D

Re: Appropriate requestAction() alternative required

2009-05-15 Thread Samuel DeVore
look at elements On Fri, May 15, 2009 at 2:50 PM, seanislegend boredofm...@googlemail.com wrote: *bump* --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: CakePHP or Symfony Which is the Best?

2009-05-08 Thread Samuel DeVore
On Fri, May 8, 2009 at 4:41 AM, Sarika sarik...@gmail.com wrote: Hi Friends, Which PHP framework is the best? Symfony or CakePHP It depends... how annoying are you? if you think of yourself as highly annoying then go with Symfony it is the framework for annoying people. ;) just kidding

Re: authorize.net redirect

2009-04-21 Thread Samuel DeVore
receipt action: pr($this-data); In the receipt action view:  ?php echo $data); I tried leaving empty the controller action and view and then examining firebug/firephp console. Nothing worked. Can you help me with this? Thank you, On Mar 13, 1:43 pm, Samuel DeVore sdev

Re: CakePHP compatibility with postgresql

2009-04-02 Thread Samuel DeVore
According to the book for sale at http://littlehart.net/book/ in the sample chapter it talks about transactions and postgres, I bet that book is full of other great tips and insights Sam D ps. Chris how is that for pimping your book ;) On Thu, Apr 2, 2009 at 9:01 AM, Dieter_be

Re: turning on/off query that shows at the end of each page?

2009-04-01 Thread Samuel DeVore
There is some good reading on this to be found at http://book.cakephp.org/view/44/CakePHP-Core-Configuration-Variables Take some time to get a handle on that things can be found in the book and you will be much happier. Live the conventions and you will be a happy camper, fight them and you

Re: Hosting Migration Problem - The requested address was not found on this server

2009-03-30 Thread Samuel DeVore
you might need to add a RewriteBase / also you should confirm that the shared host is linux flavor and not windows IIS (this has bitten a client of mine) Sam D On Mon, Mar 30, 2009 at 8:51 AM, jmdesign webmas...@jmdesignsolutions.com wrote: Hi Martin, Thanks for the advice, i've now

Re: Hosting Migration Problem - The requested address was not found on this server

2009-03-30 Thread Samuel DeVore
what is in the error logs for those hits that 500? My shared host gives me access to those you might check them Sam D On Mon, Mar 30, 2009 at 1:26 PM, jmdesign webmas...@jmdesignsolutions.com wrote: Hi Sam, It's definately a Linux shared host. I've added the Rewrite Base line but I'm

Re: Hosting Migration Problem - The requested address was not found on this server

2009-03-30 Thread Samuel DeVore
At this point I don't have any new ideas, I will keep pondering... Sam D On Mon, Mar 30, 2009 at 3:17 PM, jmdesign webmas...@jmdesignsolutions.com wrote: Error log reads the following erron on the htaccess file: Invalid command 'php_value', perhaps misspelled or defined by a module not

Re: authorize.net redirect

2009-03-13 Thread Samuel DeVore
the form action to be processed by authorize.net instead of your app? In this case I would have problems with this solution, since I need to do some tasks before calling authorize.net secure payment form. Any ideas? Thank you again, On Mar 12, 9:57 am, Samuel DeVore sdev...@gmail.com wrote: I

Re: Select input

2009-03-13 Thread Samuel DeVore
echo $form-select('level', array('0'='Low','1'='Medium','2'='High'), array('selected'='0')); try that On Fri, Mar 13, 2009 at 5:55 PM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I been looking at the API for this and still cant get it right. API echo $form-select( $fieldName,

Re: Select input

2009-03-13 Thread Samuel DeVore
...@widepixels.com wrote: Thanks, it’s a bit closer. That did get rid of the 1 and 2 that was showing in the drop down. Only thing is there is still a blank field at the top. Dave -Original Message- From: Samuel DeVore [mailto:sdev...@gmail.com] Sent: March-13-09 10:43 PM To: cake-php

Re: Select input

2009-03-13 Thread Samuel DeVore
On Fri, Mar 13, 2009 at 6:23 PM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: echo $form-select('level', array('0'='Low','1'='Medium','2'='High'), array('selected'='Low')); Renders this option value=/ option selected=selected value=0Low/option option value=1Medium/option

Re: authorize.net redirect

2009-03-12 Thread Samuel DeVore
I have found that I have to make my forms actually point to Auth dot net's servers not make the post request in php. Sam D On Thu, Mar 12, 2009 at 8:47 AM, SergioTorresC. sergiotorr...@gmail.com wrote: Hi there, I am trying to hook up my cake application with authorize.net service, to

Re: plz help! May i use varchar as primary key

2009-03-08 Thread Samuel DeVore
You can also use UUID as a primary key http://book.cakephp.org/view/68/Creating-Database-Tables#Using-UUIDs-as-Primary-Keys-70 On Sun, Mar 8, 2009 at 6:14 PM, James K james.m.k...@gmail.com wrote: You can't. All cake models must have an auto-incremented numeric primary key called id. Even

Re: Accordion

2009-03-06 Thread Samuel DeVore
On Fri, Mar 6, 2009 at 11:31 AM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I am trying to get this working on my application. http://stickmanlabs.com/accordion/ I have the scripts in the folder, added to page layout. Checked the html (Firebug) and see the scripts are loaded

Re: What do you develop in (ide, text editor, etc.)?

2009-03-02 Thread Samuel DeVore
To be more serious then I really am feeling when reading the subject line of this message. I am currently playing with using MacGDBp, MacCallGrind and Textmate as my workspace http://www.bluestatic.org/software/macgdbp/ - connects with xdebug to give remote debugging, breakpoints etc

Re: What do you develop in (ide, text editor, etc.)?

2009-03-01 Thread Samuel DeVore
a tutu and go go boots On Sun, Mar 1, 2009 at 12:34 PM, Tomás Laureano Peralta Tormey tomas.laureano.peralta.tor...@gmail.com wrote:  Currently using NetBeans 6.5. The hints from this bakery article [1] were really useful.  Hopefully, better support for CakePHP could be available in the near

Re: How to track # of file downloads (DB or File)

2009-02-17 Thread Samuel DeVore
Of course if all you want is stats on the file downloads and your server does that anyway, why not just filter/ collect stats from the log files? Sam D On Tue, Feb 17, 2009 at 2:04 AM, Mike Cook m...@epubbooks.com wrote: Okay, definitely some food for thought here. @Miles J :: As brian

Re: Top 10 Framework

2009-02-02 Thread Samuel DeVore
nate do you have a top ten list of people who like to make top ten lists? I'm looking for the top 'ten list' maker to see how cakephp ranks among the top ten, ten list makers who make lists about the top ten frameworks for the top ten languages... but they have to of made at least 10 top ten

Re: Top 10 Framework

2009-02-02 Thread Samuel DeVore
To me cake will always be one higher, to me it is an ELEVEN ;) On Mon, Feb 2, 2009 at 10:12 PM, mark_story mark.st...@gmail.com wrote: Wow I'm a total tard. Way to press cancel, instead of send on that last message. Let this be a lesson to all on how not to use gmail.. Anyways, might as

Re: Wordpress and cakephp

2009-01-30 Thread Samuel DeVore
So for a client I am starting to play around with a datasource kind of idea to be able to do large page editing in wordpress (client has an existing blog and is used to the wordpress 'way') for relating body content for other models. and to keep some content in sync On Fri, Jan 30, 2009 at

Re: access helper from behavior

2009-01-28 Thread Samuel DeVore
For me when I find that I have functions that cross boundaries (needed in views, models, controllers) then I either move them to bootstrap (and loaded needed files as needed from within the call) or if it is a bigger 'thing' I go to vendors and load as needed. -- (the old fart) the advice is

Re: Help w/ DebugKit - no toolbar

2009-01-26 Thread Samuel DeVore
I have seen this with pages (or templates) that have requestAction used in them. I'm not sure if it the result of clearing of the output buffer in requestAction or something else. Sam D On Mon, Jan 26, 2009 at 6:24 AM, BenL benjamin.d@gmail.com wrote: I'm attempting to use DebugKit per

Re: How can I do this?

2009-01-25 Thread Samuel DeVore
You can also use Inflector::slug() http://api.cakephp.org/class_inflector.html#c88c8b31dc4769cb9b48c25bcd9fcb41 On Fri, Jan 23, 2009 at 8:51 PM, brian bally.z...@gmail.com wrote: Personally, I'd create a slug for the user with their first last names. There's a SluggableBehavior you can

Re: Is cake good for small project with SOAP calls (no database)

2009-01-22 Thread Samuel DeVore
http://www.google.com/search?q=cakephp%20soap%20model there are some good links hidden in google ;) Really what you are probably looking for is doing a custom datasource. So that might be the key to finding things in the bakery and book. Sometimes the key is figuring out where the heck to

Re: upgrading from 1.1.15.5144

2009-01-10 Thread Samuel DeVore
http://book.cakephp.org/view/411/Migrating-from-CakePHP-1-1-to-1-2 some of the sub chapters here should help you get started, also search google I think there are some other resources out there as well. The biggest will moving from html helper to form helper, you will also need to completely

Re: How to remove SQL Log

2009-01-09 Thread Samuel DeVore
http://book.cakephp.org/view/44/CakePHP-Core-Configuration-Variables set debug level to less then 2 in app/config/core.php On Fri, Jan 9, 2009 at 2:35 PM, Daniel Carrera dcarr...@gmail.com wrote: Hello, My hello-world application is displaying an SQL log at the bottom of the page. How can

Re: Problem with cachng

2008-11-21 Thread Samuel DeVore
http://book.cakephp.org/view/445/cacheQueries use like $this-ModelName-cacheQueries = false; Sam D -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot

Re: Using JQuery and Prototype in same application

2008-11-03 Thread Samuel DeVore
On Mon, Nov 3, 2008 at 11:48 AM, mark_story [EMAIL PROTECTED] wrote: A better question is why? Maybe if you have an app that uses prototype but one wants to play with your amazing debug kit ;) -Mark On Nov 2, 11:55 pm, si-mon [EMAIL PROTECTED] wrote: Hi all, Is there any problem in

Re: Broken image if shown with file_get_contents()

2008-11-02 Thread Samuel DeVore
On Sun, Nov 2, 2008 at 10:33 AM, Bernardo Vieira [EMAIL PROTECTED] wrote: Maybe you forgot whitespace after closing a php tag. My guess is that you have a controller, component, helper that has an extra white space at the start or end. You could try clearing the output buffer

Re: Jquery or Scriptalicious?

2008-10-31 Thread Samuel DeVore
Here's my take for what little it's worth (note I use scripa/proto) if you want to use the ajax helper at this point you are tied to scripta/proto. now given that the stated plans in unofficial channels is that the helper is either being migrated to jQuery or being driving to a javascript

Re: concatenation in find('list')

2008-10-28 Thread Samuel DeVore
The way I do it based on http://c7y.phparch.com/c/entry/1/art,mvc_and_cake and http://www.pseudocoder.com/archives/2008/10/24/cakephp-custom-find-types/ I add to my app_model.php file (as per Matt's article) function find($type, $options = array()) { $method = null; if(is_string($type)) {

Re: Error in using 3rd party helper - ExcelWriter

2008-10-28 Thread Samuel DeVore
In the excell helper try adding var $helpers = array(); this has worked in some other older helpers when I upgraded to cake 1.2 (note i have not used the excel helper at all) Sam D --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Does Cake issue a HTTP 404 status code for missing pages.

2008-10-26 Thread Samuel DeVore
Just make sure when you are checking this that your side has debug level at 0, one and up gives other types of error pages Sam D On Sun, Oct 26, 2008 at 6:56 PM, Mathew [EMAIL PROTECTED] wrote: Great, thanks. I've seen some websites issue a 200 for missing pages, but say 404 in the HTML

Re: cakePHP CMS

2008-10-20 Thread Samuel DeVore
Oh man me too, thanks for sharing -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/

Re: cakePHP CMS

2008-10-20 Thread Samuel DeVore
?group=cake-phpq=cmsqt_g=Search+this+group Take a look at Wildflower. Thats the only one that I am currently aware of, and its got some great features. Wildflower CMS: http://wf.klevo.sk/ Best of luck. Cheers, Predominant On Oct 21, 1:25 am, Samuel DeVore [EMAIL PROTECTED] wrote: Oh

Re: Cake losing sessions randomly

2008-10-13 Thread Samuel DeVore
Is this on your server or a shared server. I have run into some hosts where the session store in /tmp gets walked on seemingly at random. I would try changing the session store to cake to put it in your app tmp/session store. This helped me on one client site (can't remember the host) and I

Re: tilted table headers in cake...

2008-10-11 Thread Samuel DeVore
On Sat, Oct 11, 2008 at 9:24 PM, soldier.coder [EMAIL PROTECTED] wrote: On Oct 11, 3:06 pm, Xavier Mathews [EMAIL PROTECTED] wrote: What kinda question is this??? Cake is a framework. As such, it trys to solve problems that a whole lot of peeps have in creating PHP database driven sites.

Re: Conventions regarding people and Person

2008-10-05 Thread Samuel DeVore
On Sun, Oct 5, 2008 at 9:47 AM, Sentinel [EMAIL PROTECTED] wrote: Hello everybody. I have a question regarding the convention within the CakePHP manual. At point 2.4.4 in the Manual for version 1.2.x it says that when you create a Model class called Person, the corresponding table in the

Re: Does calling model methods from elements break MVC pattern?

2008-10-02 Thread Samuel DeVore
Mark Story provides details of a solution around requestaction (though this method also has its critics) http://mark-story.com/Posts/view/reducing-requestaction-use-in-your-cakephp-sites-with-fat-models yea but since it is MarkStory Day you can't critique him right now. So using that method

Re: Release: CakePHP RC3 - The RC of Triumph!

2008-10-02 Thread Samuel DeVore
This release is so great! ok I haven't really looked at it, but I updated a demo site ran some existing profiles and DAMN! it make me feel like a young whipper snapper again! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: html helper issue

2008-10-01 Thread Samuel DeVore
On Wed, Oct 1, 2008 at 9:32 AM, soosa [EMAIL PROTECTED] wrote: Thanks for your reply Lance! but still this is not a good way to handle this issue, at least because the code in the view will be ugly since some metas have been generated by cake and others you should put them in plain hard

Re: site down?

2008-09-26 Thread Samuel DeVore
http://downforeveryoneorjustme.com/cakephp.org just you -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

Re: cake 1.1x favicon?

2008-09-25 Thread Samuel DeVore
On Thu, Sep 25, 2008 at 7:42 PM, rocket [EMAIL PROTECTED] wrote: does anyone know how to get rid of the default cakephp favicon? yup delete the file in webroot or replace with yours, browsers cache this file like the devil child himself so it can take a while for you to see that you did the

Re: Some Data Not Saving

2008-09-16 Thread Samuel DeVore
On Mon, Sep 15, 2008 at 5:49 PM, thatsgreat2345 [EMAIL PROTECTED] wrote: Well here is my problem , I am creating a simple sign up, haven't added any validation yet but the sign up doesn't seem to want to work. I set $this-data['User']['confirm_code'] as well as the level of the user. But

Re: KTML Editor

2008-09-12 Thread Samuel DeVore
man that darn google always so fast with an answer... I also find that http://plzsendmethecode.blogspot.com/ is a good spot for answers to un-researched questions. On Fri, Sep 12, 2008 at 7:34 AM, Nate [EMAIL PROTECTED] wrote:

Re: Problems with mod_write

2008-09-01 Thread Samuel DeVore
On Mon, Sep 1, 2008 at 1:32 PM, phanorcoll [EMAIL PROTECTED] wrote: hello, im working on a Mac OSX 10.5, Apache 2..Im getting the index page of CakePHP without any format, i read that its probably that i dont have mod_write enabled.. i've checked the httpd.conf file. and mod_write its

Re: Problems with mod_write

2008-09-01 Thread Samuel DeVore
you could try using MAMP http://www.mamp.info/en/index.php I have used that with CakePHP for development and it worked fine. I also have used cake on macs that are running the default install of apache, and php (in addition to using the php from entrophy) I have not used apache 2 on any of my

Re: no database table

2008-08-27 Thread Samuel DeVore
On Wed, Aug 27, 2008 at 12:53 PM, BiraRai [EMAIL PROTECTED] wrote: How to does one tell cakephp controller not to use a database table? Controllers don't use database tables Models do. See http://book.cakephp.org/view/10/understanding-model-view-contr but you might want a controller that

Re: Forms not associated to models - alternative to the Form core helper?

2008-08-26 Thread Samuel DeVore
On Tue, Aug 26, 2008 at 8:45 AM, Enrique Delgado [EMAIL PROTECTED] wrote: Hi All, The core Form helper works great as long as you have a model behind it, but what about forms that are not related to a model? Is there any helpers that I can use in the view? Or do I just code plain HTML?

Re: How to test the database connection?

2008-08-26 Thread Samuel DeVore
I use the php functions for connecting to the database and then redirect if it fails to a static page, usually from bootstrap.php if I find that it becomes a problem on a host. Sam D -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real

Re: File Upload -- help please

2008-08-25 Thread Samuel DeVore
On Mon, Aug 25, 2008 at 6:30 AM, Astha Shukla [EMAIL PROTECTED] wrote: Hi, Could any one please teach me,, How can I upload a file in to server folder using CakePHP (I do not want to store a file into database) for example I have a file say add.thtml in view folder that is uploading a file

Re: Cake sheet

2008-08-24 Thread Samuel DeVore
It is possible I have a copy of the original omni graffle, I'll look on monday Sam D On Sun, Aug 24, 2008 at 12:20 AM, Daniel Hofstetter [EMAIL PROTECTED] wrote: Hi Sam, is controller beforeFilter really a goner? The beforeFilter property is gone, but not the beforeFilter callback

Re: Hi

2008-08-23 Thread Samuel DeVore
no -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/

Re: Cake sheet

2008-08-22 Thread Samuel DeVore
On Fri, Aug 22, 2008 at 7:09 PM, Paolo Stancato [EMAIL PROTECTED] wrote: Hi there! Can anyone tell me if this is the last revision of the Cake sheet? As far as I know it is, but it is for 1.1 NOT 1.2 http://cakephp.org/files/cakesheet.pdf Thanks in advance!

Re: Google Analytics Tracking

2008-08-21 Thread Samuel DeVore
On Thu, Aug 21, 2008 at 1:04 PM, Alan [EMAIL PROTECTED] wrote: Hi, we're trying to set up Google Analytics tracking with our cakephp site, and we're running into problems. Well, the marketing people are running into problems. They have files that they say usually go in the root of the site

Re: Anyone use Mantis BT?

2008-07-07 Thread Samuel DeVore
I use mantis, trac and fogbugz depending on the clients and the project (not always my choice) I have to say that mantis has a lot of nice features. I've been using mantis since 2003. It supports very well multiple projects (including sub-projects), you can integrate nicely svn, there are some

Re: Best Practices for managing cake in your SVN

2008-07-06 Thread Samuel DeVore
On Sun, Jul 6, 2008 at 3:26 AM, keymaster [EMAIL PROTECTED] wrote: Anyways, are you saying you do not put cakephp into SVN as a separare vendor, and you don't do vendor branching? How do you handle cake upgrades? Do just replace the latest cake core folder with each project and recommit?

Re: Subversion merge causing syntax errors - why?

2008-07-03 Thread Samuel DeVore
http://svnbook.red-bean.com/en/1.4/svn.tour.cycle.html#svn.tour.cycle.resolve you might want to read up on resolving merges with subversion On Thu, Jul 3, 2008 at 9:12 AM, keymaster [EMAIL PROTECTED] wrote: I was doing a vendor branching type merge (from cake 1.2 beta to cake 1.2 RC2, into

Re: need some help in data saving using cake's own functions.

2008-07-03 Thread Samuel DeVore
before each save use create $this-ModelName-create(); $this-ModelName-save($data); see the section in the manual on saving data http://book.cakephp.org/view/75/saving-your-data sam d -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real

Re: Quick informal poll

2008-07-01 Thread Samuel DeVore
I agree that there are some good things in the acl/ auth section, but it is the area that so many people crash in, sometimes I think there almost needs to be a wrapper for them that makes it easier to get started with, but then the inevitable complaints about constricting the application I

Re: cake.php bake problem, cannot see all tables to create models

2008-06-25 Thread Samuel DeVore
Did you try to clear the caches in /tmp/cache/models that has bitten me before Sam D On Wed, Jun 25, 2008 at 2:10 AM, salgua1977 [EMAIL PROTECTED] wrote: Hi, I'm using php cake.php bake instruction to generate models with cakephp 1.2. I have 4 tables in my DB, but when I launch the script

Re: user data sanitized automatically?

2008-06-24 Thread Samuel DeVore
there is some sanitation that is done by the model when data is saved to a database, it is one of the reasons that conditions were moved from the right side to the left side in the way you can specify them. Now is it perfect, is it going to cover all cases, probably not, that is why the sanitize

Re: Strange Header Error

2008-06-23 Thread Samuel DeVore
On Mon, Jun 23, 2008 at 7:56 AM, killerboy [EMAIL PROTECTED] wrote: Thanks a lot grigri! It was a trailing whitespace in the Action model after the closing php tag... On Jun 23, 4:48 pm, grigri [EMAIL PROTECTED] wrote: Sounds like you've got leading or trailing whitespace in one of your

Re: LDAP + MySQL authentication

2008-06-23 Thread Samuel DeVore
-- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/

Re: Bake Connect Problem

2008-06-20 Thread Samuel DeVore
it is likely that you are using the inbuilt php not the mamp version that has connection to mysql working, try typing which php in the terminal (I bet it points to something like '/usr/bin/php' you likely need to find the php executable in mamp folder and either add that to your path in your

Re: FormHelper select range

2008-06-19 Thread Samuel DeVore
yes - On Thu, Jun 19, 2008 at 10:59 AM, nnj [EMAIL PROTECTED] wrote: Hi Guys, I have several form elements of the type: select from 1 to 99. Is there a way to generate a select element without having to list 99 integers? i.e. start: 1, end: 99, increment: 1 Thanks!

Re: Using bootstrap to load app_controller

2008-06-16 Thread Samuel DeVore
ail.com wrote: I build a lot of small web sites and most of them use the same type of controllers so I'd like to be able to have one set of these to update instead of 20 to update every time I make a change. Maybe plugins would be another route to go, but that would require having to update

Re: Using bootstrap to load app_controller

2008-06-16 Thread Samuel DeVore
that. Sam D -Corie On Jun 16, 4:49 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On Mon, Jun 16, 2008 at 4:45 PM, Samuel DeVore [EMAIL PROTECTED] wrote: It is documented in the manual http://manual.cakephp.org/view/32/installation#advanced-installation-35 Thanks for pointing that out, Sam

Re: Best Upgrade Path

2008-06-06 Thread Samuel DeVore
Generally what I do for production is have all my cake core files out of my web root path, with each version of cake that I have used in it's own subfolder then link to a cake_current folder to my production release dependancy then in index.php in app/webroot/ I have the following if

Re: open a file in cake php

2008-05-29 Thread Samuel DeVore
since cake is built in php perhaps this might work for you http://www.php.net/manual/en/function.fopen.php in order to get the paths perhaps the CakePHP constants will help you as well http://manual.cakephp.org/view/120/global-constants-and-functions good luck On Thu, May 29, 2008 at 5:08

Re: Controller runs multiple times a function

2008-05-29 Thread Samuel DeVore
On Thu, May 29, 2008 at 9:38 AM, Frycake [EMAIL PROTECTED] wrote: Hello All, I got a strange problem with a function which is called 4 or 6 times when I try to reach it trough a standard url : http://domain/mycontroller/myfunction. This behavior happens only with this controller. I looked

cool starting point for a new datasource...

2008-05-23 Thread Samuel DeVore
http://developer.yahoo.com/searchmonkey/ Using SearchMonkey, developers and site owners can use structured data to make Yahoo! Search results more useful and visually appealing, and drive more relevant traffic to their sites. see Rasmus's Toy Page for some examples

Re: CakePHP Forum Software?

2008-05-20 Thread Samuel DeVore
you might look in cakeforge.org On Tue, May 20, 2008 at 3:18 PM, Matt Huggins [EMAIL PROTECTED] wrote: I've tried to get a few known forums (phpBB, SMF, etc.) to integrate into my custom CakePHP CMS, but I'm having so much difficulty. I was trying to see if anyone has made a forum coded in

Re: Headers Problem

2008-05-19 Thread Samuel DeVore
I would look in any helpers/component files that you have made and look for an extra leading or trailing line feed (return) I have been bitten by that trailing white space more then once. Also check your controllers and models. That usually fixes it for me. Sam D On Mon, May 19, 2008 at 1:00

Re: Headers Problem

2008-05-19 Thread Samuel DeVore
yes after ? or before ? On Mon, May 19, 2008 at 9:52 AM, koko [EMAIL PROTECTED] wrote: @Filip: thank you I'll check that, but my redirects are done as normal ... as manual advises ... but I'll look for something like that @Samuel: you mean after ? if there is any return, I have to remove

Re: RFC: cake deploy

2008-05-16 Thread Samuel DeVore
One thing that would be nice to see is an option to clear out the tmp subfolders (like caches/model, caches/view ...) and likely making sure the perms are still good on that directory. I know that is something when I was starting out that kept biting me in the butt. Sam D On Fri, May 16, 2008

Re: installing cakephp on a subdomain

2008-05-14 Thread Samuel DeVore
one thing that happened to someone I know recently on their shared host was a recent upgrade to webmin caused the folder permissions to be wedged in the new virtual host folders that were created, causing all kinds of problems with include and require calls in php Sam D On Wed, May 14, 2008 at

Re: Trying to update record, not insert!

2008-05-13 Thread Samuel DeVore
On Tue, May 13, 2008 at 11:23 AM, theandystratton [EMAIL PROTECTED] wrote: Ok, so in classic n00b goodness I found my simple mistake. I think the convention is to have your primary key of a table be labeled `id` and I decided to go for broke naming it `user_id` I think this really

Re: What is the difference in Model::getLastInsertID() and Model::getInsertID()

2008-05-13 Thread Samuel DeVore
My guess knowing nothing is they are different to help people coming from different DB engines to use what they are used to Sam D On Tue, May 13, 2008 at 12:10 PM, jonknee [EMAIL PROTECTED] wrote: Out of curiosity what is Model::getLastInsertID() and Model::getInsertID() normally used

Re: Error Undefined property: pdfHelper::$helpers [CORE\cake\libs\view\view.php, line 875]

2008-05-12 Thread Samuel DeVore
I meant to add it to the class declaration of the fpdf helper not your controller. This is I think what I did to fix it for myself a month or so ago like class fpdfHelper extends FPDF { var $helpers = array(); var $title... Sam D On Mon, May 12, 2008 at 5:39 AM, [EMAIL

Re: Cookbook overhaul proposal

2008-05-12 Thread Samuel DeVore
Thoughts? Here is one It makes CakePHP team eat their own dogfood ;) Sam D -- -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

Re: Error Undefined property: pdfHelper::$helpers [CORE\cake\libs\view\view.php, line 875]

2008-05-09 Thread Samuel DeVore
try adding var $helpers = arrary(); to the class declaration Sam D then if it works send me an email and tell me to update the damn tutorial you lazy wonk ;) the lazy wonk being me :P On Fri, May 9, 2008 at 8:55 AM, Regi81 [EMAIL PROTECTED] wrote: Hello, I was integrated the fpdf library

Re: Max number of save()'s in a loop

2008-05-08 Thread Samuel DeVore
http://us3.php.net/manual/en/function.set-time-limit.php reset it every n times through a really long loop if you think that is your issue, each time you set it it rolls the timer back to 0 Sam D On Thu, May 8, 2008 at 4:13 AM, Kyle Decot [EMAIL PROTECTED] wrote: I'm not sure how to do that.

Re: TimeHelper

2008-05-05 Thread Samuel DeVore
helpers are for views. If you search google groups for helpers in controllers you should find some information (it might be with components and helpers) you might also find something here http://groups.google.com/group/cake-php/web/faq Sam D On Mon, May 5, 2008 at 4:52 AM, LukeLambert

Re: CakePHP css files

2008-05-01 Thread Samuel DeVore
like this? http://cakeforge.org/themes/cake/css/forge.css On Thu, May 1, 2008 at 8:19 AM, Carl [EMAIL PROTECTED] wrote: Anybody know where I can find copies of the css files used on the CakePHP site (forge.css, legacy.css, etc.) ? -- -- (the old fart) the advice is free, the

Re: version 1.2 scaffolding drop down.

2008-04-25 Thread Samuel DeVore
I wonder if it might be that Model/ Models are reserved words Sam D On Fri, Apr 25, 2008 at 9:37 AM, JoC [EMAIL PROTECTED] wrote: Hello All, before I get yelled at I tried all the solutions I found on here before posting none of them worked. I have the following structure and I can't

Re: version 1.2 scaffolding drop down.

2008-04-25 Thread Samuel DeVore
it. Thanks so much! On 4/25/08, Samuel DeVore [EMAIL PROTECTED] wrote: I wonder if it might be that Model/ Models are reserved words Sam D On Fri, Apr 25, 2008 at 9:37 AM, JoC [EMAIL PROTECTED] wrote: Hello All, before I get yelled at I tried all the solutions I found

Re: extra number character in Flash message

2008-04-24 Thread Samuel DeVore
I bet in your view you are doing and echo of the -flash call, the flash call in the view automatically echos, and returns true, so you are echoing 'true' which is a one. Sam D On Thu, Apr 24, 2008 at 7:09 AM, Zoltan [EMAIL PROTECTED] wrote: I'm doing this bit that resets the user's password

Re: CakePHP IDE

2008-04-14 Thread Samuel DeVore
It was moved to http://macromates.com/svn/Bundles/trunk/Review/Bundles/PHP%20Cake.tmbundle/ because since I made the bundle ages ago they have made their standards a little clearer and I just haven't had the time to finish cleaning it up. I have most of the current version updated to 1.2

Re: 404 Question

2008-04-09 Thread Samuel DeVore
$this-cakeError('error404', array('message' = 'Enter a message here', 'title' = 'Comes right after the error code')); On Wed, Apr 9, 2008 at 7:16 AM, Kyle Decot [EMAIL PROTECTED] wrote: How can you tell Cake to throw a 404 error via the Controller? Thanks for any help as always. --

Re: Notice (8): Undefined index: in cakephp 1.2

2008-04-04 Thread Samuel DeVore
not with that amount of information, perhaps some time spent actually putting some useful information in your question you could get some better help. Like what array is is working on, what are some relevant code lines around that error. On Thu, Apr 3, 2008 at 11:50 PM, bhushan A [EMAIL

Re: Sending two emails in one function

2008-04-04 Thread Samuel DeVore
On Fri, Apr 4, 2008 at 8:04 AM, Kyle Decot [EMAIL PROTECTED] wrote: I have created a contact form that sends out both an email to me, and a confirmation email to the person who filled out the form. The problem that is when the confirmation email gets sent out, it contains the information

Re: Which is the best way to desactive htmlentities for $html-link

2008-03-30 Thread Samuel DeVore
http://api.cakephp.org/1.2/class_html_helper.html#71ff7f331b08318bc867a4d9057b7d9f On Sun, Mar 30, 2008 at 9:04 AM, Neveldo [EMAIL PROTECTED] wrote: Hi all, I saw that with the HTML helper, when I create a link by using $html- link method, it automatically call an htmlentities-like

Re: RSS feeds in cake

2008-03-27 Thread Samuel DeVore
is your rss view in a folder like /views/entities/rss/view.ctp and did you make a rss layout like /views/layouts/rss/default.ctp Sam D On Wed, Mar 26, 2008 at 11:43 PM, Novice Programmer [EMAIL PROTECTED] wrote: Hello Tarique, its the error that cake throws when it is not able to find layout

Re: Include PHP code in view

2008-03-26 Thread Samuel DeVore
On Wed, Mar 26, 2008 at 3:15 PM, CodeHooligans [EMAIL PROTECTED] wrote: As for the comment on the no business logic in the View I agree. But then again I never actually stated what this function I'm including does. It's not business logic. It's just code to help build the radio buttons

Re: Suppressing UTF-8 BOM output

2008-03-24 Thread Samuel DeVore
I have seen this happen when one file (in my case a jpGraph file) had a been saved with the file encoding BOM in it, when If found the file and resaved it without it, all was good. It actually made the jpegs that were generated to be corrupt. That would be my guess, Sam D On Mon, Mar 24, 2008

Re: Suppressing UTF-8 BOM output

2008-03-24 Thread Samuel DeVore
my guess is that it is a helper or a view that is used by that page(s) something that someone edited using a different texteditor like homeSite On Mon, Mar 24, 2008 at 10:04 AM, MonkeyGirl [EMAIL PROTECTED] wrote: Cake isn't adding the bytes, your editor probably is. That makes sense, but

  1   2   3   4   5   6   7   >