302 redirects of 404 pages

2013-12-17 Thread Jason Page
Hi gents, I've inherited a site doing something SEO suicidal, but I can't for the life of me find where it is doing this, and I'm not even that familiar with PHP, so it's turning out to be a nightmare. It probably doesn't help that the site is 4 years old or so and has barely been updated in th

consoleShell & Sanitize class

2013-08-13 Thread Jason Bramley
Hi, I see from the 2.4.0-rc1 release notes that these two items are deprecated and will be removed in 3.x Two questions come to mind: 1) Why? 2) What are the recommended replacements? Thanks Jason -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com

CSS in CakeEmail

2013-05-14 Thread Jason Ellis
In my CakePHP website I have added my css file to app/View/Layouts/default.ctp $this->Html->css('myapp'); I use this to add colors to rows in tables on my website. I have a controller which sends a weekly email to staff with the contents of a table on my website. My problem is the table in t

Re: Subquery in join clause in CakePHP 2.2

2013-01-30 Thread Jason Chen
There is a problem, if set table prefix in database config, it will also add the prefix to subquery. 在 2012年8月29日星期三UTC+8上午1时27分47秒,Mark Wratten写道: > > Glad to. After some reading I was able to take it a step further and turn > it into a custom find method, which nicely encapsulates the code

Re: Error: Index.phpController could not be found

2012-08-05 Thread Jason Nightingale
That could be it... I am reading this post to figure what's happening, and I'm reading on that link where it says that IIS 7 natively doesn't support .htaccess files. I am running on IIS 7, perhaps you are too? On Wednesday, March 7, 2012 7:53:35 AM UTC+2, amg55nj wrote: > > Ok so I used this gu

cakephp 1.3 with javascript

2011-11-22 Thread jason for
te HTML into the view, my problem is the opposite, nothing appears to change! EDIT: Just checked firebug and it looks like there is a duplicate set of view data returning to the browser, but it's still not being drawn on the browser (either firefox or IE) Hopefully someone out there can help.

Am I Violating MVC?

2011-05-18 Thread Jason Mitchell
I have in a controller an array containing data used on the view to populate a drop down. I put it on the controller, so the array could be used by multiple views associated with that controller (create, edit). Additionally, it means that if I do ever have to change it, I just have to change it

Re: NEW video tutorial on form searching mysql w/ pagination in CakePHP (very helpful!)

2011-01-25 Thread Jason Wydro
t spelling. Jason Wydro (503) 482-9321 ja...@jasonwydro.com www.jasonwydro.com On Tue, Jan 25, 2011 at 12:44 PM, Larry E. Masters wrote: > You should upload your video to http://tv.cakephp.org you know there is a > contest for the initial launch? > > http://tv.cakephp.org/launch-compet

Re: Baffling blank screen problem

2010-11-23 Thread jason miyashiro
It could be you are missing the cake log file in /cake/libs/cake_log.php. Check to see that the file is there. It has happened to me before because the way I had my .gitignore set up, it ignored the cake_log.php file when I pulled from git. That might be the problem. On Nov 24, 9:02 am, Jules wro

Re: Setting arrays for a complicated HABTM relationship

2010-03-22 Thread Shantam Jason Galuten
Yes, thanks so much. I still feel like there could be more complicated things that I wouldn't know how to do, but I'll cross that bridge when I get to it ;) On Mon, Mar 22, 2010 at 1:21 AM, WebbedIT wrote: > Glad I set you on the right path, Set::combine is a handy and powerful > tool when pl

Cannot get Cake 1.2x or 1.3 to work on OS X 10.6 Snow Leopard

2010-03-02 Thread Jason T.
Hi all-- I was playing with Cake last summer on my old Powerbook. I haven't touched it in awhile, and decided to start again on my new Macbook Pro running 10.6 (built-in PHP 5.3). I have so far been unsuccessful either with older versions of cake or the new 1.3 beta. Initially I was able to get

Re: Debug >= 2 changes the response context type

2009-11-11 Thread jason m
when using ajax i always set the debug to 0 before rendering the view. You can do that in the controller by doing Configure::write('debug', 0). That will only set the debug temporarily so it should solve your problem. On Nov 12, 6:38 am, Alberto Dominguez wrote: > Hi, > > I'm using CakePHP to gen

