Re: using ajax helper to reload an element

2009-02-27 Thread Corey Crawford
OK, finally getting a chance to look at this again. The biggest problem I'm having is passing variable information to the element, so that it can reduce the scope of what's returned and filter based on a drop down selection. Here's some code snippets: http://bin.cakephp.org/view/168041585 Basic

Re: Admin login and user login without ACL

2009-02-27 Thread Sam Sherlock
Have a look at this tutorial http://www.studiocanaria.com/articles/cakephp_auth_component_users_groups_permissions_revisited 2009/2/27 Dhana > > Is it possible to secure the admin_path so that regular users don't > have access to it? I am already using the Auth component for a user > login wh

Re: Cake core is throwing unlink warnings

2009-02-27 Thread jitka (poLK)
I've never seen this issue before, and it is hard to reproduce it in test case if it misbehaves randomly... Try one thing, please: in cake/libs/file.php in File::delete() replace clearstatcache(); with clearstatcache(true); and let us know if that helps. --~--~-~--~~---

Admin login and user login without ACL

2009-02-27 Thread Dhana
Is it possible to secure the admin_path so that regular users don't have access to it? I am already using the Auth component for a user login where they can perform their user tasks. But I would also like to have an admin that can see all the users stuff. The prefix routing works fine in creati

Re: $paginator->link sorting – Is this a Bug?

2009-02-27 Thread Mike Cook
As there was no reply I ended up posting a bug ticket for this. I'm posting the result here for future searches on the subject. Apparently this inheritance is the intended behavior of the Paginator helper. Personally this makes no sense to me, but I guess there must be good reason for it. If you

Re: Cake core is throwing unlink warnings

2009-02-27 Thread RyOnLife
I created a bug on Trac: https://trac.cakephp.org/ticket/6148 ianh wrote: > > > Yes, I get this, generally when there are multiple calls going on to > the server (Ajax or when I click around too fast!). > > No idea what the issue is I'm afraid but I found that changing cake/ > libs/file.php

Re: Core Models not loading at all

2009-02-27 Thread Miles J
Im still having this problem. --~--~-~--~~~---~--~~ 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 cake-php+uns

Re: cURL problems

2009-02-27 Thread mscdex
On Feb 27, 4:38 pm, Patrick Hereford wrote: > My thoughts are either I am not able to make an XML object or the CURL is > not connecting to the website.  Any advice? Try peeking at the value of $curl_result to see what's being returned by curl. The next thing I would suggest is make sure your se

Re: JQuery UI on cake

2009-02-27 Thread BrendonKoz
Glad you got it working none-the-less. 50% of the time after I "give up" and look for help in the IRC channel, I solve the problem myself before anyone answers. ;) On Feb 27, 3:19 pm, Stu wrote: > I works!  basically I wasn't calling JQuery the right way. > > @Brandon: Thanks man, I failed to

cURL problems

2009-02-27 Thread Patrick Hereford
Hey guys. So here is my dilemma. I am using cURL to get xml data from a website for validation reasons. As soon as they hit the submit button on my form, it runs the function isValidThing(). My problem is that when I invoke the isValidThing in my controller...it ALWAYS returns false even if I k

Re: Saving a multiple checkbox

2009-02-27 Thread mscdex
Sounds like the problem lies elsewhere. Do you modify $this->data in any way in the controller action where the data is being saved? What does your call to 'save' or 'saveAll' look like? --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: Oracle group by bug

2009-02-27 Thread mscdex
On Feb 27, 4:09 pm, Germano wrote: > Hi, i try use a group by sql with a find('all') method in a oracle > database configuration but didnt worked. I use the same $condition > array with mysql with success. You need to post relevant information including any and all errors you are getting. You sh

Re: Saving a multiple checkbox

2009-02-27 Thread Matt
bump? On Feb 26, 1:54 pm, Matt wrote: > Ok, so I have created a multiple checkbox field with the help of the > html helpers: > input('type', array('type' => 'select', > 'multiple'=>'true', > 'options' => array(''=>'', ''=>'', > ''=>'')));  ?> > > Looks great. But when I t

Re: Sorting on additional fields

2009-02-27 Thread mscdex
On Feb 27, 3:37 pm, georg wrote: > i wouldn't caluculate the average each time. > add a rating field to your products tabele and add an afterSave method > to your ProductReview Model which calulates the new average and > changes it in the Products Table each time a review is added. > This should

Oracle group by bug

