What have you tried and where have you got stuck?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake
> If I change the URL from the addressbar and directly land to the page
> information that are sending to the header element through the session are
> not updating
I'm confused what you mean by the above. Are you caching data and
having problems or is this a user updating their profile and their
Whenever it comes to wanting to order data by a count value or in your
case search for things without a count value I always think it is best
to store that value in the table and use counterCache.
And thanks to the below you can also counter cache HABTM
relationships:
http://bakery.cakephp.org/art
just wondering, I'm still on RC4 and working on switching over now.
On Tue, May 25, 2010 at 12:50 AM, Jeremy Burns wrote:
> Yes.
>
>
> Jeremy Burns
> jeremybu...@me.com
>
>
> On 25 May 2010, at 05:49, Ed Propsner wrote:
>
> @Jeremy: Are you on 1.3 stable ?
>
>
> On Tue, May 25, 2010 at 12:40 A
Yes.
Jeremy Burns
jeremybu...@me.com
On 25 May 2010, at 05:49, Ed Propsner wrote:
> @Jeremy: Are you on 1.3 stable ?
>
>
> On Tue, May 25, 2010 at 12:40 AM, Jeremy Burns wrote:
> Interesting Ed - I find the display of error messages a bit hap-hazard too
> and thought it was just me. I can'
@Jeremy: Are you on 1.3 stable ?
On Tue, May 25, 2010 at 12:40 AM, Jeremy Burns wrote:
> Interesting Ed - I find the display of error messages a bit hap-hazard too
> and thought it was just me. I can't add anything to this post yet, but I am
> watching with interest.
>
> Jeremy Burns
> jeremybu
Interesting Ed - I find the display of error messages a bit hap-hazard too and
thought it was just me. I can't add anything to this post yet, but I am
watching with interest.
Jeremy Burns
jeremybu...@me.com
On 25 May 2010, at 04:18, Ed Propsner wrote:
> I might be going out on a limb with thi
SELECT po.*, tg.* FROM `posts` po left join`tags_posts` tg on po.id =
tg.post_id where tg.tag_id is null;
Make a view(db view not MVC) out of it and call it from cake
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received th
Hi mates,
I have an problem with i18n I have an plugins called project inside
has locale folder with eng and spa languages in my user view I write
the following
input('username', array('label' =>
__d('project','Username',true))); ?>
in my before filter from ProjectAppController:
$locale="es"
I might be going out on a limb with this one but ...
I recently started to experience the problem where my validation errors
stopped displaying.
I *may* know the cause but I haven't tested it out yet.
When the form was validated $this->validationErrors array was loaded (with
all appropriate error
I alredy asked it here.
Never find an answer.
Im doing same way you do. 2 querys.
Not even with pure sql i count do it in 1 query...
still wonder if its some way to do it in a cake way.
--
Renato de Freitas Freire
ren...@morfer.org
On Mon, May 24, 2010 at 11:55 AM, designv...@gmail.com wrote:
I tried that and have the same result. Do I need to unbind a relationship
or something?
On Mon, May 24, 2010 at 2:06 PM, Filipe Teles Rodrigues <
filipe.t2...@gmail.com> wrote:
> I use $this->User->save($this->data) instead of saveField.
>
> 2010/5/24 Jon Chin
>
>> I'm using Auth and db ACL, bu
Just for the record I set up a test case in a different
controller/action/view and it didn't work there either, It does the same
thing.
I've tried a lot of different things to no avail I'm fresh out of
ideas.
On Mon, May 24, 2010 at 2:28 PM, Ed Propsner wrote:
> I'm not quite sure how this
I use $this->User->save($this->data) instead of saveField.
2010/5/24 Jon Chin
> I'm using Auth and db ACL, but I have an action that screws up my ACL
> records every time. I have ACL set up just like the Book instructs. I'm
> building a "change password" page where I want to just update the pa
Any body please?
I turn of the cache as well but still needs to reload the page to see the
correct data!!!
sherzo wrote:
>
> Hi All
>
> I have a strange problem with refreshing the sessions inside my header
> which is an element loaded in my page!
>
> If I change the URL from the addressb
I'm not quite sure how this problem came about (that seems to be the common
theme these days).
I use $ajax->observeField to update an element in one of my forms.
The form is was one of my originals and was working perfectly when i called
it "completed."
I came back to it to give everything a dry
I'm using Auth and db ACL, but I have an action that screws up my ACL
records every time. I have ACL set up just like the Book instructs. I'm
building a "change password" page where I want to just update the password.
I run the following commands:
$this->User->id = $this->Session->read('Auth.Us
Hi All,
I'm currently finding all Posts without Tags by querying the join
table and getting the unique Post id's then using them in a second
query on the Posts table to find all Posts with an id NOT in the first
array.
What I was wondering is if there was a neater/caker way of doing this?
d.
Ch
I am new to cakephp and the mvc architecture,i want to create a
simple reporting form which allows me to query a table of users to
know how many users were created at a specific time frame
sample table below.
CREATE TABLE IF NOT EXISTS `authake_users` (
`id` int(10) unsigned NOT NULL auto_incr
Hello pals,
I can't really figure out one thing about Routes..
My url is something like localhost/acme/mycontroller/myaction.. my question
is how can I remap the previous url in something like
localhost/mycontroller/myaction using route?
I ve added the following line in routes.php
Router::connec
I like these ideas, but the solution should be simpler than this. If I had
written:
}else{ //line 1021
$options['order'][$field] = $value;
}
the ordering in pagination should work correctly. The only objective of that
code in the other email is to avoid sql injections, because $value will
I am able to log in.
the problem is solved by changing following setting in core.php
Configure::write('Session.checkAgent', false);
thanks for your response.
On May 24, 4:00 pm, John Andersen wrote:
> Can you log in?
> Enjoy,
> John
>
> On May 24, 1:49 pm, Hussain wrote:
>
>
>
>
>
> > I am d
Can you log in?
Enjoy,
John
On May 24, 1:49 pm, Hussain wrote:
> I am developing application cakephp 1.2.7. For that there are
> different user level.
> for different users I have added code in users controller
> $users = $this->Session->read('Auth.User');
> //print_r($users);
> $user_type =
I am developing application cakephp 1.2.7. For that there are
different user level.
for different users I have added code in users controller
$users = $this->Session->read('Auth.User');
//print_r($users);
$user_type = $users['group_id'];
$group =$user_type;
Hi,
I'm using this fileupload component (http://bakery.cakephp.org/
articles/view/file-upload-component-w-automagic-model-optional) on my
site to manage my PDF files. I can upload and remove PDF files.
But now I'm wondering how I could replace an already uploaded PDF with
a newer version.
What I
I commented out
$this->Auth->authorize = 'controller';
in the app_controller.php, and it suddenly works? Why is this, when i
have $this->Auth->allow('*'); ?
i.s.
On Mon, May 24, 2010 at 3:29 PM, Iqbal Santyaswardan wrote:
> I set the debug to 2, and removed the ajax stuff (really not that many)
Try the following:
$states = $this->Location->find('list', array(
'fields' =>array('Location.state', 'Location.state'),
'group' => array('Location.state')
));
Paul
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received t
I had weird problems with ajax calls happening twice (when deleting a
record in a modalbox). I'm pretty certain it came down to using
FireBug for me which sometimes, but not all the time, reloads the
request to get some extra information.
Paul.
Check out the new CakePHP Questions site http://cak
I set the debug to 2, and removed the ajax stuff (really not that many).
It gives "Failed to load source for: http://localhost/myapp/activities";
i.s.
On Mon, May 24, 2010 at 3:16 PM, Jeremy Burns wrote:
> Do you have debug set to 2? If it's at 0 you often won't see an error, just a
> blank pag
Do you have debug set to 2? If it's at 0 you often won't see an error, just a
blank page.
Jeremy Burns
jeremybu...@me.com
On 24 May 2010, at 09:12, Iqbal Santyaswardan wrote:
> Hi there,
>
> First of all, sorry about the subject line, I couldn't think of one
> more appropriate.
>
> My situat
The performance issue regarding the data volume should be solved within the
database.
For example use partitioning to speed your queries even if you have table
with 1Milion records.
Although I prefer separated database for each client there is a big debate
about it in the SaaS community.
Branding
Hi there,
First of all, sorry about the subject line, I couldn't think of one
more appropriate.
My situation is this: I have an app using ajax running with no
(visible) errors that I wanted to add an activity record to it (for
example if a user signs up). So I baked a model:
class Activity exte
Hi Heldl Grab,
Acually i want to use remote database access by this
configuration...how i can configure?My remote pc id such : http://192.168.1.12/
MY Localhost config such:
class DATABASE_CONFIG {
var $default = array(
'driver' => 'mysql',
'persistent' =>
Hi Arif,
I may not have understood. Did you try to enter the "other pc" as host
in the config file?
All the best,
Heidi.
On Mon, May 24, 2010 at 9:13 AM, arif hossen wrote:
> Dear All,
>
> I need cakephp database connection from another PC , Now currently i use
> lampp, I need database connecti
Hi there,
that's for the cakephp professionals among you, which hopefully you all are. ;-)
I have three tables:
agents (keeps information of the call-center agents using the application)
branches (keeps information on the branches the agent works for, which
may be several or just one)
agents_bra
Hi there,
has anyone experience with writing an Amazon SimpleDB dbo driver for
cakephp? Seems a bit tricky, since there are no JOINs. However, one
could do several queries and paste them together in one array, I
suppose. Would this work with cakephp, or does it break some concept
of cakephp I may
Do you have the .htaccess files in your system and is mod_rewrite
turned on?
Enjoy,
John
On May 24, 4:57 am, Davor Ilic wrote:
> Hi all,
>
> can anybody help me out of this issue my link loosk like this:
>
>
> $ui_Url): ?>
>
>
> link($naviName,
> array('controller'=>'clients','action'=>
Hi Zaky,
I'm sorry, I'm a bit lazy of typing, so please allow me to shorten the
longer e-mail I already wrote to the list about the nature of my
problem (see below, the e-mail you quoted). Essentially, it is a
mixture of legal issues, contract issues and a bit personal concern
about the DB perform
Dear All,
I need cakephp database connection from another PC , Now currently i use
lampp, I need database connection from another pc.
Pls help me. How i can connect database from another pc in my lampp server.
--
Regards,
Mohammad Arif Hossen
Software Enginner at
Epsilon Consulting and Developme
39 matches
Mail list logo