Re: PHP IDEs

2009-09-10 Thread jason m
many encodings, I wonder why textmate, which is not free, cannot. On Sep 10, 11:45 pm, Martin Westin wrote: > On Sep 10, 1:05 pm, jason m wrote: > > > The only downside of textmate is that it doesn't really > > support any > > other encodings besides UTF8. > > > J

Re: PHP IDEs

2009-09-10 Thread jason m
real power of textmte is all of the different bundles which makes coding faster and more enjoyable. The only downside of textmate is that it doesn't really support any other encodings besides UTF8. Jason On Sep 10, 12:18 am, Bob Albert wrote: > I've been doing my PHP coding in BBed

.htaccess and mime-types

2009-08-25 Thread jason m
I have a cakephp 1.2 app (1.2.2.8120) and I am trying to change the mime-type for Japanese cell phones on certain pages with this one line of code in the app/webroot/.htaccess file: AddType application/xhtml+xml .xhtml This works for .xhtml files uploaded directly to the webroot folder, but regul

Re: Syntax errors running console script on production server

2009-05-18 Thread Jason
ds through the browser interface. The issue only surfaces when I'm running my shell script. In fact - one of my models is being used by the shell script and a few standard controllers and it is only throwing an error when run through the shell script. - Jason On May 18, 3:15 pm, Jason wr

Syntax errors running console script on production server

2009-05-18 Thread Jason
n /home/jasford/ feedmagnet.com/app/vendors/shells/import.php on line 72 but if I remove the word "private" from the front of the line it does not return a syntax error. Does anyone have any idea what could be going on here? I'm running PHP 5.2.9 locally (Entropy release 7) and PHP 5.2.6

Re: Recursive delete not working

2009-05-11 Thread Jason
'Feed' => array('dependent' => true, 'exclusive' => true) ), true )); $this->Account->delete($id); - Jason On May 11, 3:52 pm, Jason wrote: > Wow - so I feel dumb about that mistake! I updated my code and it is > working now. I was goi

Re: Recursive delete not working

2009-05-11 Thread Jason
ate and Feed models are not deleting. Is there some trick for getting on-the-fly bindings to work with recursive deletion? Thanks! - Jason On May 11, 3:00 am, schneimi wrote: > Hi, > > just a misspelling, try 'dependent' instead of 'dependant' ;-) > > Michael > >

Recursive delete not working

2009-05-11 Thread Jason
I am running this in the controller: $this->Account->del($id); Cake generates SQL to delete from the accounts table, but it does not even attempt to touch the other tables that are dependent. I even tried forcing the $cascade variable (which default to true) like this: $this->Account->d

Add additional field in a hasandbelongstomany association

2009-05-04 Thread Jason T.
d * product_id * size Thanks in advance for any help. I tried to find this answer but I wasn't coming up with the right terms to search for I guess. Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "C

Re: Views in CakePHP

2009-04-20 Thread Jason Wydro
M, brian wrote: > > > > Which is the diffrerence between .thtml and .ctp in views? > > > > Thanks, > > > > Fernando > > > > > > > > > > > -- All the best, Jason Wydro w3developing, LLC --~--~-~--~~~--

Call a function right before execute any other function

2009-03-27 Thread Jason
Hi all, I want to call a check function before the bootstrapping starts. I believe I need to change in the core of cakePHP, but don't know where to begin. Anyone who familiar with the core could help me? Thanks, Jason --~--~-~--~~~---~--~~ You received

Call a function right before execute any other function

2009-03-27 Thread Jason
for every single version. I believe I need to change something in the core of CakePHP but don't know where to begin. Anyone who familiar with the core could help me? Thanks, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: How to create models for complex database designs like this?

2009-03-11 Thread jason m
assuming your relations are setup correctly in the models, you probably just need to use the recursive in the movies controller. $movies = $this->Movie->find('all', array('recursive'=>2)); that should give you a list of celebs data for each cast. then just use a pr($movies) to see what is in the

Re: Converting SQL query to Cake query

2009-03-07 Thread jason m
I think you should look into one of the methods using the Set class when combining results from a count query like this. I'm not sure exactly which set method you should use but maybe Set::combine. http://book.cakephp.org/view/662/combine I think there is nothing wrong with using a foreach to co