2009-02-27 Thread Germano
Hi, i try use a group by sql with a find('all') method in a oracle database configuration but didnt worked. I use the same $condition array with mysql with success. Does anyone knows anything about this? --~--~-~--~~~---~--~~ You received this message because you a

Re: Class dispatcher not found

2009-02-27 Thread Brett Wilton
No one with any ideas ? Unfortunately I don't have access to the machine so can't investigate further at this stage. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email

Re: Sorting on additional fields

2009-02-27 Thread georg
i wouldn't caluculate the average each time. add a rating field to your products tabele and add an afterSave method to your ProductReview Model which calulates the new average and changes it in the Products Table each time a review is added. This should be much faster and easyer to handle. --~--~

set Model-Vars with Behavior

2009-02-27 Thread igotskils
Hello, I looked the whole day for a solution but I could't find one! My Problem: I have a Model (ModelOne), Behavoir( BehaveOne). and of course a Controller (ControllerOne) So, now I call a BahaveOne-Function form ModelOne and I set a variable to (let's say) "dog"! But when I now try to read t

Re: JQuery UI on cake

2009-02-27 Thread Stu
I works! basically I wasn't calling JQuery the right way. @Brandon: Thanks man, I failed to use common sense and check my source code. Hehe, rookie mistake. Cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "C

Re: "Undefined variable: javascript" when Javascript is absolutely loaded

2009-02-27 Thread Tony Thomas
This must be something unrelated to CakePHP. My local version functions perfectly and now the production server doesn't give me the non-object fatal error, but doesn't include my JavaScript either. (BUT, at least the information is displayed, which is a start.) There's something bizarre happening

Re: Cake core is throwing unlink warnings

2009-02-27 Thread ian . hill
Yes, I get this, generally when there are multiple calls going on to the server (Ajax or when I click around too fast!). No idea what the issue is I'm afraid but I found that changing cake/ libs/file.php in the following two places suppresses the errors (rather than altering the entire php.ini wh

Re: Problem in inserting data

2009-02-27 Thread CHANDAN KUMAR
best way debug just look $this->data in controller. On Fri, Feb 27, 2009 at 8:13 PM, AnkitLimkar wrote: > > Hi AllAs I am a beginner I am facing problems in inserting data in > the sample application database. I've followed the sample 'Blog > Tutorial' for implementing this. I've followed al

Re: JQuery UI on cake

2009-02-27 Thread brian
On Fri, Feb 27, 2009 at 2:40 PM, BrendonKoz wrote: > > Is it possible to be even a bit more specific?  Is jQuery being > successfully loaded in to your CakePHP page?  Is the jQuery UI script > successfully loaded?  Are you having problems loading the two scripts > in to your layout, or afterward?

Re: JQuery UI on cake

