On 11/5/07, Claudia <[EMAIL PROTECTED]> wrote:
> b) The query is really inefficient: Example: If the first query
> returns 10 results we need 21 queries for in total (the join query and
> then 10 queries each for model2 and model3). We could get the same
> result by having only one query which use
Sorry Extjs 1.1, do I use
regards
On nov. 5, 20:33, carstep <[EMAIL PROTECTED]> wrote:
> Hi, yes I do, I use Extjx 1.1
>
> Bye
> Alex
>
> On Nov 5, 7:33 pm, "Pablo Viojo" <[EMAIL PROTECTED]> wrote:
>
> > Are you using an ajax library? which?
>
> > Regards,
>
> > --
> > Pablo Viojo
> > [EMAIL PROT
Grant Cox wrote:
> Except that your original post suggested that you wanted to use the
> "User.id" as a condition in your WHERE clause, for a join between
> Users and Documents. Which is simply not possible when you have two
> databases with different permissions, regardless of the framework (o
As for first part of question, look at very nice behavior
http://www.thinkingphp.org/2007/06/14/containable-20-beta/ . A
solution for pagination in the comments. ;-)
But as for the second part, I don't know any solution to reduce a
number of queries :-(
Very dirty hack to reduce amount of querie
Except that your original post suggested that you wanted to use the
"User.id" as a condition in your WHERE clause, for a join between
Users and Documents. Which is simply not possible when you have two
databases with different permissions, regardless of the framework (or
lack thereof) - it just i
I was not specifying the correct session_name!
D'oh - it really was a beginner question.
Thanks,
Bob
--~--~-~--~~~---~--~~
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
Hi all!
I'm creating a form with data from two different models. (Team and
Coach).
The save is working fine, except for displaying error data for the
Player model.
Here goes my code:
## Controller
function add() {
if (empty($this->data)) {
$this->render
Check out dauth but you will want to view the cached google infomation
first the page was moved..
http://64.233.167.104/search?q=cache:nO61TuOudjAJ:bakery.cakephp.org/articles/view/introduction-to-dauth-v0-3+dauth+cakephp&hl=en&ct=clnk&cd=1&gl=us&client=firefox-a
http://www.ad7six.com/Demos
htt
I have my cakePHP application running it can access the database and
everything.
I want a simple non-table based login. So I have a simple non-cake
form to accept a username/password. After I check the u/p for
validity, I want to add it to the $_SESSION. However, when I do a
var_dump($_SESSION) o
Hi, yes I do, I use Extjx 1.1
Bye
Alex
On Nov 5, 7:33 pm, "Pablo Viojo" <[EMAIL PROTECTED]> wrote:
> Are you using an ajax library? which?
>
> Regards,
>
> --
> Pablo Viojo
> [EMAIL PROTECTED]://pviojo.net
>
> On 11/5/07, carstep <[EMAIL PROTECTED]> wrote:
>
>
>
> > FYI: I go further and realize
Are you using an ajax library? which?
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 11/5/07, carstep <[EMAIL PROTECTED]> wrote:
>
>
> FYI: I go further and realized that this happens only in FF 2.0.0.9,
> but in IE6 it works perfectly!
>
> Bye Alex
>
> On nov. 5, 16:34, carste
Thanks a bunch Grigri, I guess dynamic binding was the clue I needed.
The cookie methaphore I used was of course meant for the sake of
simplicity, I can see you don't see more sense in using hasMany
relations, but in my real world situation I do need HABTM relations,
since it's a pretty complex st
FYI: I go further and realized that this happens only in FF 2.0.0.9,
but in IE6 it works perfectly!
Bye Alex
On nov. 5, 16:34, carstep <[EMAIL PROTECTED]> wrote:
> Menawhile I've find out that I can give header information in the view
> section. But the problem still exists, but a new informatio
You have a typo in your php code, projrct.basic should be
project.basic, maybe that's the problem.
On 5 Nov., 08:51, Raul <[EMAIL PROTECTED]> wrote:
> Javascript error..
>
> I have included my js files that resides in webroot/js folder in the
> default layout (default.thtml) as
>
> link('proj
Menawhile I've find out that I can give header information in the view
section. But the problem still exists, but a new information I've got
is that the user uses only http 1.0 communications. But now I really
don't have any idea what has been going wrong?!!!
By Alex
On nov. 5, 14:52, carstep <[
Hi there
I have three models that are chained with belongsTo in one direction
and hasMany in the other direction:
Model1 belongsTo Model2 belongsTo Model3
and
Model3 hasMany Model2 hasMany Model1
Now I need to query model1 and also get the related data from model2
and model3 which can be easily
I have modeA HABTM modelB
On Nov 5, 2:11 pm, francky06l <[EMAIL PROTECTED]> wrote:
> Do you have modelB belongsTo ModelA in your relations ?
> cheers
> Franck
>
> On Nov 5, 12:03 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > well I thought the model instance was already loaded but I
I'd love to see an example of this also. I've been combing the web
trying to find a good example.
--~--~-~--~~~---~--~~
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@goo
Mambo?
On 05/11/2007, Pisinho <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
> recently i find a CRM o CMS make with cakephp, is not 'new Drupal' , but i
> don't save a link.
>
>
>
> Can I help me ? Do you have a link ?
>
>
>
> Thanks in advance.
> >
>
--~--~-~--~~~---~-
Thanks a ton John. I guess I missed this piece of the manual.
The next thing that I am trying to figure out I think is called
routing. I need to know how to get images in views to have the
correct paths.
--~--~-~--~~~---~--~~
You received this message because y
Hi,
I'm also running SimpleXML. It looked easier than the Cake XML Class.
As Langdon Stevenson said, try it, if it fits your need, use it ;)
Greetings
On 2 Nov., 21:02, moesian <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to parse a few xml feeds and stick their contents into a
> database. Wh
Hi All,
I've just set up our CP application to a Linux server and it seems
that several XMLHttpRequest won't fire correctly. I get in the subject
meant Errors, and I don't know why.
When I get the site not using an XMLHttpRequest it fires as expected,
but with XMLHttpRequest is fails, I get only
Has anyone else run into the same problem?
On Nov 4, 9:24 pm, seacloud9 <[EMAIL PROTECTED]> wrote:
> I am having issues with my simplepie view. I can get a feed but I can
> not display the feed.
>
> I am trying to follow this
> example:http://cakeforge.org/snippet/download.php?type=snippet&id=3
I am trying to select the checkboxes which value is directly goes to
another table with id of checkbox.
I search some results which has checkbox on right side and which
result i like that i want to save in my table. Plz help me.
--~--~-~--~~~---~--~~
You receive
Ah, ok thanks. I'll talk with my host!
On 5 Nov, 11:39, AD7six <[EMAIL PROTECTED]> wrote:
> On Nov 5, 8:23 am, Andreas <[EMAIL PROTECTED]> wrote:
>
> > Hmm, yea, I'll try that. But shouldn't cakephp work even if the zend
> > optimizer is enabled?
>
> Not if the zend optimizer has a bug in it.
>
>
On 11/5/07, julian <[EMAIL PROTECTED]> wrote:
>
> Is there a component repository for cake? One where we can get
> standard bits of functionality, like menus, password changes, what
> ever ?
Well, the Bakery (http://bakery.cakephp.org) contains lots of code
examples so you might want to start t
Do you have modelB belongsTo ModelA in your relations ?
cheers
Franck
On Nov 5, 12:03 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> well I thought the model instance was already loaded but I can't
> explain why the behaviour is not the same if I access the model A
> instance.
>
> I mean :
Hey MaxDao,
what PHP version are you on?
-- Felix
--
Blogger: http://www.thinkingphp.org/
Entrepreneur: http://www.posttask.com/ /-- currently in private beta,
ask me for invite / password/
Freelancer: http://www.fg-webdesign.de/
AIM:theundefined87
Skype: TimeFor23
A correction to my mistype:
$cleaner -> clean($this->data,array('connection' =>
'default','odd_spaces' => true,'encode' => true,'escape' =>
true,'backslash' => true));
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
A while back I asked for some help on the options for the new
Sanitize. I got some great help from Joachim stating that these were
the options.
00190 'connection' => 'default',
00191 'odd_spaces' => true,
00192 'encode' => true,
00193 'dollar' => t
Is there a component repository for cake? One where we can get
standard bits of functionality, like menus, password changes, what
ever ?
Julian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
T
Hello,
In my installation of cake I have created model class. And access page
cake cases
"[Mon Nov 05 14:09:10 2007] [notice] child pid 10406 exit signal
Segmentation fault (11)"
If i put $var useTable = false; to my model class it works well.
Can anyone help me debugging this issue?
I have t
Grant Cox wrote:
> 1. It is just not possible to do this, unless the one mysql
> connection has permission to access both databases (ie same database
> server, same user/pass).
unfortunately in this case they are seperate databases with seperate
permissions, although they are within the same
Hi,
recently i find a CRM o CMS make with cakephp, is not 'new Drupal' , but i
don't save a link.
Can I help me ? Do you have a link ?
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
Joachim thanks man. That helps a ton. Take care.
Daniel
On Oct 25, 2:08 pm, "J. Eckert" <[EMAIL PROTECTED]> wrote:
> At the momentary state of documentation you have to go through the
> source at some points to find your answers (especially on the option
> arrays).
>
> But in general the
well I thought the model instance was already loaded but I can't
explain why the behaviour is not the same if I access the model A
instance.
I mean :
in my action A : there seems to be a instance of model A
in my action B (called in action A) : a different instance of model A
that is what I ded
On Nov 5, 8:23 am, Andreas <[EMAIL PROTECTED]> wrote:
> Hmm, yea, I'll try that. But shouldn't cakephp work even if the zend
> optimizer is enabled?
Not if the zend optimizer has a bug in it.
http://groups.google.com/group/cake-php/search?group=cake-php&q=+internalerror&qt_g=Search+this+group
If you however want to switch layouts with a parameter you could do it
like this
class PagesController extends AppController
{
function info($layout = null)
{
switch($layout)
{
case 'spring' :
I solve my problem with $_SESSIONS in Opera by adding session_start()
of begin of index.php file...
Cache is present only in FF 2.0.8 - Opera don't cache anything.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ca
The code can be found here:
http://cakegchk.googlecode.com/svn/trunk/google_checkout.php
On Nov 5, 3:18 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> http://xerophyte.net looks good.
> Thanks friend! you are a lifesaver.
>
> cakegchk did not provide any downloads, probably the code needs
Hmm, yea, I'll try that. But shouldn't cakephp work even if the zend
optimizer is enabled?
On Nov 5, 12:16 am, francky06l <[EMAIL PROTECTED]> wrote:
> Ask your provider, maybe it's possible ..I had similar on share
> hosting and I did ask them proposing a "special CGI" and it works
>
> On Nov 4,
On 4 Lis, 19:59, "Pablo Viojo" <[EMAIL PROTECTED]> wrote:
> I think is a behavior related with your browser cache. Try deleting it
> before going back to the list
>
> --
> Pablo Viojo
> [EMAIL PROTECTED]://pviojo.net
Thanks for response. I look at opera and FF and I get something:
FF - has cac
42 matches
Mail list logo