Re: Wordpress and cakephp

2009-01-25 Thread jason m
+1 for wildflower. I'm not sure if it's done yet but I think the wildflower developer wanted to make it into a plugin so you could just pop it into your plugin folder and use it right away, while the rest of your app is separate. On Jan 24, 6:15 pm, "ache...@gmail.com" wrote: > You might look in

Re: Rails 2 CakePHP

2009-01-18 Thread jason white
I'm wondering the same. I have been using rails for about a year, and enjoy it. But there is not much of a desire for it in my area, and i'm looking at moving to PHP. jason On Sun, Jan 18, 2009 at 1:43 PM, vlain wrote: > > I worked with Rails for one year and I found it a go

Re: API

2009-01-04 Thread jason m
Also, the first line of the find method description says that it returns a single row as a resultset array. That might have been true for cake 1.1 but for 1.2 I generally use the find method for basically any kind of read from the model, and this method if probably the one I use most and therefore

Re: API

2009-01-04 Thread jason m
One of the most confusing areas of the API when pre-release versions of cake 1.2 came out was probably the Model::find method. I think the cookbook covers it very well, but just by looking at the api, you wouldn't really know how to use it. A simple link to the cookbook in the commend will probabl

Re: css is not caling

2008-12-30 Thread jason m
usually you would include the css in the head tag. also the things i would try are: 1) set the debug level to 2 in config/core.php if it's not already. 2) there might be an error somewhere else in your code --~--~-~--~~~---~--~~ You received this message because you

Re: findCount different then find('count')

2008-12-30 Thread jason m
i think all of the new find methods like 'count', 'all', 'first', etc take a second parameter which is an array with all the options. See api.cakephp.org. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" grou

Re: findCount different then find('count')

2008-12-30 Thread jason m
i think it should be return $this->find('count', array('conditions'=>$conditions)); On Dec 30, 2:59 pm, gearvOsh wrote: > All I did was this: > > return $this->find('count', $conditions); > return $this->findCount($conditions); > > $conditions = array('OR' => array( >  'Friend.user_id'        =

Multiple table access from within a model

2008-11-25 Thread Jason
I have the following tables, events +-id +-offering_id ... offerings +-id +-program_id +-start_date ... programs +-id +-name ... One program could have many offerings, but each offering is tied to one program. I have the $belongsTo and $hasMany set up via Bake. I would like to regularly be a

Re: Help needed for inline WISIWYG editor...

2008-11-14 Thread jason m
I have had a lot of luck with fckeditor in my cake projects. There is also a tutorial for it in the bakery. On Nov 14, 5:30 pm, "Aneesh S" <[EMAIL PROTECTED]> wrote: > thanks, but i need more options yahoo would be my choice... > Aneesh S --~--~-~--~~~---~--~~

More HABTM questions

2008-11-10 Thread Jason
Sorry to beat what is certainly a very uncomfortable horse... The db is as follows Users HABTM Groups HABTM Reports (using Group_Users and Group_Reports tables to manage relationships) I want to have conditions on both users and reports while returning a particular report only once. Basically I

How do I query after baking?

2008-10-29 Thread Jason Qualkenbush
kephp and query, but all I end up with is how to paginate a custom query. I just want to know how to do a query at all. -Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post t

Re: Forum instead of Mailing List?

2008-10-29 Thread Jason Qualkenbush
e.com/group/cake-php/topics > > What concrete advantage is there in using a forum. > > AD I agree. Just take a look here: http://groups.google.com/group/cake-php/topics It's just like a forum without the animated avatars. -Jason --~--~-~--~~~---~-

Cakephp Conference Japan

2008-10-27 Thread jason m
I attended the cakephp conference in tokyo last saturday. Many different people presented various things about cakephp such as cakephp testing, and general information about cakephp. Also Garrett Woodsworth presented about the state of cakephp and about the cakephp roadmap. One interesting point I

Mocking the redirect function of a controller.

2008-10-06 Thread Jason Schadel
I'm having problems setting up a mocked controller for testing. I generated the partial mock with the following: Mock::generatePartial('AccountsController', 'MockAccountsController', array('redirect')); Then in the startTest method of the CakeTestCase

Re: MySQL Error on the first tutorial (blog)

2008-06-05 Thread Jason Ourscene
Thanks, got it working.. got a new error now that im posting in a seperate post. On Jun 5, 1:02 pm, leo <[EMAIL PROTECTED]> wrote: > Delete the two occurrences of the word DEFAULT and try again. > > On 5 Juny, 18:26, Jason Ourscene <[EMAIL PROTECTED]> wrote: > > &g

Dispatcher Fatal Error when going through the blog tutorial.

2008-06-05 Thread Jason Ourscene
Fatal error: Class 'PostsController' not found in /Users/jasoncalleiro/ Sites/cakeblog/cake/dispatcher.php on line 157 Thats what im getting after i create the index.thml file for my post. Any idea. Here is the code in my controller. set('posts', $this->Post->findAll()); } } --~--~--