2009-02-27 Thread Kyle Decot
I have my jquery stuff set up like: webroot |_ js |_ jquery |_ jquery.js |_ ui |_ core.js |_ accordion.js Then in my view I do: link(array("jquery/jquery.js","jquery/ui/ core.js","jquery/ui/accordion.js"),false); ?> $(function () { $("#a

Re: "Undefined variable: javascript" when Javascript is absolutely loaded

2009-02-27 Thread brian
On Fri, Feb 27, 2009 at 2:42 PM, Tony Thomas wrote: > > This problem just cropped up out of the blue for me. I made no changes > to the AppController where the helpers are defined. I can't figure it > out. The JavaScript file in question is clearly in the HTML, but > everything is broken. What's

Re: "Undefined variable: javascript" when Javascript is absolutely loaded

2009-02-27 Thread Tony Thomas
I forgot to add that if I remove 'echo $javascript->link('js.js');' nothing is rendered at all. Even if I hand code the link to the JavaScript. It's truly bizarre and has broken my entire application. On Friday afternoon no less. :-( On Feb 27, 1:42 pm, Tony Thomas wrote: > This problem just cro

Re: "Undefined variable: javascript" when Javascript is absolutely loaded

2009-02-27 Thread Tony Thomas
This problem just cropped up out of the blue for me. I made no changes to the AppController where the helpers are defined. I can't figure it out. The JavaScript file in question is clearly in the HTML, but everything is broken. I had made a simple change to a different controller that seemed to p

Re: deployment options

2009-02-27 Thread SiVA_
Hi Frederic, I don't think I persisted enough in getting Fredistrano running. I tried again, but ran into a problem. I posted a message on the Fredistrano lits. Thanks for responding everyone! Long live cakephp On Feb 26, 4:47 pm, BrendonKoz wrote: > Hopefully the following topic will be of >

Re: JQuery UI on cake

2009-02-27 Thread BrendonKoz
Is it possible to be even a bit more specific? Is jQuery being successfully loaded in to your CakePHP page? Is the jQuery UI script successfully loaded? Are you having problems loading the two scripts in to your layout, or afterward? You can check the source of your rendered page to see if the

Re: Problem in inserting data

2009-02-27 Thread Stu
Best thing would be to post your controller code. --~--~-~--~~~---~--~~ 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 em

Re: JQuery UI on cake

2009-02-27 Thread Stu
To be a bit more specific, I want to implement this guy: http://docs.jquery.com/UI/Accordion I tried it out in a simple html and it worked fine, but Cake on the other hand does a good job at refuting my JQuery codes. --~--~-~--~~~---~--~~ You received this message

Re: Cascading an Update from a Parent to a Child Table?

2009-02-27 Thread mscdex
On Feb 27, 2:07 pm, rnd1221 wrote: > The real question: how to pass the id of the newly created user record > so it > can be inserted into the administrator table along with the data > entered when the administrator form is filled out?? $this->ModelName->id should be set with the new ID after a

Re: JQuery UI on cake

2009-02-27 Thread Stu
Thanks, but I'm looking for JQuery UI implements. Do I need to use this "scriptaculous" I keep reading everywhere. Also do I need to call in the Ajax helper? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP"

Re: Sorting on additional fields

2009-02-27 Thread mscdex
On Feb 27, 2:16 pm, mscdex wrote: > Until then, if you want to sort by calculated fields, one solution is > to override the paginate and optionally the paginateCount functions in > your controller. See > here:http://book.cakephp.org/view/249/Custom-Query-Pagination Sorry, paginateCount _must_ b

Re: Sorting on additional fields

2009-02-27 Thread mscdex
There's currently a ticket about this issue: http://trac.cakephp.org/ticket/5220 Until then, if you want to sort by calculated fields, one solution is to override the paginate and optionally the paginateCount functions in your controller. See here: http://book.cakephp.org/view/249/Custom-Query-P

Cascading an Update from a Parent to a Child Table?

2009-02-27 Thread rnd1221
Hi, new to CakePHP and wondering if anyone has any insight on this one. Background: this is an online testing application. There are 3 role types that will have different information and access levels. As such, I have: - A user table (ensures a unified namespace and allows us to check one table

Re: JQuery UI on cake

2009-02-27 Thread vikas gupta
Hi Me also gets confuse in that matter. Can anyone give me help in makeing project in cakePHP which is based on the google map On Sat, Feb 28, 2009 at 12:18 AM, Stu wrote: > > Hi, > > I have been reading the docs on this, yet I must say I am completely > confused as of where to start. Can an

Re: JQuery UI on cake

2009-02-27 Thread miwata
http://www.devmoz.com/blog/2007/04/04/cakephp-update-a-select-box-using-ajax/ "want a select box to be updated using ajax when I change the current item in another select box ." On 27 fev, 15:48, Stu wrote: > Hi, > > I have been reading the docs on this, yet I must say I am completely > confused

JQuery UI on cake

2009-02-27 Thread Stu
Hi, I have been reading the docs on this, yet I must say I am completely confused as of where to start. Can anyone explain to me how to implement JQuery UI to Cake, or if anyone has a good link to a tutorial, it would be very appreciated. Thanks --~--~-~--~~~---~--~-

Re: Using jQuery

2009-02-27 Thread Stu
Did you manage to get this to work? I'm also trying to implement 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

Sorting on additional fields

2009-02-27 Thread xxkylexx
Hey guys, I have some products that are being paginated, and the output array is as follows: http://bin.cakephp.org/view/1466382004 . How can I make $paginator->sort() work for the avg_rating field? It seems that sort() only wants to work on fields directly within the fieldset of the product. T

Re: changing updated field for another name

2009-02-27 Thread Marcelo Andrade
On Fri, Feb 27, 2009 at 11:59 AM, Toutankharton wrote: > > I'm integrating a database from a client, which field `date_maj` > ("maj" is french shortcut for up-to-date) is what cake wants > developers to call `updated` or `modified`. > > Is there any way for me to tell cake to user that field over

Re: Adding multiple tags at the same time

2009-02-27 Thread mscdex
Oops, I didn't see that you were using 'save' instead of 'saveAll'. Try changing it to 'saveAll'. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegr

Re: Creating a liste a years

2009-02-27 Thread mscdex
On Feb 27, 4:51 am, Toutankharton wrote: > How can I have simply > >        [class_year] => 1997 Strange, I didn't realize year would format it that way. You could also create a select box manually with your own associative range array. Maybe something like: $form->select('class_year', array_co

Re: hasAndBelongsToMany (HABTM) and Pagination

2009-02-27 Thread mscdex
On Feb 27, 3:55 am, Gianluca Gentile wrote: > Other idea? :) Try either changing the 'recursive' to 1 or use the containable behavior. For the latter option, you have to make sure your appropriate models have "Containable" in their $actsAs array. Then try: var $paginate = array('conditions' => a

Re: Cake core is throwing unlink warnings

2009-02-27 Thread RyOnLife
I am also see these warnings only on AJAX pages. I am using version 1.2.1.8004. Anyone else having this problem? Pyrite wrote: > > > I am also getting these errors intermittently. My solution, well, on > my production server I don't show warnings/errors in php.ini > > Seems to only see the

Re: Validate HABTM

2009-02-27 Thread brian
Have a look here http://teknoid.wordpress.com/?s=validate+habtm On Fri, Feb 27, 2009 at 9:30 AM, Günther Theilen wrote: > > Hi, > > maybe I'm a bit dull but I can't figure out what I'm doing wrong here. > Maybe someone can help: > > I've got two models: Foo HABTM Bar. > > In foo_controller, add

Re: how to work with different schemas?

2009-02-27 Thread persivo_cunha
up --~--~-~--~~~---~--~~ 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 cake-php+unsubscr...@googlegroups.com F

Re: deployment options

2009-02-27 Thread brian
On Thu, Feb 26, 2009 at 2:14 PM, SiVA_ wrote: > > Hi, > > Just wondering what ya'll do for managing deployments? I checked out > Fredistrano recently but never got it working. Currently I'm doing a > manual process that involves: > > 1. use linux find with -mtime -# to determine what files have c

Re: RPXnow OpenID

2009-02-27 Thread LunarDraco
> > CakeBaker: any chance you've got plans to update your Component? > > No, there are no plans to integrate support for RPX into the OpenID > component, because support for a proprietary API doesn't fit to the > current functionality of the OpenID component. I think it is better to > put the RPX

Re: checkbox value select

2009-02-27 Thread WebbedIT
Stu, It's not wise to suggest using Model::query as a solution to what is a fairly simple issue (saving related hasMany or HABTM records) Model::query is really a last resort method for completing complex database queries that are not possible with Cake and it is in your best interest to only us

Re: unload app_controller to force speed :)

2009-02-27 Thread AgBorkowski
generaly i do it somethong like that require_once '../xhr_controller.php'; class SuggestsController extends XhrController { public $components = array('Xhr'); public $helpers = array(); public $uses = array(); but still i see in debug app controler is active becouse script show

Re: cake 1.2 Auth component not logging in

2009-02-27 Thread Xoubaman
User table got username and password? Beforefilter ir correct? Do you allow the public actions in your controller? Auth is tricky, but following the tutorial step by step should work. On Feb 27, 4:40 pm, aka wrote: > I keep running in to this problem over and over again. > > Whenever I implem

Re: Multiple Checkbox

2009-02-27 Thread WebbedIT
As normal you are starting multiple threads for one topic and giving vague details in each one. People have already gone to the trouble of replying your thread posted 3 days ago, have the decency to respond to those rather than just starting new threads. Plus the above doesn't make a lot of sens

Re: checkbox value select

2009-02-27 Thread WebbedIT
Maulik and Matt, As Stu says, if you want to offer multiple options but the user can only select one then radio buttons should be used instead of checkboxes or if there are only two options (1 and 0) then if you set that table field to be TINYINT(1) Cake will automagically make that a single chec

cake 1.2 Auth component not logging in

2009-02-27 Thread aka
I keep running in to this problem over and over again. Whenever I implement the cakephp 1.2 Auth component I can't login (and yes, I'm sure the login credentials are right). The password is saved with the sha1 algorithm and the salt value has been changed. New cake installation + a new database (

unload app_controller to force speed :)

2009-02-27 Thread andrzejborkow...@gmail.com
I think so its simple but not for me :) I want unload app_controller in /app/controllers/sugest_controller.php so i create /app/xhr_controller.php extends Controller class XhrController extends Controller { public $components = array('xhr'); public $helpers = array(); public $uses =

AUTH redirect

2009-02-27 Thread Dave Maharaj :: WidePixels.com
Thanks to everyone who help me with my AUTH questions. I got it up and running. But there is 1 thing I want to know if possible. When a USER logs in my USERS belong to a group which has its own landing page. So how can I redirect after successful login to such as this example: if auth group_id

Re: Cake core is throwing unlink warnings

2009-02-27 Thread Pyrite
I am also getting these errors intermittently. My solution, well, on my production server I don't show warnings/errors in php.ini Seems to only see these on ajax pages with CakePHP 1.2 (latest as of 2/27/2009). On Feb 23, 2:51 pm, RyOnLife wrote: > I am getting this (and other similar) warnings

Re: submitting forms outside Auth

2009-02-27 Thread foldiman
...after trying a few things, I noticed I can't even do this... form id='pwTestForm' action='javascript:alert()'> Just trying to trigger an alert triggers the loginAction!? On Feb 27, 9:12 am, foldiman wrote: > I'm using the Auth component with no problem..users login, logout, > admin worki

changing updated field for another name

2009-02-27 Thread Toutankharton
Hey, I'm integrating a database from a client, which field `date_maj` ("maj" is french shortcut for up-to-date) is what cake wants developers to call `updated` or `modified`. Is there any way for me to tell cake to user that field over the default one ? Thanks ! -- Thomas Joulin --~--~

Problem in inserting data

2009-02-27 Thread AnkitLimkar
Hi AllAs I am a beginner I am facing problems in inserting data in the sample application database. I've followed the sample 'Blog Tutorial' for implementing this. I've followed all the CakePHP conventions. When I add the data No Error is displayed & page is redirected to correct location too,

Validate HABTM

2009-02-27 Thread Günther Theilen
Hi, maybe I'm a bit dull but I can't figure out what I'm doing wrong here. Maybe someone can help: I've got two models: Foo HABTM Bar. In foo_controller, add method I do this: $bar = $this->Foo->Bar->find('list'); $this->set(compact('bar)); In the foo/add view I have: $form->input('Bar', arr

Re: Very slow response times with CakePHP

2009-02-27 Thread Matt Curry
When you have debug set to 0 the file paths are cached in /app/tmp/ cache/persistent for a long time. With debug set to 0 the cache expiration is set to 10 seconds, so it is rebuilt often. This came up recently: http://groups.google.com/group/cake-php/browse_thread/thread/acb50b492966f3fd?hl=en#

Re: Saving extra fields in HABTM changed in RC4/1.2/1.2.1 ?

2009-02-27 Thread Matt Curry
Here's the recently committed unit test for saving HABTM w/ extra fields. If you follow this format, it's pretty safe to assume it'll work in the future https://trac.cakephp.org/changeset/8049 -Matt http://www.pseudocoder.com On Feb 27, 6:29 am, Jne wrote: > Hi, > > I have a slight problem on

submitting forms outside Auth

2009-02-27 Thread foldiman
I'm using the Auth component with no problem..users login, logout, admin working fine, etc. However, I have a few forms (contact, password recovery) that are not connected to models and need to be accessible to all users. The pages themselves are easily accessible using the allow() method. But wh

Re: Check for empty fields and redirect

2009-02-27 Thread rossjha
Think i've got it. Realised above wouldn't work anyway! user.last_login is null when the new user is created users_controller.php function login(){ $val = false; if(is_null($this->Auth->user('last_login'))){ $val = true;

Re: Submit several forms with a button

2009-02-27 Thread Stinkbug
So let's think about this. Is your client just worried about how the form looks (3 buttons and 1 submit all button)? Technically, if there is no reason to have 3 separate forms, don't create 3 separate forms, unless the client requirement is calling the programming shots too. It's possible you c

Re: Very slow response times with CakePHP

2009-02-27 Thread Abhimanyu Grover
I added a small hacky code in my bootstrap.php: require_once(CORE_PATH . 'cake' . DS .'dispatcher.php'); require_once(LIBS .'router.php'); require_once(APP .'app_controller.php'); require_once(LIBS . DS . 'view' .DS.'view.php'); require_once(LIBS .'string.php'); This makes the homepage appear qu

Re: Very slow response times with CakePHP

2009-02-27 Thread Abhimanyu Grover
You must be on older version. This issue came after introduction of App::import() On Feb 27, 1:58 pm, Kappa wrote: > Where are you actually changing that? > Because my bootstrap.php (the one in /cake/bootstrap.php ) > have this: > require CAKE . 'dispatcher.php'; > > no App::import there > > On

Check for empty fields and redirect

2009-02-27 Thread ross.hagg...@googlemail.com
Hi I have users and profiles tables and when a new member registers the profile table gets partially populated i.e. firstname, surname, email address. After account activation the member logs in for the first time. I want to redirect them to the profile home (edit action) to complete the form.

Re: Adding multiple tags at the same time

2009-02-27 Thread Xoubaman
That is how it looks like, I paste a previous debug instead the proper one (sorry :P). Disabling the redirect lines the debugger shows this queries: INSERT INTO `robots` (`name`, `description`, `content`, `is_public`, `created`) VALUES ('as', 'asdasda', 'sfasfasf', 1, '2009-02-27 11:16:31') SEL

Re: Model localisation question.

2009-02-27 Thread Braindead
http://book.cakephp.org/view/198/options-error This should answer your question. :-) --~--~-~--~~~---~--~~ 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

Saving extra fields in HABTM changed in RC4/1.2/1.2.1 ?

2009-02-27 Thread Jne
Hi, I have a slight problem on saving HABTM data with extra fields. I used to insert data this way (Users HABTM Companies with extra fields like description, start_date, end_date, ... This is working OK with RC3 with a $this->User->save($this->data); $this->data is : Array ( [User] => Array

Re: deployment options

2009-02-27 Thread fred
Hi, I am sorry that you could not use Fredistrano ( http://code.google.com/p/fredistrano/ ) in your environment. We would be glad to help you configuring Fredistrano. Feel free to leave us a message on the dedicated google group http://groups.google.com/group/fredistrano-discuss . Despite smal

Shell: problems with Models which have associations

2009-02-27 Thread Romiz
Hello all! Has faced very strange problem. At creation own Shell, which should be started on cron, if the connected model has association with another the script takes off with the following error: Warning: Illegal offset type in //cake/libs/model/ datasources/dbo_source.php on line 332 Notice:

Re: Upgraded cake to 1.2.1.8004 and getting "Undefined offset" error in configure.php in every action

2009-02-27 Thread PunaniskaEarl
Anybody solved this? On 3 helmi, 18:54, ieatfood wrote: > Dr. Lecter, > > If you're referring to /app/tmp/cache then those are empty. > > Any other ideas? > > -Kuba > > On Feb 3, 7:02 am, "dr. Hannibal Lecter" wrote: > > > Just a dumb guess, but did you clear your app cache? > > > On Feb 3, 1:1

Re: Creating a liste a years

2009-02-27 Thread Toutankharton
thanks, it's working now ! However, when i submit it, cake creates this array : [class_year] => Array ( [year] => 1997 ) How can I have simply [class_year] => 1997 On Feb 26, 6:30 pm, mscdex wrote: > If you're just intereste

Model localisation question.

2009-02-27 Thread Tóth Imre
At the modell i have placed some mesagges in the case of wrong input datas, ut I cannut reach the actula localisation propery-s from the model. Any suggestion? tnx -- Best Regards Tóth Imre --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: RPXnow OpenID

2009-02-27 Thread Daniel Hofstetter
Hi, > CakeBaker: any chance you've got plans to update your Component? No, there are no plans to integrate support for RPX into the OpenID component, because support for a proprietary API doesn't fit to the current functionality of the OpenID component. I think it is better to put the RPX functi

Re: hasAndBelongsToMany (HABTM) and Pagination

2009-02-27 Thread Gianluca Gentile
Not work... Warning (512): SQL Error: 1054: Unknown column 'Site.category_id' in 'where clause' [CORE/cake/libs/model/datasources/dbo_source.php, line 514] Query: SELECT COUNT(*) AS `count` FROM `tags` AS `Tag` WHERE ((`Site`.`category_id` = 2) AND (`Tag`.`id` = 2)) Warning (512): SQL Error: 10

Re: Very slow response times with CakePHP

2009-02-27 Thread Kappa
Where are you actually changing that? Because my bootstrap.php (the one in /cake/bootstrap.php ) have this: require CAKE . 'dispatcher.php'; no App::import there On Feb 9, 4:19 pm, Emanuel Nedelcu wrote: > I've reduce the request time of a page by changing bootstrap.php file > like this: >  //

Re: Subsequent pages not working in Ubuntu.

2009-02-27 Thread Dr. Loboto
If you see Apache not found error probably you just not have mod_rewrite installed/enabled. There is no any special instruction. You should have Apache installed and mod_rewrite enabled. On Feb 26, 3:44 pm, lakers fan wrote: > I have cleaned up tmp folder and I have debug level set to 2.  There