Dispatcher Fatal Error when going through the blog tutorial.

2008-06-05 Thread Jason Ourscene
Following along the tutorial and when i get past the part where you build your first view and hit the url localhost/posts/index I get this error. Fatal error: Class 'PostsController' not found in /Users/jasoncalleiro/ Sites/cakeblog/cake/dispatcher.php on line 157 Any clue? --~--~-~--

MySQL Error on the first tutorial (blog)

2008-06-05 Thread Jason Ourscene
This is my second time posting, so if it shows up again i apologize, I refreshed during the last post. So the command im sending is. # CREATE TABLE posts ( # id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, # title VARCHAR(50), # body TEXT, # created DATETIME DEFAULT NOT NULL, # modified DATETIME DEFA

MySQL Error on the first tutorial (blog)

2008-06-05 Thread Jason Ourscene
DEFAULT NOT NULL ); And here is the error: ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL, modified DATETIME DEFAULT NOT NULL)' at line 5 I cant figure this one out. Than

Re: installing cakephp on a subdomain

2008-05-15 Thread jason m
There are many different server configurations and I too have had problems installing cakephp. I guess the first step would be to see if php is working. You could do that by placing a php file there with the code . That should print out a bunch of your php settings. If you httpdocs is your webroo

Newcomer with feedback and question with a concern

2008-05-15 Thread Jason Carlson
Old time programmer (since 1979) and fan of PHP (since '97) who decided to venture out and see what all the fussing over the OS frameworks was all about. I was enticed by a PHP Magazine article on CakePHP and after reading a lot of the pros and cons of different frameworks this seemed like the bes

Re: looking for a hosting company

2008-03-27 Thread jason m
I've had success with media temple dedicated virtual servers. They are about $50/month (a little less if you pay a year in advance) and I setup cake many times with no problems so far. Speed is pretty good and also the support was always quick and helpful. It was also easy to manage clients and se

Re: multiple submit buttons in a form

2008-03-08 Thread Jason
Check out the $param array in your Controller when the submit occurs: Array ( ... [form] => Array ( [b] => Submit ) ... ) BTW, I changed the 'name' for your submit button to 'b', so it is different to the edit button. Obviously if the edit button was cli

Re: Unit Testing Controller using fixture in test_suit config

2008-03-08 Thread Jason
if anyone else does have a good (and simple - if it ain't simple then people won't do it) way of doing it then I'd be very interested. But for now I rather write code than struggle to actually test it in a repeatable way! Jason. On Mar 6, 1:16 am, Micro <[EMAIL PROTECTED]>

Re: Reusable elements

2008-03-08 Thread Jason
Isn't there an article on that here: http://bakery.cakephp.org/articles/view/how-to-use-smarty-with-cake-smartyview or is that not what you're asking? On Mar 8, 11:55 am, herc <[EMAIL PROTECTED]> wrote: > How to create 'cake' reusable elements in Smarty Template engine? --~--~-~--~

CSS and images?

2008-03-04 Thread Jason
More noob questions. Where do I put my CSS in relation to the app folder? Where do I put my images in relation to the app folder? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this gro

Find page title?

2008-03-04 Thread Jason
I am getting no where with the documentation. function view($name = null) { $this->PageControl->name = $name; $this->set('post', $this->PageControl->read()); } This outputs the following... WHERE `PageControl`.`id` = 'index' LIMIT 1 I want it to output WHERE `PageControl`.`tit

URL mapping?

2008-03-03 Thread Jason
I will be enlightened. Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: Edit Records - Select menus and checkboxes?

2008-03-02 Thread Jason
I have tried the following and it works. However I am getting a warning.. Controller. function edit($id = null) { if (empty($this->data)) { $this->Content->id = $id; $this->data = $this->Content->read(); } else { if ($this->Content-

define() and app_controller

2008-02-21 Thread jason m
I have a method that runs a bunch of define statements for localizations stored in a database. function loadAll($language = 'english',$group=null){ $localizations = $this->Localization->findAll("",array('name', $language)); foreach($localizations as $locali

Re: generateList deprecated ... how to find a list with conditions?

2008-01-14 Thread jason m
How about if you want a list with two fields like Post.id => Post.title? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe

RE: Username availabilty check

2007-12-07 Thread Jason Burgess
I've had pretty good luck doing it this way. Below are the important snippets of code. I've left off the actual checking code since that is very specific to my application. You can see it in action here: http://www.area50four.com/signup >From the Signup page: input("User/username", array('on

RE: Using PHP 5 Functionality In Your App

2007-12-07 Thread Jason Burgess
started looking for solutions. The only one I found that wasn't hugely complicated or flaky at best was the new date functions in PHP 5.1. The next day, I upgraded our web servers to PHP5. I think we're one or two other features that are new in PHP5 but I can't recall what they are off

Re: Model dependancies based on other relationship

2007-09-22 Thread Jason
I hate to do this, but I gotta give this a bump. No one has any suggestions? :( On Sep 21, 6:25 am, Jason <[EMAIL PROTECTED]> wrote: > I have an interesting issue with mymodelrelationships that I'm > attempting to figure out how to take care of in the most elegant > fashi

Model dependancies based on other relationship

2007-09-21 Thread Jason
I have an interesting issue with my model relationships that I'm attempting to figure out how to take care of in the most elegant fashion. Basically, I have a User model, a Profile model, and then multiple extended Profile models (ex: AdminProfile, etc.) which have information specific to that ty

Re: Complex table relationship within one model

2007-09-06 Thread Jason
On Sep 6, 4:02 am, AD7six <[EMAIL PROTECTED]> wrote: > Hi Jason, > > Sorry, somethings (How do I keep coders from using these models to > edit the tables?) lead me to believe you were asking a (internal?) > security question. And sorry if that tainted the tone of my reply.

Re: Complex table relationship within one model

2007-09-05 Thread Jason
On Sep 5, 5:17 pm, AD7six <[EMAIL PROTECTED]> wrote: > On Sep 4, 5:32 pm, Jason <[EMAIL PROTECTED]> wrote: > > > > > > I would like to be able to access this data through one object that is > > locked down. There will be no reason for my application to e

Re: Complex table relationship within one model

2007-09-05 Thread Jason
r these calculations, as well, since they are rather intensive. I just want to setup the object model properly before I worry about that, however. If I can make this a component that is portable, I would be more than happy to throw it up on the bakery. > Ketanhttp://www.eclassifieds4u.com > &g

Re: Complex table relationship within one model

2007-09-05 Thread Jason
Even if I don't create the CRUD functionality, it's still there for another developer to totally mess things up. To add some level of protection I've created an AppReadOnlyModel that extends AppModel which has overridden save and delete functionality. It was easier than editing the beforeSave and

Complex table relationship within one model

2007-09-04 Thread Jason
rom within any controller and it needs to use the DB connection that Cake sets up. What is the best way to accomplish this while staying within the constraints and guidelines of the Cake system? Any suggestions are GREATLY appreciated! Thanks, Jason --~--~-~--~~~

Cake not working on secondary domain

2007-08-04 Thread Jason
p would be greatly appreciated. Thanks in advance, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe f

Re: need help with linking models

2007-07-26 Thread Jason
On 7月27日, 上午9时06分, rtanz <[EMAIL PROTECTED]> wrote: > ok finally got most of it to work, the only problem i still have is > the task management bit. > > currently i have > > Roles > var $hasMany = array('Task'); > var $belongsTo = array('Module','User'); > > Tasks > var $be

CakePHP, mod_rewrite and mod_vhost_alias

2007-04-04 Thread Jason
I am running into some issues regarding mod_rewrite, mod_vhost_alias and cake. I am using the latest stable CakePHP and ran through the Blog tutorial. Basically, when I setup an explicit VirtualHost, it works. When I try to have mod_vhost_alias manage the vhost, it does not work. Here is the expli

Re: What editor do you use for CakePHP?

2007-02-16 Thread Jason Huebel
I do programming for a living and there's another programmer in my shop who uses PSPad almost exclusively. He really likes it. I have to say I like the simplicity of it. I'm mainly interested in an editor that provides syntax highlighting and the gets out of my way. PSPad does fit the bill in tha

Re: What editor do you use for CakePHP?

2007-02-16 Thread Jason Huebel
Emacs is evil. And it's nowhere close to lightweight or clean. Let the flaming begin! :-) Leonardo Varuzza wrote: > Emacs, the one true editor ;-) > > On Feb 13, 2:08 pm, Jason Huebel <[EMAIL PROTECTED]> wrote: >> For those poor souls who can't use TextMate be

Re: What editor do you use for CakePHP?

2007-02-13 Thread Jason Huebel
can be found on the second page of the thread. Jason Huebel wrote: > For those poor souls who can't use TextMate because you're on Windows, > you might want to take a look at InType (http://intype.info/). It's > still in alpha (and will eventually be commercial software), but

Re: What editor do you use for CakePHP?

2007-02-13 Thread Jason Huebel
ode snippets and keyboard shortcuts for a particular language. It's a very lightweight and extremely clean (almost to a fault) interface. Hope you like it. Jason Huebel [EMAIL PROTECTED] wrote: > G'day all, > > Matt from Australia here. In the past I've done all my PHP

Re: Finally a good Editor for Windows

2007-01-24 Thread Jason Huebel
All I can say is, WOW. I've been using TextMate on my Mac Mini and Ultraedit on my Windows box. I think I just found the replacement for Ultraedit. Great find! Jason Mandy wrote: > Well, this post is not about asking a question, but about sharing an > editor that I recently found.

RE: webroot issue (i think)

2007-01-19 Thread Jason Huebel
[L] path_to_app/app/webroot/.htaccess RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] Jason Huebel -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

Beginner Help

2007-01-16 Thread Jason Paidoussi
lected using ajax. Is this possible with cake? Another question I have is it possible to use cake models from a command line php script and if so how would I include all the needed cake libs and instantiate a model? Thanks very much for the help,

Re: Re: $this->flash() Problem

2006-08-26 Thread Jason Lee
it solved, so I can move on. :) -- jason lee http://www.steeplesoft.com http://blogs.steeplesoft.com http://littlezoper.livejournal.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To p

Re: $this->flash() Problem

2006-08-26 Thread Jason Lee
in overriding render(). Once I changed the method to that, things started working again. At that point, I realized that in my render() method, when I called the method on the parent class, I failed to pass along the three parameters. So. User error. Thanks to all that helped. :) -- jason lee

Re: Download Sexy Movies

2006-08-26 Thread Jason Lee
pretty funny: http://spamusement.com/ A word of warning, though. Given the nature of some spam, some the comics are more than just a bit off color... -- jason lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PH

Re: $this->flash() Problem

2006-08-25 Thread Jason Lee
essage and the link. -- jason lee http://www.steeplesoft.com http://blogs.steeplesoft.com http://littlezoper.livejournal.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this g

Re: $this->flash() Problem

2006-08-25 Thread Jason Lee
1 DESC `users`8 8 1910 I tried rolling back to 1.1.6 and got the same result. -- jason lee http://www.steeplesoft.com http://blogs.steeplesoft.com http://littlezoper.livejournal.com --~--~-~--~~~---~--~~ You received this message beca

Re: Re: $this->flash() Problem

2006-08-24 Thread Jason Lee
On 8/24/06, Samuel DeVore <[EMAIL PROTECTED]> wrote: > > Can you post the code in your controller? Here's the relevant snippet: http://cakephp.org/pastes/show/2ec3cd97a310e0ff524105a02a3339f2 -- jason lee http://www.steeplesoft.com http://blogs.ste

$this->flash() Problem

2006-08-24 Thread Jason Lee
Using CakePHP 1.1.7, when I say $this->flash("foo", "/foo"); it doesn't flash. It rerenders the page i'm on. Has anyone else had that problem? -- jason lee http://www.steeplesoft.com http://blogs.steeplesoft.com h

Re: $this->flash() Problem

2006-08-24 Thread Jason Lee
#x27;); Instead, it's rerendering /users/add. Does that make sense? -- jason lee http://www.steeplesoft.com http://blogs.steeplesoft.com http://littlezoper.livejournal.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Running HTML files through index.php

2006-07-29 Thread Jason Lee
at I'm trying to do, so I gave it whirl. The bottom line is, though, for whatever reason, that's not working. I get the message: The requested address index.html was not found on this server. when I hit http://foo.com/index.html. Any pointers? Thanks! -- jason lee http://www.steeplesoft.c

Re: Running HTML files through index.php

2006-07-28 Thread Jason Lee
!^/stats* But only under Apache 2. Apache 1.3 doesn't like that, so I'll just have to wait for all my hosts to be updated... -- jason lee http://www.steeplesoft.com http://blogs.steeplesoft.com http://littlezoper.livejournal.com --~--~-~--~~~---~--~~ Yo

Running HTML files through index.php

2006-07-27 Thread Jason Lee
r the exisiting file exception if the request URI ends in .html. Are there any mod_rewrite gurus that can give me some pointers? I'd also like to exlude /stats* and am having mixed results on that. Thanks a lot! -- jason lee http://www.steeplesoft.com http://blogs.

Re: Hosting (i.e. Dreamhost)

2006-07-18 Thread Jason Lee
-ym.org I'll grant that it's no eBay, but performance has been good enough for me. For what that's worth... ;) -- jason lee http://www.steeplesoft.com http://blogs.steeplesoft.com --~--~-~--~~~---~--~~ You received this message because you are sub

hasMany/finderQuery/fields not working?

2006-07-10 Thread Jason Botwick
'order' => '',     'foreignKey' => '',    'dependent' => true,    'exclusive' => '',

Re: Google Maps + CakePHP Recipe

2006-05-26 Thread Jason Lee
ts/default.thtml?rev=112&root=rdos&view=markup usage: https://cakeforge.org/plugins/scmsvn/viewcvs.php/trunk/CakeMap/views/maps/index.thtml?rev=112&root=rdos&view=markup -- jason lee http://www.steeplesoft.com http://blogs.steeplesoft.com http://littlezoper.livejournal.com --~-

Re: Google Web Toolkit - Easy AJAX for CakePHP?

2006-05-17 Thread Jason Lee
l AJAX toolkits, such as dojo, that several have used with great success with CakePHP, though. -- jason lee http://www.steeplesoft.com http://blogs.steeplesoft.com http://littlezoper.livejournal.com --~--~-~--~~~---~--~~ You received this message because you are su

Re: Helpers not available in my layout

2006-05-12 Thread Jason Lee
see the error that CakePHP is trying to give you. It just can't > because there is code in there that relies on CakePHP and it has > already bombed out. Ah! That was it! If you're ever in Oklahoma City, I'll buy you a Slurpee :P -- jason lee http://www.steeplesof

Helpers not available in my layout

2006-05-11 Thread Jason Lee
9 Fatal error: Call to a member function browser_is_ie() on a non-object in /tmp/sscp2/views/layouts/default.thtml on line 9 though the page title says "Missing Database Table" which has to be a bug. Does anyone see why that would be failing? I'm REALLY stumped. It works fine on 0.10.

Re: pretty URL's problem

2006-05-02 Thread Jason Lee
ust making sure... :) > In my core.php file I have uncommented the line 42, > define ('BASE_URL', env('SCRIPT_NAME')); I think that needs to be commented out. -- jason http://www.steeplesoft.com http://blogs.steeplesoft.com http://littlezoper.livejournal.com --~--~

Re: running cake code via cron

2006-04-07 Thread Jason Lee
ncapsulates some of the generic functionality I'll need in my cron jobs. I then create a script that includes this file, instantiates the CLI class, and does whatever it needs to do. It may be a bit of a hack, but not too bad, I think, and it keeps cron jobs out of the reach