Re: .htaccess - Can't access subdirectory

2008-11-14 Thread Xavier Mathews

Ok Now In That Dir There Should Be Root 1 or 2 Right?

On 11/14/2008, teknoid <[EMAIL PROTECTED]> wrote:
>
> dir as in directory... wherever the webroot happens to be
>
> On Nov 14, 6:43 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>> dir as in directory root?
>>
>> On 11/14/2008, teknoid <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>>
>> > place your forum in the webroot dir of your cakephp install.
>>
>> > On Nov 14, 10:46 am, I Wayan Saryada <[EMAIL PROTECTED]> wrote:
>> >> Hello,
>>
>> >> I am currently installing CakePHP on the root of my web hosting.
>> >> CakePHP run well. On this domain I am also installing a phpBB forum in
>> >> the domain.com/forum. But when I try to access the forum the request
>> >> seems to be intercepted by CakePHP. How should I configure it so I can
>> >> access the forum correctly.
>>
>> >> Thanks in advance for the help.
>>
>> >> --
>> >> Regards,
>> >> I Wayan Saryadahttp://www.kodejava.org
>>
>> --
>> Xavier A. Mathews
>> Student/Developer/Web-Master
>> GG Client Based Tech Support Specialist
>> Hazel Crest Illinois
>> [EMAIL PROTECTED]@[EMAIL PROTECTED]
>> "Fear of a name, only increases fear of the thing itself."
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: .htaccess - Can't access subdirectory

2008-11-14 Thread Xavier Mathews

dir as in directory root?

On 11/14/2008, teknoid <[EMAIL PROTECTED]> wrote:
>
> place your forum in the webroot dir of your cakephp install.
>
> On Nov 14, 10:46 am, I Wayan Saryada <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I am currently installing CakePHP on the root of my web hosting.
>> CakePHP run well. On this domain I am also installing a phpBB forum in
>> the domain.com/forum. But when I try to access the forum the request
>> seems to be intercepted by CakePHP. How should I configure it so I can
>> access the forum correctly.
>>
>> Thanks in advance for the help.
>>
>> --
>> Regards,
>> I Wayan Saryadahttp://www.kodejava.org
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: .htaccess - Can't access subdirectory

2008-11-14 Thread Xavier Mathews

You said that you were installing it on the root. Is that root one or
two? Is this free web hosting? Did you get an error msg? I dont think
that this is a configure problem I think that you need either to
be varified by the web host and cake. And Also... you may need Auth.

On 11/14/2008, I Wayan Saryada <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am currently installing CakePHP on the root of my web hosting.
> CakePHP run well. On this domain I am also installing a phpBB forum in
> the domain.com/forum. But when I try to access the forum the request
> seems to be intercepted by CakePHP. How should I configure it so I can
> access the forum correctly.
>
> Thanks in advance for the help.
>
> --
> Regards,
> I Wayan Saryada
> http://www.kodejava.org
>
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: possible bug in router.php

2008-11-14 Thread Xavier Mathews

Thanks For The Info!

I Would Try Debuging! But Let Me Read Into This More.

On 11/14/2008, Petr 'PePa' Pavel <[EMAIL PROTECTED]> wrote:
>
> Hello everyone,
> I'd like to share with you what I have discovered.
>
> Here's a procedure that triggers a notice level error:
> 1) When accessing url
>   http://teachtheworldguitar.pp/orderItems/delete/30
>   OrderItemsController->isAuthorized() returns false so I'm logged off
> and redirected to a login form. That was planned, so far so good.
>
> 2) The url I came from is saved and used after successful login for
> redirection. This is in my MembersController->login():
>   $authRedirect = $this->Auth->redirect();
>   if (!is_array($authRedirect)) {
> $authRedirect = Router::parse($authRedirect);
>   }
> ... some code here ...
>   $this->redirect($authRedirect);
>
>
>
> 3) Now I'm getting to the point. Just before the redirect call
> $authRedirect looks like this:
> array(
>   'controller' => 'order_items',
>   'plugin' => null,
>   'pass' => array(0 => 30),
>   'action' => 'delete')
> )
>
> Looks ok but then I get
> Notice (8): Array to string conversion [CORE\cake\libs\router.php,
> line 949]
>
> So either Router::parse() returns malformed result or Router::url()
> doesn't understand something that is correctly formed. The notice
> itself is in Router::mapRouteElements().
>
>
> Before sending this I checked that I have the same version of
> router.php as the latest svn source:
> https://trac.cakephp.org/browser/trunk/cake/1.2.x.x/cake/libs/router.php
>
> So what do you think? Is it me or is there really a bug. If it is a
> bug, what should I do?
>
> Petr
>
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How change url from paginator

2008-11-13 Thread Xavier Mathews
Camel Case Guy?

On 11/13/2008, David C. Zentgraf <[EMAIL PROTECTED]> wrote:
>
> Ignore the Camel Case Guy...
>
> What you're looking for was discussed here recently:
> http://groups.google.com/group/cake-php/browse_thread/thread/3f6a92d35769f7c3/
>
> On 14 Nov 2008, at 10:10, Xavier Mathews wrote:
>
>> Those Links Dont Work But The Did Come With An Erorr MSG That I Can
>> Run For You!
>>
>> On 11/13/2008, Petr Vytlačil <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi is any way how i can chage url for paging?
>>>
>>> Router:
>>> Router::connect('/:seourl/list/',array('controller' => 'entries',
>>> 'action' => 'categories'),array('pass' => array('seourl')));
>>>
>>> this generate:
>>> http://localhost/seourl-category/list
>>> Its ok, but url for paging are:
>>> http://localhost/entries/categories/seourl-category/page:2
>>>
>>> It isnt good I need:
>>> http://localhost/seourl-category/list/page:2
>>>
>>> or link without page:
>>> http://localhost/seourl-category/list/2
>>>
>>> Please can you help me how i will write router or setting paginator
>>> helper.
>>> THX
>>>>
>>>
>>
>>
>> --
>> Xavier A. Mathews
>> Student/Developer/Web-Master
>> GG Client Based Tech Support Specialist
>> Hazel Crest Illinois
>> [EMAIL PROTECTED]@hotmail.com
>> [EMAIL PROTECTED]
>> "Fear of a name, only increases fear of the thing itself."
>>
>> >
>
>
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How change url from paginator

2008-11-13 Thread Xavier Mathews
Those Links Dont Work But The Did Come With An Erorr MSG That I Can Run For You!

On 11/13/2008, Petr Vytlačil <[EMAIL PROTECTED]> wrote:
>
> Hi is any way how i can chage url for paging?
>
> Router:
>   Router::connect('/:seourl/list/',array('controller' => 'entries',
> 'action' => 'categories'),array('pass' => array('seourl')));
>
> this generate:
> http://localhost/seourl-category/list
> Its ok, but url for paging are:
> http://localhost/entries/categories/seourl-category/page:2
>
> It isnt good I need:
> http://localhost/seourl-category/list/page:2
>
> or link without page:
> http://localhost/seourl-category/list/2
>
> Please can you help me how i will write router or setting paginator
> helper.
> THX
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Firefox form rendering problem

2008-11-11 Thread Xavier Mathews
This Is Why We Use Chrome!

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."









On Tue, Nov 11, 2008 at 12:32 PM, jm <[EMAIL PROTECTED]> wrote:

>
> Here is the URL for all of the filter rules:
> http://adblockplus.mozdev.org/easylist/easylist-element_rick752.txt
>
> On Nov 11, 12:30 pm, jm <[EMAIL PROTECTED]> wrote:
> > I have found the problem.  You were right with a Firefox extension.
> >
> > I have Adblock Plus installed with the following filter lists:
> >  - Easy List
> >  - Easy Element
> >  - Easy Privacy
> >
> > http://easylist.adblockplus.org/
> >
> > I disabled all lists and am able to see the form.  After enabling only
> > one list at a time, I found that the Easy Element filter list is
> > causing the form to not display.
> > I wonder why this would be flagged as a 'advertisement'?  I can't be
> > the only person to have this problem as a developer or end user.
> >
> > Anyone want to help me try and figure out what and why this is being
> > blocked by Easy Element?
> >
> > On Nov 11, 9:35 am, TommyO <[EMAIL PROTECTED]> wrote:
> >
> > > Likely the problem is that the page is not valid html, and for reasons
> > > other than the form helper.  Like output before the layout, even a
> > > space, which can be whitespace outside of your  > > code, or BOM.  Is debug on? are you getting any errors reported at
> > > all?
> >
> > > Another problem may be a misbehaving FF plugin.  I've had this issue
> > > with FirePHP on some sites.
> >
> > > Try calling the page from the w3c xhtml validator and see if it
> > > complains at all.
> >
> > > On Nov 11, 9:31 am, jm <[EMAIL PROTECTED]> wrote:
> >
> > > > The label is not closed?  Where are you seeing this?
> >
> > > > 1 
> > > > 2   Title
> > > > 3> > > value="" id="ArticleTitle" />
> > > > 4 
> >
> > > > Line 1, DIV opened.
> > > > Line 2, LABEL opened and closed.
> > > > Line 3, INPUT opened and closed.
> > > > Line 4, DIV closed.
> >
> > > > Below is the full output again.  I have formatted the text to make it
> > > > a bit easier to read.
> >
> > > > 
> >
> > > >   
> > > > 
> > > >   
> >
> > > >   
> > > > Title
> > > >  > > > value="" id="ArticleTitle" />
> > > >   
> >
> > > >   
> > > > Body
> > > >  > > > id="ArticleBody" >
> > > >   
> >
> > > >   
> > > > 
> > > >   
> >
> > > > 
> >
> > > > If I view this HTML in Firefox, it renders just fine.
> >
> > > > On Nov 10, 5:58 pm, "Marcelo Andrade" <[EMAIL PROTECTED]> wrote:
> >
> > > > > On Mon, Nov 10, 2008 at 7:27 PM, jm <[EMAIL PROTECTED]> wrote:
> >
> > > > > > text">Title name="data[Article]
> > > > > > [title]" type="text" maxlength="255" value="" id="ArticleTitle"
> /> >
> > > > > The label tag it's not closed.
> >
> > > > > Best regards.
> >
> > > > > --
> > > > > MARCELO DE F. ANDRADE (aka "eleKtron")
> > > > > Belem, PA, Amazonia, Brazil
> > > > > Linux User #221105
> >
> > > > > [EMAIL PROTECTED] ~]# linkshttp://pa.slackwarebrasil.org/
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Integrating PHP and CakePHP

2008-11-11 Thread Xavier Mathews
I Thought There Was An Output Form That He Could Use And Then He Would
Already Be Set-Up!

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."









On Tue, Nov 11, 2008 at 11:50 AM, validkeys <[EMAIL PROTECTED]
> wrote:

>
> Tim, try this. Create your database and then run the bake script. It
> will create the forms for you. Then what you can do is see how it
> created your forms using your database fields and you will learn how
> to convert old php forms into cake forms.
>
> Having recently learned Cake, I definetly agree with teknoid. Fully
> embracing a framework vs. just using certain features is definetly the
> way to go. That's why I was saying do something along the lines of the
> blog tutorial. See what a model is, what a controller is and how those
> 2 work together with your views to create an MVC environment. You
> should learn (at a very basic level) how then to migrate your system
> (by migrate I mean completely redo) into cake.
>
> On Nov 11, 9:22 am, teknoid <[EMAIL PROTECTED]> wrote:
> > That's a wrong approach.
> >
> > You either use a framework and follow its methodology (which means you
> > have to rewrite what you had) or you just use good ol' PHP.
> > "Integrating" is not really going to work.
> >
> > On Nov 10, 10:28 pm, TimA1116 <[EMAIL PROTECTED]> wrote:
> >
> > > I would like to integrate a 6 page form created in PHP 5.2.5 into
> > > CakePHP.  I have looked at various posting here and I've tried to
> > > implement what was instructed.  However, I am at a loss as to how to
> > > proceed even though there must be away to accomplish what I'm trying
> > > to do.
> >
> > > I would very much appreciate a step by step (kindergarden level) how-
> > > to inegrate php code into cakephp framework.
> >
> > > I have a folder, named "app_form", which contains all my files.  My
> > > code will do all the work.  I just want CakePHP to render the output
> > > of my files.
> >
> > > 1.  Where do I put app_form?  If you suggest the "views" folder, which
> > > one as there seems to be a gazillion of them?
> > > 2.  Where do I create the controller for accessing my files and what
> > > do I put in the controller?  Should I create something else like an
> > > element?
> > > 3.  What should my .htaccess say with regards to my files in app_form
> > > and where should that .htaccess be located?
> > > 4.  What else am I missing?
> >
> > > Thanks in advance for your help!
> >
> > > Tim
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Integrating PHP and CakePHP

2008-11-11 Thread Xavier Mathews
Reading The Book Is The Wrong Approach? How Do You Figure?

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."









On Tue, Nov 11, 2008 at 11:22 AM, teknoid <[EMAIL PROTECTED]> wrote:

>
> That's a wrong approach.
>
> You either use a framework and follow its methodology (which means you
> have to rewrite what you had) or you just use good ol' PHP.
> "Integrating" is not really going to work.
>
> On Nov 10, 10:28 pm, TimA1116 <[EMAIL PROTECTED]> wrote:
> > I would like to integrate a 6 page form created in PHP 5.2.5 into
> > CakePHP.  I have looked at various posting here and I've tried to
> > implement what was instructed.  However, I am at a loss as to how to
> > proceed even though there must be away to accomplish what I'm trying
> > to do.
> >
> > I would very much appreciate a step by step (kindergarden level) how-
> > to inegrate php code into cakephp framework.
> >
> > I have a folder, named "app_form", which contains all my files.  My
> > code will do all the work.  I just want CakePHP to render the output
> > of my files.
> >
> > 1.  Where do I put app_form?  If you suggest the "views" folder, which
> > one as there seems to be a gazillion of them?
> > 2.  Where do I create the controller for accessing my files and what
> > do I put in the controller?  Should I create something else like an
> > element?
> > 3.  What should my .htaccess say with regards to my files in app_form
> > and where should that .htaccess be located?
> > 4.  What else am I missing?
> >
> > Thanks in advance for your help!
> >
> > Tim
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Integrating PHP and CakePHP

2008-11-11 Thread Xavier Mathews

That Will Take Him Forever!

On 11/11/2008, validkeys <[EMAIL PROTECTED]> wrote:
>
> I would recommend reading the book (book.cakephp.com) and then go
> through the blog tutorial. It sounds like you just need to understand
> how MVC is set up and they communicate with each other.
>
> On Nov 10, 7:28 pm, TimA1116 <[EMAIL PROTECTED]> wrote:
>> I would like to integrate a 6 page form created in PHP 5.2.5 into
>> CakePHP.  I have looked at various posting here and I've tried to
>> implement what was instructed.  However, I am at a loss as to how to
>> proceed even though there must be away to accomplish what I'm trying
>> to do.
>>
>> I would very much appreciate a step by step (kindergarden level) how-
>> to inegrate php code into cakephp framework.
>>
>> I have a folder, named "app_form", which contains all my files.  My
>> code will do all the work.  I just want CakePHP to render the output
>> of my files.
>>
>> 1.  Where do I put app_form?  If you suggest the "views" folder, which
>> one as there seems to be a gazillion of them?
>> 2.  Where do I create the controller for accessing my files and what
>> do I put in the controller?  Should I create something else like an
>> element?
>> 3.  What should my .htaccess say with regards to my files in app_form
>> and where should that .htaccess be located?
>> 4.  What else am I missing?
>>
>> Thanks in advance for your help!
>>
>> Tim
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Multiple Has Many, not returning with find('all')

2008-11-11 Thread Xavier Mathews

I Changed My Sig Hope Your Happy! : )

On 11/11/2008, validkeys <[EMAIL PROTECTED]> wrote:
>
> Did you try my advice of changing your belongsTo statement. I am
> guessing that it's working now because your bindModel statement is
> proper belongsTo syntax whereas in your model, I don't think you were
> using proper syntax to associate the model
>
> On Nov 11, 8:45 am, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
>> Xavier maybe you could explain what you mean, and where you mean it as
>> I am confused about your statement
>> However I did get it working but I had to bind them manually in the
>> controller :-/
>>
>> On Nov 10, 6:22 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>>
>> > To The Origanal.
>>
>> > On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>>
>> > > was that a reply to my response or the original. Im not sure that I
>> > > understood what you meant.
>>
>> > > On Nov 10, 6:09 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>> > >> add an extra (array) and why put class name the it thinks of it like
>> > >> this: $array => classname : that does not even look right.
>>
>> > >> On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>>
>> > >> > it might have something to do with your belongsTo in your Postback
>> > >> > model. Try var $belongsTo =
>> > >> > array('ListAffiliate'=>array('className'=>'ListAffiliate','foreignKey'=>'list_affiliate_id'))
>>
>> > >> > On Nov 10, 6:02 pm, francky06l <[EMAIL PROTECTED]> wrote:
>> > >> >> try recursive = 2  =>  find('all', array('recursive' => 2));
>>
>> > >> >> On Nov 10, 11:43 pm, thatsgreat2345 <[EMAIL PROTECTED]>
>> > >> >> wrote:
>>
>> > >> >> > I have my admin controller include ListAffiliate , which has a
>> > >> >> > hasMany
>> > >> >> > like this
>>
>> > >> >> > > > >> >> > class ListAffiliate extends AppModel {
>> > >> >> >   var $name = 'ListAffiliate';
>> > >> >> >   var $hasMany =
>> > >> >> > array('Postback'=>array('className'=>'Postback','foreignKey'=>'list_affiliate_id'),
>>
>> > >> >> > 'ListAffiliateIp'=>array('className'=>'ListAffiliateIp','foreignKey'=>'list_affiliate_id'));
>> > >> >> >  }
>>
>> > >> >> > ?>
>> > >> >> > Postback Model
>> > >> >> > > > >> >> > class Postback extends AppModel {
>> > >> >> >   var $name = 'Postback';
>> > >> >> >   var $belongsTo = 'ListAffiliate';
>> > >> >> >  }
>>
>> > >> >> > ?>
>>
>> > >> >> > ListaffiliateIP model
>>
>> > >> >> > > > >> >> > class ListAffiliateIp extends AppModel {
>> > >> >> >   var $name = 'ListAffiliateIp';
>> > >> >> >   var $belongsTo = 'ListAffiliate';
>> > >> >> >  }
>>
>> > >> >> > ?>
>> > >> >> > However, when I do a and pr or debug it , it only returns the
>> > >> >> > data in
>> > >> >> > the ListAffiliate table, not any of the data that is associated
>> > >> >> > with
>> > >> >> > the hasMany.
>> > >> >> > $this->ListAffiliate->recursive = 1;
>> > >> >> >
>> > >> >> > $this->set('postback',$this->ListAffiliate->find('all'));
>>
>> > >> --
>> > >> B= *•*Beautiful*•*
>> > >> E= *•*Elegant*•*
>> > >> Y= *•*Young*•*
>> > >> O= *•*Original*•*
>> > >> N= *•*Natural*•*
>> > >> C= *•*Clever*•*
>> > >> E= *•*Enthralling*•*
>> > >> (`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
>> > >> `•.¸(*)Beyoncè`s #1 Fan(*)
>> > >> (¸.•*(¸.•*´`*•.¸ )*•.¸)
>> > >> Xavier A. Mathews
>> > >> Student/Developer/Web-Master
>> > >> GG Client Based Tech Support Specialist
>> > >> Hazel Crest Illinois
>> > >> [EMAIL PROTECTED]@[EMAIL PROTECTED]
>> > >> "Fear of a name, only increases fear of the thing itself."
>>
>> > --
>> > B= *•*Beautiful*•*
>> > E= *•*Elegant*•*
>> > Y= *•*Young*•*
>> > O= *•*Original*•*
>> > N= *•*Natural*•*
>> > C= *•*Clever*•*
>> > E= *•*Enthralling*•*
>> > (`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
>> > `•.¸(*)Beyoncè`s #1 Fan(*)
>> > (¸.•*(¸.•*´`*•.¸ )*•.¸)
>> > Xavier A. Mathews
>> > Student/Developer/Web-Master
>> > GG Client Based Tech Support Specialist
>> > Hazel Crest Illinois
>> > [EMAIL PROTECTED]@[EMAIL PROTECTED]
>> > "Fear of a name, only increases fear of the thing itself."
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Firefox form rendering problem

2008-11-11 Thread Xavier Mathews

My Sig Is Six Lines It Was In Honnor Of Beyonce's Album Comming Out.

On 11/11/2008, Luenyar <[EMAIL PROTECTED]> wrote:
>
> @Xavier,
>
> Have you ever posted any reply with any substance, advice, or value?
> I am consistently seeing replies by you that are nothing more than a
> simple/obvious/repeated question/statement with a 16 line sig.  Sorry
> to be a jerk, just wish I could save my scroll wheel some wear and
> tear by not having to scroll over your useless interjections and long
> sig.
>
> On Nov 10, 7:03 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>> Whats the problem tho?
>>
>> On 11/10/2008, Marcelo Andrade <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> > On Mon, Nov 10, 2008 at 7:27 PM, jm <[EMAIL PROTECTED]> wrote:
>>
>> >> text">Title>
>> > The label tag it's not closed.
>>
>> > Best regards.
>>
>> > --
>> > MARCELO DE F. ANDRADE (aka "eleKtron")
>> > Belem, PA, Amazonia, Brazil
>> > Linux User #221105
>>
>> > [EMAIL PROTECTED] ~]# linkshttp://pa.slackwarebrasil.org/
>>
>> --
>> B= *•*Beautiful*•*
>> E= *•*Elegant*•*
>> Y= *•*Young*•*
>> O= *•*Original*•*
>> N= *•*Natural*•*
>> C= *•*Clever*•*
>> E= *•*Enthralling*•*
>> (`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
>> `•.¸(*)Beyoncè`s #1 Fan(*)
>> (¸.•*(¸.•*´`*•.¸ )*•.¸)
>> Xavier A. Mathews
>> Student/Developer/Web-Master
>> GG Client Based Tech Support Specialist
>> Hazel Crest Illinois
>> [EMAIL PROTECTED]@[EMAIL PROTECTED]
>> "Fear of a name, only increases fear of the thing itself."
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: A way to lost your session in Cake 1.2RC3 :-)

2008-11-10 Thread Xavier Mathews

This Is Not A Security Issue. Nor Is It A Php Issue. We Are Dealing
With Query And Connection Speed And Core With Ajax. Not Php!

On 11/10/2008, Frobozz <[EMAIL PROTECTED]> wrote:
>
> As mentioned below you have to decrease security level in core.php.
> Described behaviour is not the bug, it's a protection from hacks.
>
> On 11 нояб, 00:45, Serge Rodovnichenko <[EMAIL PROTECTED]> wrote:
>> It's simple:
>>
>> In your application, click on a link to one action, then click on a
>> link to the second action without waiting of results of first action.
>> Session data lost.
>>
>> A heavy-loaded server and complex database query, generated by first
>> action/Model or slow network connection may help you to do this :-)
>>
>> I think it's not a bug, but is there a hope for correcting the
>> situation?
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Help on routing CakePhp Plugin

2008-11-10 Thread Xavier Mathews

How do you know that the plugin is compatiable?

On 11/10/2008, jan <[EMAIL PROTECTED]> wrote:
>
> I had a calendar plugin, having a calendar as the plugin folder name.
> And have 2 controllers named Calendar(same as the plugin name) and and
> Event.
>
> So basically, we could set a route
> Router::connect('/events/:action/*', array('plugin'=>'calendar',
> 'controller'=>'events'));
> Router::connect('/calendar/:action/*', array('plugin'=>'calendar',
> 'controller'=>'calendar'));
>
> localhost/events seems to work fine, but
> localhost/calendar doesn't.
>
> any ideas whats wrong?.
>
>
>
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: how to get ajax update parameter from client?

2008-11-10 Thread Xavier Mathews

Ugh people and there arrays. Take the array out you are not saveing
anything. Try This: url' /

On 11/10/2008, nabi <[EMAIL PROTECTED]> wrote:
>
> good day,
>
> i have a problem using remoteFunction because in this code
>
> $ajax->remoteFunction(
>  array(
>'url' => '/
> digitaljoborders/proofing/' .
> $this-
>>data['Digitaljoborder']['id'] . '/' .
> ($this-
>>data['Proofing']['id'] - 1) . '/' .
> 0,
> 'update' =>
> $id['div'])
> );
>
> because what i want is the DOM id to be updated depends on what the
> client will choose. and also, i would like to update more than 1 DOM.
> is it possible? please teach me how.
>
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: A way to lost your session in Cake 1.2RC3 :-)

2008-11-10 Thread Xavier Mathews

Hold On I Thought You Gave That Advice To Another Client. Thats
Spaming... Anyways Kyle And I Have This One.

On 11/10/2008, Gwoo <[EMAIL PROTECTED]> wrote:
>
> You may want to try setting Security.level to medium in config/core.php
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: None of my internal paths seem to be working

2008-11-10 Thread Xavier Mathews

lol thats true to.

On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>
> There is nothing on TV :)
>
> On Nov 10, 6:47 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>> Dang Kyle you went all out.
>>
>> On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>>
>> > domain:  tigmedia.com
>> > created: 27-Feb-2003
>> > last-changed:01-Oct-2008
>> > registration-expiration: 27-Feb-2010
>>
>> > nserver: ns57.1and1.com 74.208.2.9
>> > nserver: ns58.1and1.com 74.208.3.8
>>
>> > status:  CLIENT-TRANSFER-PROHIBITED
>>
>> > registrant-firstname:Oneandone
>> > registrant-lastname: Private Registration
>> > registrant-organization: 1&1 Internet, Inc. -
>> >http://1and1.com/contact
>> > registrant-street1:  701 Lee Road, Suite 300
>> > registrant-street2:  ATTN: tigmedia.com
>> > registrant-pcode:19087
>> > registrant-state:PA
>> > registrant-city: Chesterbrook
>> > registrant-ccode:US
>> > registrant-phone:+1.8772064254
>> > registrant-email:[EMAIL PROTECTED]
>> > registration.com
>>
>> > admin-c-firstname:   Oneandone
>> > admin-c-lastname:Private Registration
>> > admin-c-organization:1&1 Internet, Inc. -
>> >http://1and1.com/contact
>> > admin-c-street1: 701 Lee Road, Suite 300
>> > admin-c-street2: ATTN: tigmedia.com
>> > admin-c-pcode:   19087
>> > admin-c-state:   PA
>> > admin-c-city:Chesterbrook
>> > admin-c-ccode:   US
>> > admin-c-phone:   +1.8772064254
>> > admin-c-email:   [EMAIL PROTECTED]
>> > registration.com
>>
>> > tech-c-firstname:Oneandone
>> > tech-c-lastname: Private Registration
>> > tech-c-organization: 1&1 Internet, Inc. -
>> >http://1and1.com/contact
>> > tech-c-street1:  701 Lee Road, Suite 300
>> > tech-c-street2:  ATTN: tigmedia.com
>> > tech-c-pcode:19087
>> > tech-c-state:PA
>> > tech-c-city: Chesterbrook
>> > tech-c-ccode:US
>> > tech-c-phone:+1.8772064254
>> > tech-c-email:[EMAIL PROTECTED]
>> > registration.com
>>
>> > bill-c-firstname:Oneandone
>> > bill-c-lastname: Private Registration
>> > bill-c-organization: 1&1 Internet, Inc. -
>> >http://1and1.com/contact
>> > bill-c-street1:  701 Lee Road, Suite 300
>> > bill-c-street2:  ATTN: tigmedia.com
>> > bill-c-pcode:19087
>> > bill-c-state:PA
>> > bill-c-city: Chesterbrook
>> > bill-c-ccode:US
>> > bill-c-phone:+1.8772064254
>> > bill-c-email:[EMAIL PROTECTED]
>> > registration.com
>>
>> > % Seehttp://registrar.1und1.infofor information about 1&1 Internet
>> > AG
>>
>> > On Nov 10, 6:27 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>> >> Or The Url is now for that site seeing as url do expire but they
>> >> change but when linked the dont change but do expire.
>>
>> >> On 11/10/2008, Niraj Shah <[EMAIL PROTECTED]> wrote:
>>
>> >> > Yeah, I'm not sure why it's doing the antivirus thing. If you type in
>> >> > the url you can see the site.
>>
>> >> > On Nov 10, 9:18 pm, validkeys <[EMAIL PROTECTED]>
>> >> > wrote:
>> >> >> when i went to your site, it took me to an antivirus site. Either
>> >> >> you've been hacked or I went to the wrong place.
>>
>> >> >> On Nov 10, 6:16 pm, Niraj Shah <[EMAIL PROTECTED]> wrote:
>>
>> >> >> > I launched my site,www.tlgmedia.com, a couple weeks ago and hadn't
>> >> >> >

Re: None of my internal paths seem to be working

2008-11-10 Thread Xavier Mathews

Dang Kyle you went all out.

On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>
> domain:  tigmedia.com
> created: 27-Feb-2003
> last-changed:01-Oct-2008
> registration-expiration: 27-Feb-2010
>
> nserver: ns57.1and1.com 74.208.2.9
> nserver: ns58.1and1.com 74.208.3.8
>
> status:  CLIENT-TRANSFER-PROHIBITED
>
> registrant-firstname:Oneandone
> registrant-lastname: Private Registration
> registrant-organization: 1&1 Internet, Inc. -
> http://1and1.com/contact
> registrant-street1:  701 Lee Road, Suite 300
> registrant-street2:  ATTN: tigmedia.com
> registrant-pcode:19087
> registrant-state:PA
> registrant-city: Chesterbrook
> registrant-ccode:US
> registrant-phone:+1.8772064254
> registrant-email:[EMAIL PROTECTED]
> registration.com
>
> admin-c-firstname:   Oneandone
> admin-c-lastname:Private Registration
> admin-c-organization:1&1 Internet, Inc. -
> http://1and1.com/contact
> admin-c-street1: 701 Lee Road, Suite 300
> admin-c-street2: ATTN: tigmedia.com
> admin-c-pcode:   19087
> admin-c-state:   PA
> admin-c-city:Chesterbrook
> admin-c-ccode:   US
> admin-c-phone:   +1.8772064254
> admin-c-email:   [EMAIL PROTECTED]
> registration.com
>
> tech-c-firstname:Oneandone
> tech-c-lastname: Private Registration
> tech-c-organization: 1&1 Internet, Inc. -
> http://1and1.com/contact
> tech-c-street1:  701 Lee Road, Suite 300
> tech-c-street2:  ATTN: tigmedia.com
> tech-c-pcode:19087
> tech-c-state:PA
> tech-c-city: Chesterbrook
> tech-c-ccode:US
> tech-c-phone:+1.8772064254
> tech-c-email:[EMAIL PROTECTED]
> registration.com
>
> bill-c-firstname:Oneandone
> bill-c-lastname: Private Registration
> bill-c-organization: 1&1 Internet, Inc. -
> http://1and1.com/contact
> bill-c-street1:  701 Lee Road, Suite 300
> bill-c-street2:  ATTN: tigmedia.com
> bill-c-pcode:19087
> bill-c-state:PA
> bill-c-city: Chesterbrook
> bill-c-ccode:US
> bill-c-phone:        +1.8772064254
> bill-c-email:[EMAIL PROTECTED]
> registration.com
>
> % See http://registrar.1und1.info for information about 1&1 Internet
> AG
>
>
> On Nov 10, 6:27 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>> Or The Url is now for that site seeing as url do expire but they
>> change but when linked the dont change but do expire.
>>
>> On 11/10/2008, Niraj Shah <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>>
>> > Yeah, I'm not sure why it's doing the antivirus thing. If you type in
>> > the url you can see the site.
>>
>> > On Nov 10, 9:18 pm, validkeys <[EMAIL PROTECTED]> wrote:
>> >> when i went to your site, it took me to an antivirus site. Either
>> >> you've been hacked or I went to the wrong place.
>>
>> >> On Nov 10, 6:16 pm, Niraj Shah <[EMAIL PROTECTED]> wrote:
>>
>> >> > I launched my site,www.tlgmedia.com, a couple weeks ago and hadn't
>> >> > encountered any problems. I checked it today to see that the CSS and
>> >> > images would not load. From the looks of things, outside of the
>> >> > default page none of the internal paths are working on the site. I
>> >> > haven't touched the site since it launched, so I'm not sure if this
>> >> > is
>> >> > a CakePHP or a server issue. If it is CakePHP, does anyone know what
>> >> > I
>> >> > can do to fix it?
>>
>> >> > Thanks!
>>
>> --
>> B= *•*Beautiful*•*
>> E= *•*Elegant*•*
>> Y= *•*Young*•*
>> O= *•*Original*•*
>> N= *•*Natural*•*
>> C= *•*Clever*•*
>> E= *•*Enthralling*•*
>> (`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
>> `•.¸(*)Beyoncè`s #1 Fan(*)
>> (¸.•*(¸.•*´`*•.¸ )*•.¸)
>> Xavier A. Mathews
>> Student/

Re: None of my internal paths seem to be working

2008-11-10 Thread Xavier Mathews

Or The Url is now for that site seeing as url do expire but they
change but when linked the dont change but do expire.

On 11/10/2008, Niraj Shah <[EMAIL PROTECTED]> wrote:
>
> Yeah, I'm not sure why it's doing the antivirus thing. If you type in
> the url you can see the site.
>
> On Nov 10, 9:18 pm, validkeys <[EMAIL PROTECTED]> wrote:
>> when i went to your site, it took me to an antivirus site. Either
>> you've been hacked or I went to the wrong place.
>>
>> On Nov 10, 6:16 pm, Niraj Shah <[EMAIL PROTECTED]> wrote:
>>
>> > I launched my site,www.tlgmedia.com, a couple weeks ago and hadn't
>> > encountered any problems. I checked it today to see that the CSS and
>> > images would not load. From the looks of things, outside of the
>> > default page none of the internal paths are working on the site. I
>> > haven't touched the site since it launched, so I'm not sure if this is
>> > a CakePHP or a server issue. If it is CakePHP, does anyone know what I
>> > can do to fix it?
>>
>> > Thanks!
> >
>


-- 
B= *•*Beautiful*•*
E= *•*Elegant*•*
Y= *•*Young*•*
O= *•*Original*•*
N= *•*Natural*•*
C= *•*Clever*•*
E= *•*Enthralling*•*
(`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
`•.¸(*)Beyoncè`s #1 Fan(*)
(¸.•*(¸.•*´`*•.¸ )*•.¸)
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: A way to lost your session in Cake 1.2RC3 :-)

2008-11-10 Thread Xavier Mathews
LOL No Problem It Was The Best Responce That I Have Heard All Day.

On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>
> thanks for the reinforcement Xavier. haha :)
>
> On Nov 10, 6:06 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>> It sounds like it could be a thery.
>>
>> On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>>
>> > From tracing the sql queries when using the database to store the
>> > session data, it seems as though on every call it deletes the current
>> > session record from the database and then inserts a new one. If you
>> > refreshed after that first deletion but before the second insert, you
>> > would no longer have a session in the database.
>>
>> > Am I talking out of my ass or does that sound like something that
>> > could happen?
>>
>> > On Nov 10, 4:13 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>> >> Why would a longer query make a slower speed when the query has
>> >> nothing to do with the connection.
>>
>> >> On 11/10/2008, francky06l <[EMAIL PROTECTED]> wrote:
>>
>> >> > Are the link ajax one ?
>> >> > This, is I believe due to the security level., set it to medium. I
>> >> > guess when during long queries/slow connection your second query is
>> >> > there before the first one is gone ..making an "hijacking session" ..
>>
>> >> > On Nov 10, 10:18 pm, validkeys <[EMAIL PROTECTED]>
>> >> > wrote:
>> >> >> Im not sure. I have had similar problems when using a database.
>> >> >> Anyone
>> >> >> else have the same problem / advice?
>>
>> >> >> On Nov 10, 12:36 pm, Serge Rodovnichenko <[EMAIL PROTECTED]> wrote:
>>
>> >> >> > No, I store sessions in files, in /tmp directory. Database useage
>> >> >> > may
>> >> >> > help to resolve this problem?
>>
>> >> >> > On 10 нояб, 22:15, validkeys <[EMAIL PROTECTED]>
>> >> >> > wrote:
>>
>> >> >> > > I have had this problem before, where I click links quickly and
>> >> >> > > it
>> >> >> > > blows up my session data. Are you using the database to manage
>> >> >> > > your
>> >> >> > > sessions?
>>
>> >> >> > > On Nov 10, 10:45 am, Serge Rodovnichenko <[EMAIL PROTECTED]>
>> >> >> > > wrote:
>>
>> >> >> > > > It's simple:
>>
>> >> >> > > > In your application, click on a link to one action, then click
>> >> >> > > > on
>> >> >> > > > a
>> >> >> > > > link to the second action without waiting of results of first
>> >> >> > > > action.
>> >> >> > > > Session data lost.
>>
>> >> >> > > > A heavy-loaded server and complex database query, generated by
>> >> >> > > > first
>> >> >> > > > action/Model or slow network connection may help you to do
>> >> >> > > > this
>> >> >> > > > :-)
>>
>> >> >> > > > I think it's not a bug, but is there a hope for correcting the
>> >> >> > > > situation?
>>
>> >> --
>> >> B= *•*Beautiful*•*
>> >> E= *•*Elegant*•*
>> >> Y= *•*Young*•*
>> >> O= *•*Original*•*
>> >> N= *•*Natural*•*
>> >> C= *•*Clever*•*
>> >> E= *•*Enthralling*•*
>> >> (`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
>> >> `•.¸(*)Beyoncè`s #1 Fan(*)
>> >> (¸.•*(¸.•*´`*•.¸ )*•.¸)
>> >> Xavier A. Mathews
>> >> Student/Developer/Web-Master
>> >> GG Client Based Tech Support Specialist
>> >> Hazel Crest Illinois
>> >> [EMAIL PROTECTED]@[EMAIL PROTECTED]
>> >> "Fear of a name, only increases fear of the thing itself."
>>
>> --
>> B= *•*Beautiful*•*
>> E= *•*Elegant*•*
>> Y= *•*Young*•*
>> O= *•*Original*•*
>> N= *•*Natural*•*
>> C= *•*Clever*•*
>> E= *•*Enthralling*•*
>> (`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
>> `•.¸(*)Beyoncè`s #1 Fan(*)
>> (¸.•*(¸.•*´`*•.¸ )*•.¸)
>> Xavier A. Mathews
>> Student/Developer/Web-Master
>> GG Client Based Tech Support Specialist
>> Hazel Crest Illinois
>> [EMAIL PROTECTED]@[EMAIL PROTECTED]
>> "Fear of a name, only increases fear of the thing itself."
> >
>


-- 
B= *•*Beautiful*•*
E= *•*Elegant*•*
Y= *•*Young*•*
O= *•*Original*•*
N= *•*Natural*•*
C= *•*Clever*•*
E= *•*Enthralling*•*
(`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
`•.¸(*)Beyoncè`s #1 Fan(*)
(¸.•*(¸.•*´`*•.¸ )*•.¸)
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Multiple Has Many, not returning with find('all')

2008-11-10 Thread Xavier Mathews

To The Origanal.

On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>
> was that a reply to my response or the original. Im not sure that I
> understood what you meant.
>
> On Nov 10, 6:09 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>> add an extra (array) and why put class name the it thinks of it like
>> this: $array => classname : that does not even look right.
>>
>> On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>>
>> > it might have something to do with your belongsTo in your Postback
>> > model. Try var $belongsTo =
>> > array('ListAffiliate'=>array('className'=>'ListAffiliate','foreignKey'=>'list_affiliate_id'))
>>
>> > On Nov 10, 6:02 pm, francky06l <[EMAIL PROTECTED]> wrote:
>> >> try recursive = 2  =>  find('all', array('recursive' => 2));
>>
>> >> On Nov 10, 11:43 pm, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
>>
>> >> > I have my admin controller include ListAffiliate , which has a
>> >> > hasMany
>> >> > like this
>>
>> >> > > >> > class ListAffiliate extends AppModel {
>> >> >   var $name = 'ListAffiliate';
>> >> >   var $hasMany =
>> >> > array('Postback'=>array('className'=>'Postback','foreignKey'=>'list_affiliate_id'),
>>
>> >> > 'ListAffiliateIp'=>array('className'=>'ListAffiliateIp','foreignKey'=>'list_affiliate_id'));
>> >> >  }
>>
>> >> > ?>
>> >> > Postback Model
>> >> > > >> > class Postback extends AppModel {
>> >> >   var $name = 'Postback';
>> >> >   var $belongsTo = 'ListAffiliate';
>> >> >  }
>>
>> >> > ?>
>>
>> >> > ListaffiliateIP model
>>
>> >> > > >> > class ListAffiliateIp extends AppModel {
>> >> >   var $name = 'ListAffiliateIp';
>> >> >   var $belongsTo = 'ListAffiliate';
>> >> >  }
>>
>> >> > ?>
>> >> > However, when I do a and pr or debug it , it only returns the data in
>> >> > the ListAffiliate table, not any of the data that is associated with
>> >> > the hasMany.
>> >> > $this->ListAffiliate->recursive = 1;
>> >> > $this->set('postback',$this->ListAffiliate->find('all'));
>>
>> --
>> B= *•*Beautiful*•*
>> E= *•*Elegant*•*
>> Y= *•*Young*•*
>> O= *•*Original*•*
>> N= *•*Natural*•*
>> C= *•*Clever*•*
>> E= *•*Enthralling*•*
>> (`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
>> `•.¸(*)Beyoncè`s #1 Fan(*)
>> (¸.•*(¸.•*´`*•.¸ )*•.¸)
>> Xavier A. Mathews
>> Student/Developer/Web-Master
>> GG Client Based Tech Support Specialist
>> Hazel Crest Illinois
>> [EMAIL PROTECTED]@[EMAIL PROTECTED]
>> "Fear of a name, only increases fear of the thing itself."
> >
>


-- 
B= *•*Beautiful*•*
E= *•*Elegant*•*
Y= *•*Young*•*
O= *•*Original*•*
N= *•*Natural*•*
C= *•*Clever*•*
E= *•*Enthralling*•*
(`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
`•.¸(*)Beyoncè`s #1 Fan(*)
(¸.•*(¸.•*´`*•.¸ )*•.¸)
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Calendar with tasks

2008-11-10 Thread Xavier Mathews

Hello,
Did you want the HTML?

On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>
> why don't you just go for an easy solution first. In the day cell, all
> "All-Day-Events" go in divs at the top. Then all other events are
> ordered by time_starting. If times overlap, no big deal. I don't think
> it is that important right off the bat to see events right next to
> each other if they are overlapping. May if events do overlap in time,
> just apply a class to them that turns them red or something so that
> you can see that these events overlap in some way. Have the start and
> finish times in the cells with the tasks would then explain where they
> overlap.
>
> Overlapping events would just be a recursive problem. If you have an
> event at 3-4 and an event from 3 - 5 and then an event from 4-6 and
> then and event from 3 - , you would have a totally illegible calendar.
>
> That's my recommendation. Just get it done quick and easy and then
> review. I do think that most of the time the easiest and chepest
> approach turns out to be the best approach.
>
> I know it's not what you were looking for but it's what I would
> recommend
>
> On Nov 10, 3:02 pm, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I know this is a bit unusual question in this group but I am
>> implementing the project with cake (which I love).
>>
>> I'm trying to crate week calendar with tasks. I have a problem with
>> displaying it in a table of some sort. Let's say I have several tasks.
>> I know start time (hour+minute), end time and title. Now I want to
>> display something like outlook calendar with tasks (www.law.com/images/
>> charts/outlook_calendar_biz_web.jpg). The thing is that some events
>> will last for several hours and some event may overlap (let's say we
>> have several meetings during the day, but we have to keep doing
>> something else during the whole day). How do I represent this in HTML?
>> I have tried playing with tables and CSS  layers, but just can't
>> display it properly. Can anyone give me a hint? I'm sure that I'm not
>> the first one to deal with this problem and I can't think of any
>> elegant solution.
>>
>> Thanks.
> >
>


-- 
B= *•*Beautiful*•*
E= *•*Elegant*•*
Y= *•*Young*•*
O= *•*Original*•*
N= *•*Natural*•*
C= *•*Clever*•*
E= *•*Enthralling*•*
(`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
`•.¸(*)Beyoncè`s #1 Fan(*)
(¸.•*(¸.•*´`*•.¸ )*•.¸)
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Multiple Has Many, not returning with find('all')

2008-11-10 Thread Xavier Mathews

add an extra (array) and why put class name the it thinks of it like
this: $array => classname : that does not even look right.

On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>
> it might have something to do with your belongsTo in your Postback
> model. Try var $belongsTo =
> array('ListAffiliate'=>array('className'=>'ListAffiliate','foreignKey'=>'list_affiliate_id'))
>
> On Nov 10, 6:02 pm, francky06l <[EMAIL PROTECTED]> wrote:
>> try recursive = 2  =>  find('all', array('recursive' => 2));
>>
>> On Nov 10, 11:43 pm, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
>>
>> > I have my admin controller include ListAffiliate , which has a hasMany
>> > like this
>>
>> > > > class ListAffiliate extends AppModel {
>> >   var $name = 'ListAffiliate';
>> >   var $hasMany =
>> > array('Postback'=>array('className'=>'Postback','foreignKey'=>'list_affiliate_id'),
>>
>> > 'ListAffiliateIp'=>array('className'=>'ListAffiliateIp','foreignKey'=>'list_affiliate_id'));
>> >  }
>>
>> > ?>
>> > Postback Model
>> > > > class Postback extends AppModel {
>> >   var $name = 'Postback';
>> >   var $belongsTo = 'ListAffiliate';
>> >  }
>>
>> > ?>
>>
>> > ListaffiliateIP model
>>
>> > > > class ListAffiliateIp extends AppModel {
>> >   var $name = 'ListAffiliateIp';
>> >   var $belongsTo = 'ListAffiliate';
>> >  }
>>
>> > ?>
>> > However, when I do a and pr or debug it , it only returns the data in
>> > the ListAffiliate table, not any of the data that is associated with
>> > the hasMany.
>> > $this->ListAffiliate->recursive = 1;
>> > $this->set('postback',$this->ListAffiliate->find('all'));
> >
>


-- 
B= *•*Beautiful*•*
E= *•*Elegant*•*
Y= *•*Young*•*
O= *•*Original*•*
N= *•*Natural*•*
C= *•*Clever*•*
E= *•*Enthralling*•*
(`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
`•.¸(*)Beyoncè`s #1 Fan(*)
(¸.•*(¸.•*´`*•.¸ )*•.¸)
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: A way to lost your session in Cake 1.2RC3 :-)

2008-11-10 Thread Xavier Mathews
It sounds like it could be a thery.

On 11/10/2008, validkeys <[EMAIL PROTECTED]> wrote:
>
> From tracing the sql queries when using the database to store the
> session data, it seems as though on every call it deletes the current
> session record from the database and then inserts a new one. If you
> refreshed after that first deletion but before the second insert, you
> would no longer have a session in the database.
>
> Am I talking out of my ass or does that sound like something that
> could happen?
>
> On Nov 10, 4:13 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>> Why would a longer query make a slower speed when the query has
>> nothing to do with the connection.
>>
>> On 11/10/2008, francky06l <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>
>>
>> > Are the link ajax one ?
>> > This, is I believe due to the security level., set it to medium. I
>> > guess when during long queries/slow connection your second query is
>> > there before the first one is gone ..making an "hijacking session" ..
>>
>> > On Nov 10, 10:18 pm, validkeys <[EMAIL PROTECTED]>
>> > wrote:
>> >> Im not sure. I have had similar problems when using a database. Anyone
>> >> else have the same problem / advice?
>>
>> >> On Nov 10, 12:36 pm, Serge Rodovnichenko <[EMAIL PROTECTED]> wrote:
>>
>> >> > No, I store sessions in files, in /tmp directory. Database useage may
>> >> > help to resolve this problem?
>>
>> >> > On 10 нояб, 22:15, validkeys <[EMAIL PROTECTED]> wrote:
>>
>> >> > > I have had this problem before, where I click links quickly and it
>> >> > > blows up my session data. Are you using the database to manage your
>> >> > > sessions?
>>
>> >> > > On Nov 10, 10:45 am, Serge Rodovnichenko <[EMAIL PROTECTED]>
>> >> > > wrote:
>>
>> >> > > > It's simple:
>>
>> >> > > > In your application, click on a link to one action, then click on
>> >> > > > a
>> >> > > > link to the second action without waiting of results of first
>> >> > > > action.
>> >> > > > Session data lost.
>>
>> >> > > > A heavy-loaded server and complex database query, generated by
>> >> > > > first
>> >> > > > action/Model or slow network connection may help you to do this
>> >> > > > :-)
>>
>> >> > > > I think it's not a bug, but is there a hope for correcting the
>> >> > > > situation?
>>
>> --
>> B= *•*Beautiful*•*
>> E= *•*Elegant*•*
>> Y= *•*Young*•*
>> O= *•*Original*•*
>> N= *•*Natural*•*
>> C= *•*Clever*•*
>> E= *•*Enthralling*•*
>> (`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
>> `•.¸(*)Beyoncè`s #1 Fan(*)
>> (¸.•*(¸.•*´`*•.¸ )*•.¸)
>> Xavier A. Mathews
>> Student/Developer/Web-Master
>> GG Client Based Tech Support Specialist
>> Hazel Crest Illinois
>> [EMAIL PROTECTED]@[EMAIL PROTECTED]
>> "Fear of a name, only increases fear of the thing itself."
> >
>


-- 
B= *•*Beautiful*•*
E= *•*Elegant*•*
Y= *•*Young*•*
O= *•*Original*•*
N= *•*Natural*•*
C= *•*Clever*•*
E= *•*Enthralling*•*
(`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
`•.¸(*)Beyoncè`s #1 Fan(*)
(¸.•*(¸.•*´`*•.¸ )*•.¸)
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: A way to lost your session in Cake 1.2RC3 :-)

2008-11-10 Thread Xavier Mathews
Why would a longer query make a slower speed when the query has
nothing to do with the connection.

On 11/10/2008, francky06l <[EMAIL PROTECTED]> wrote:
>
> Are the link ajax one ?
> This, is I believe due to the security level., set it to medium. I
> guess when during long queries/slow connection your second query is
> there before the first one is gone ..making an "hijacking session" ..
>
> On Nov 10, 10:18 pm, validkeys <[EMAIL PROTECTED]>
> wrote:
>> Im not sure. I have had similar problems when using a database. Anyone
>> else have the same problem / advice?
>>
>> On Nov 10, 12:36 pm, Serge Rodovnichenko <[EMAIL PROTECTED]> wrote:
>>
>> > No, I store sessions in files, in /tmp directory. Database useage may
>> > help to resolve this problem?
>>
>> > On 10 нояб, 22:15, validkeys <[EMAIL PROTECTED]> wrote:
>>
>> > > I have had this problem before, where I click links quickly and it
>> > > blows up my session data. Are you using the database to manage your
>> > > sessions?
>>
>> > > On Nov 10, 10:45 am, Serge Rodovnichenko <[EMAIL PROTECTED]> wrote:
>>
>> > > > It's simple:
>>
>> > > > In your application, click on a link to one action, then click on a
>> > > > link to the second action without waiting of results of first
>> > > > action.
>> > > > Session data lost.
>>
>> > > > A heavy-loaded server and complex database query, generated by first
>> > > > action/Model or slow network connection may help you to do this :-)
>>
>> > > > I think it's not a bug, but is there a hope for correcting the
>> > > > situation?
> >
>


-- 
B= *•*Beautiful*•*
E= *•*Elegant*•*
Y= *•*Young*•*
O= *•*Original*•*
N= *•*Natural*•*
C= *•*Clever*•*
E= *•*Enthralling*•*
(`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
`•.¸(*)Beyoncè`s #1 Fan(*)
(¸.•*(¸.•*´`*•.¸ )*•.¸)
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Firefox form rendering problem

2008-11-10 Thread Xavier Mathews

Whats the problem tho?

On 11/10/2008, Marcelo Andrade <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 10, 2008 at 7:27 PM, jm <[EMAIL PROTECTED]> wrote:
>>
>> text">Title
> The label tag it's not closed.
>
> Best regards.
>
> --
> MARCELO DE F. ANDRADE (aka "eleKtron")
> Belem, PA, Amazonia, Brazil
> Linux User #221105
>
> [EMAIL PROTECTED] ~]# links http://pa.slackwarebrasil.org/
>
> >
>


-- 
B= *•*Beautiful*•*
E= *•*Elegant*•*
Y= *•*Young*•*
O= *•*Original*•*
N= *•*Natural*•*
C= *•*Clever*•*
E= *•*Enthralling*•*
(`*•.¸ (`*•.¸ ¸.•*´) ¸.•*´)
`•.¸(*)Beyoncè`s #1 Fan(*)
(¸.•*(¸.•*´`*•.¸ )*•.¸)
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: bug? or whats the matter with date fields?

2008-11-10 Thread Xavier Mathews

I am still over looking the problem and then i will prepare a
statement and tell you my point.

On 11/10/2008, Mark (Germany) <[EMAIL PROTECTED]> wrote:
>
> @xavier:
> what exactly is your point? :)
>
>
> On 10 Nov., 12:12, "Mark (Germany)" <[EMAIL PROTECTED]>
> wrote:
>> well, i sure could have renamed it if i had known that it is a problem
>> a) to name a field like the model
>> b) to name it like a reserved word
>>
>> thx so far
>>
>> On 10 Nov., 02:11, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
>>
>> > What they said lol. If you find your self bugging with the date dont
>> > use it without debugging.
>>
>> > On 11/09/2008, Dardo Sordi Bogado <[EMAIL PROTECTED]> wrote:
>>
>> > > Avoid naming a field the same as the model and this will not happen ;)
>>
>> > > On Sun, Nov 9, 2008 at 8:03 PM, Mark (Germany)
>> > > <[EMAIL PROTECTED]> wrote:
>>
>> > >> As the pr() output shows, the processed form data on POST
>> > >> returns a devided array with the normal "Date" and a second "date"
>> > >> resulting in 2 warnings (Undefined variable: month/year) + the form
>> > >> process recognized as invalide.
>>
>> > >> Array
>> > >> (
>> > >>[Date] => Array
>> > >>(
>> > >>[user_id] => 1
>> > >>[date_type_id] => 1
>> > >>[date] => Array
>> > >>(
>> > >>[day] => 09
>> > >>)
>>
>> > >>[details] =>
>> > >>)
>>
>> > >>[date] => Array
>> > >>(
>> > >>[date] => Array
>> > >>(
>> > >>[month] => 11
>> > >>[year] => 2008
>> > >>)
>>
>> > >>)
>>
>> > >> )
>>
>> > >> The Form was baked by the console
>>
>> > >> create('Date');?>
>> > >>
>> > >>
>> > >>> > >>echo $form->input('user_id');
>> > >>echo $form->input('date_type_id');
>> > >>echo $form->input('date');
>> > >>echo $form->input('details');
>> > >>?>
>> > >>
>> > >> end('Submit');?>
>>
>> > >> I cant find the problem - the database field is of the normal "date"
>> > >> type
>>
>> > >> Wow..
>> > >> After changing it to the following, it worked...
>>
>> > >>> > >>echo $form->input('Date.user_id');
>> > >>echo $form->input('Date.date_type_id');
>> > >>echo $form->input('Date.date');
>> > >>echo $form->input('Date.details');
>> > >>?>
>>
>> > >> So why is this neccessary if there is only that one model Date?
>>
>> > --
>> > Xavier A. Mathews
>> > Student/Developer/Web-Master
>> > GG Client Based Tech Support Specialist
>> > Hazel Crest Illinois
>> > [EMAIL PROTECTED]@[EMAIL PROTECTED]
>> > "Fear of a name, only increases fear of the thing itself."
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: saving HABTM (RC3)

2008-11-09 Thread Xavier Mathews

You need Arrays!

On 11/09/2008, Lukas <[EMAIL PROTECTED]> wrote:
>
> Hi everyone :)
>
> This is the first time I had to use HABTM, and I'm facing a problem
> when I have to save data
>
> Lets say I have
>
> MODELS:
> class Service extends AppModel
> {
>   var $hasAndBelongsToMany = array( 'Addressbook' );
> );
>
> class Addressbook extends AppModel
> {
>   var $hasAndBelongsToMany = array ('Service');
> }
> Addressbook: id, phone, ...
>
> CONTROLER:
> function save() {
>   $this -> Service -> id = $this -> data['Service']['id'];
>
>   $this -> Service -> save($this -> data);
> }
>
>
>>> How does add.ctp should look like if e.g. I want to add a Service record
>>> with 2 new  phone numbers?
>
> Sketch of result
>
> Title {Service.title}
> About {Service.about}
> Phone Number 1 {Addressbook.phone.}
> Phone Number 2 {Addressbook.phone}
>
> I've tried many (I hope I don't have to post them all here :) )
> combinations of $form helper usge, but I could get wanted result :(
>
>
> Thank you.
>
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: bug? or whats the matter with date fields?

2008-11-09 Thread Xavier Mathews

What they said lol. If you find your self bugging with the date dont
use it without debugging.

On 11/09/2008, Dardo Sordi Bogado <[EMAIL PROTECTED]> wrote:
>
> Avoid naming a field the same as the model and this will not happen ;)
>
> On Sun, Nov 9, 2008 at 8:03 PM, Mark (Germany)
> <[EMAIL PROTECTED]> wrote:
>>
>> As the pr() output shows, the processed form data on POST
>> returns a devided array with the normal "Date" and a second "date"
>> resulting in 2 warnings (Undefined variable: month/year) + the form
>> process recognized as invalide.
>>
>> Array
>> (
>>[Date] => Array
>>(
>>[user_id] => 1
>>[date_type_id] => 1
>>[date] => Array
>>(
>>[day] => 09
>>)
>>
>>[details] =>
>>)
>>
>>[date] => Array
>>(
>>[date] => Array
>>(
>>[month] => 11
>>[year] => 2008
>>)
>>
>>)
>>
>> )
>>
>> The Form was baked by the console
>>
>> create('Date');?>
>>
>>
>>>echo $form->input('user_id');
>>echo $form->input('date_type_id');
>>echo $form->input('date');
>>echo $form->input('details');
>>?>
>>
>> end('Submit');?>
>>
>> I cant find the problem - the database field is of the normal "date"
>> type
>>
>>
>> Wow..
>> After changing it to the following, it worked...
>>
>>>echo $form->input('Date.user_id');
>>echo $form->input('Date.date_type_id');
>>echo $form->input('Date.date');
>>echo $form->input('Date.details');
>>?>
>>
>> So why is this neccessary if there is only that one model Date?
>> >
>>
>
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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

2008-11-09 Thread Xavier Mathews

Ok thxs.

On 11/09/2008, Mathew <[EMAIL PROTECTED]> wrote:
>
>> Yeah it does.but does it matter if you are online or off?
>
> It doesn't matter, if your connecting to localhost the response codes
> will be the same.
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Finds: Contain vs. Unbind-on-the-fly

2008-11-07 Thread Xavier Mathews
Yeah there is some extra queries and something not right with the ones that
already in place!

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."








On Fri, Nov 7, 2008 at 2:04 PM, Brenton B <[EMAIL PROTECTED]> wrote:

>
> Wee bit of a running commentary here ...
>
> containable.php
>
> Line 348 has 'depth' being increased with each level (as it does the
> foreach), then subsequently assigned on line 359.
>
> This looks like it's set for all models and not just the ones needed,
> hence the possibility of extra queries.
>
> Confirmed on line 171 where it's recursivity is then set based on
> 'depth'. (possibly).
>
> Will continue looking 
>
>
> On Nov 7, 11:13 am, Brenton B <[EMAIL PROTECTED]> wrote:
> > Re: "why is it try to select models with id=2":
> >
> > Because thats the value of country_id and state_id in the Photographer
> > record that's being selected:
> > WHERE `Photographer`.`id` = 1
> >
> > On Nov 6, 8:35 pm, teknoid <[EMAIL PROTECTED]> wrote:
> >
> > > That's very strange... why is it trying to select models with id=2?
> > > Doesn't seem like you pass any conditions to your find()...
> > > Are you sure there is nothing else going (maybe in model associations)
> > > or any other attached behaviors?
> >
> > > On Nov 6, 6:34 pm, Brenton B <[EMAIL PROTECTED]> wrote:
> >
> > > > Where there is only 1 level in the 'contain':
> >
> > > > SELECT `Photographer`.`id`, `Photographer`.`first_name`,
> > > > `Photographer`.`last_name`, `Photographer`.`company_name`,
> > > > `Photographer`.`email`, `Photographer`.`telephone`,
> > > > `Photographer`.`address_1`, `Photographer`.`address_2`,
> > > > `Photographer`.`country_id`, `Photographer`.`state_id`,
> > > > `Photographer`.`city`, `Photographer`.`zip_code`,  [[[... plus a
> bunch
> > > > of other fields ... ]]]  `Country`.`id`, `Country`.`name`,
> > > > `Country`.`created`, `Country`.`created_by`, `Country`.`modified`,
> > > > `Country`.`modified_by`, `State`.`id`, `State`.`name`,
> > > > `State`.`country_id`, `State`.`created`, `State`.`created_by`,
> > > > `State`.`modified`, `State`.`modified_by` FROM `photographers` AS
> > > > `Photographer` LEFT JOIN `countries` AS `Country` ON
> > > > (`Photographer`.`country_id` = `Country`.`id`) LEFT JOIN `states` AS
> > > > `State` ON (`Photographer`.`state_id` = `State`.`id`) WHERE
> > > > `Photographer`.`id` = 1 LIMIT 1
> >
> > > > SELECT `PrintSize`.`id`, `PrintSize`.`name`, `PrintSize`.`created`,
> > > > `PrintSize`.`created_by`, `PrintSize`.`modified`,
> > > > `PrintSize`.`modified_by`, `PhotographersPrintSize`.`id`,
> > > > `PhotographersPrintSize`.`photographer_id`,
> > > > `PhotographersPrintSize`.`print_size_id`,
> > > > `PhotographersPrintSize`.`price`, `PhotographersPrintSize`.`comment`,
> > > > `PhotographersPrintSize`.`created`,
> > > > `PhotographersPrintSize`.`created_by`,
> > > > `PhotographersPrintSize`.`modified`,
> > > > `PhotographersPrintSize`.`modified_by` FROM `print_sizes` AS
> > > > `PrintSize` JOIN `photographers_print_sizes` AS
> > > > `PhotographersPrintSize` ON
> > > > (`PhotographersPrintSize`.`photographer_id` = 1 AND
> > > > `PhotographersPrintSize`.`print_size_id` = `PrintSize`.`id`) WHERE 1
> =
> > > > 1
> >
> > > > Then as soon as I add in the extra level in 'contain' I get the
> above,
> > > > plus these extras:
> >
> > > > SELECT `Country`.`id`, `Country`.`name`, `Country`.`created`,
> > > > `Country`.`created_by`, `Country`.`modified`, `Country`.`modified_by`
> > > > FROM `countries` AS `Country` WHERE `Country`.`id` = 2
> >
> > > > SELECT `State`.`id`, `State`.`name`, `State`.`country_id`,
> > > > `State`.`created`, `State`.`created_by`, `State`.`modified`,
> > > > `State`.`modified_by` FROM `states` AS `State` WHERE `State`.`id` = 2
> >
> > > > I'm hoping to have some time tonight to really dig through the
> > > > Containable behaviour code.
> >
> > > > On Nov 6, 3:03 pm, teknoid <[EMAIL PROTECTED]> wrote:
> >
> > > > > What are the "extra" queries, which get generated for Country and
> > > > > State, when you add other models?
> > > > > Could you provide an example?
> >
> > > > > On Nov 6, 5:41 pm, Brenton B <[EMAIL PROTECTED]> wrote:
> >
> > > > > > Photographer:
> > > > > > Photographer belongsTo Country
> > > > > > Photographer belongsTo State
> > > > > > Photographer HABTM PrintSize: with PhotographersPrintSize
> (join table
> > > > > > has extra data)
> >
> > > > > > PrintSize:
> > > > > > PrintSize HABTM Photographer: with PhotographersPrintSize
> (again,
> > > > > > join table with data)
> >
> > > > > > PhotographersPrintSize:
> > > > > > PhotographersPrintSize hasMany Photographer
> > > > > > PhotographersPrintSize hasMany PrintSize
> >
> > > > > > yes, all in same db.
> >
> > > > > > Also, forgot to mention, if I take off to recursive level (as
> below),
> > > >

Re: Finds: Contain vs. Unbind-on-the-fly

2008-11-06 Thread Xavier Mathews

I am so confused. Run the query and check the arrays etc the code looks good.

On 11/06/2008, teknoid <[EMAIL PROTECTED]> wrote:
>
> That's very strange... why is it trying to select models with id=2?
> Doesn't seem like you pass any conditions to your find()...
> Are you sure there is nothing else going (maybe in model associations)
> or any other attached behaviors?
>
> On Nov 6, 6:34 pm, Brenton B <[EMAIL PROTECTED]> wrote:
>> Where there is only 1 level in the 'contain':
>>
>> SELECT `Photographer`.`id`, `Photographer`.`first_name`,
>> `Photographer`.`last_name`, `Photographer`.`company_name`,
>> `Photographer`.`email`, `Photographer`.`telephone`,
>> `Photographer`.`address_1`, `Photographer`.`address_2`,
>> `Photographer`.`country_id`, `Photographer`.`state_id`,
>> `Photographer`.`city`, `Photographer`.`zip_code`,  [[[... plus a bunch
>> of other fields ... ]]]  `Country`.`id`, `Country`.`name`,
>> `Country`.`created`, `Country`.`created_by`, `Country`.`modified`,
>> `Country`.`modified_by`, `State`.`id`, `State`.`name`,
>> `State`.`country_id`, `State`.`created`, `State`.`created_by`,
>> `State`.`modified`, `State`.`modified_by` FROM `photographers` AS
>> `Photographer` LEFT JOIN `countries` AS `Country` ON
>> (`Photographer`.`country_id` = `Country`.`id`) LEFT JOIN `states` AS
>> `State` ON (`Photographer`.`state_id` = `State`.`id`) WHERE
>> `Photographer`.`id` = 1 LIMIT 1
>>
>> SELECT `PrintSize`.`id`, `PrintSize`.`name`, `PrintSize`.`created`,
>> `PrintSize`.`created_by`, `PrintSize`.`modified`,
>> `PrintSize`.`modified_by`, `PhotographersPrintSize`.`id`,
>> `PhotographersPrintSize`.`photographer_id`,
>> `PhotographersPrintSize`.`print_size_id`,
>> `PhotographersPrintSize`.`price`, `PhotographersPrintSize`.`comment`,
>> `PhotographersPrintSize`.`created`,
>> `PhotographersPrintSize`.`created_by`,
>> `PhotographersPrintSize`.`modified`,
>> `PhotographersPrintSize`.`modified_by` FROM `print_sizes` AS
>> `PrintSize` JOIN `photographers_print_sizes` AS
>> `PhotographersPrintSize` ON
>> (`PhotographersPrintSize`.`photographer_id` = 1 AND
>> `PhotographersPrintSize`.`print_size_id` = `PrintSize`.`id`) WHERE 1 =
>> 1
>>
>> Then as soon as I add in the extra level in 'contain' I get the above,
>> plus these extras:
>>
>> SELECT `Country`.`id`, `Country`.`name`, `Country`.`created`,
>> `Country`.`created_by`, `Country`.`modified`, `Country`.`modified_by`
>> FROM `countries` AS `Country` WHERE `Country`.`id` = 2
>>
>> SELECT `State`.`id`, `State`.`name`, `State`.`country_id`,
>> `State`.`created`, `State`.`created_by`, `State`.`modified`,
>> `State`.`modified_by` FROM `states` AS `State` WHERE `State`.`id` = 2
>>
>> I'm hoping to have some time tonight to really dig through the
>> Containable behaviour code.
>>
>> On Nov 6, 3:03 pm, teknoid <[EMAIL PROTECTED]> wrote:
>>
>> > What are the "extra" queries, which get generated for Country and
>> > State, when you add other models?
>> > Could you provide an example?
>>
>> > On Nov 6, 5:41 pm, Brenton B <[EMAIL PROTECTED]> wrote:
>>
>> > > Photographer:
>> > > Photographer belongsTo Country
>> > > Photographer belongsTo State
>> > > Photographer HABTM PrintSize: with PhotographersPrintSize
>> > > (join table
>> > > has extra data)
>>
>> > > PrintSize:
>> > > PrintSize HABTM Photographer: with PhotographersPrintSize
>> > > (again,
>> > > join table with data)
>>
>> > > PhotographersPrintSize:
>> > > PhotographersPrintSize hasMany Photographer
>> > > PhotographersPrintSize hasMany PrintSize
>>
>> > > yes, all in same db.
>>
>> > > Also, forgot to mention, if I take off to recursive level (as below),
>> > > it does it fine without all the extra queries.
>>
>> > > $this->set('photographer',
>> > > $this->Photographer->find('first',
>> > >
>> > > array('contain' => array(
>> > >
>> > > 'Country',
>> > >
>> > > 'State',
>> > >
>> > > 'PrintSize';
>>
>> > > On Nov 6, 2:18 pm, teknoid <[EMAIL PROTECTED]> wrote:
>>
>> > > > what's the relation between all those models?
>> > > > and are they all in the same db?
>>
>> > > > On Nov 6, 5:12 pm, Brenton B <[EMAIL PROTECTED]> wrote:
>>
>> > > > > Aha!!!
>> > > > > I think I've come up with the reason ...
>>
>> > > > > As I was trying to produce a nice a short example I realized that
>> > > > > when
>> > > > > there's only 1 level it doesn't produce the extra queries ... as
>> > > > > soon
>> > > > > as there's more than 1 level it has the extra queries.
>>
>> > > > > So if I have:
>>
>> > > > > $this->set('photographer',
>> > > > > $this->Photographer->find('first',
>> > > > >
>> > > > > array('contain' => array(
>> > > > >
>> > > > > 'Country',
>> > > > >
>> > > > > 'State';
>>
>> > > > > Then there's no problem, but if I have
>>
>> > > > > $this->set('photographer',
>> > > > > $this->Photographer->find('first',
>> > > > >
>> > > > > array('contain' => array(

Re: Page Not Found

2008-10-24 Thread Xavier Mathews

Yup!

On 10/24/2008, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
>
> 
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
> 
>
> correct?
>
> On Oct 24, 2:55 pm, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
>> Oh thanks I had deleted the htaccess as it was causing problems before
>> I had configured stuff with the new RC3
>>
>> On Oct 24, 2:51 pm, teknoid <[EMAIL PROTECTED]> wrote:
>>
>> > Ensure that mod_rewrite is enabled
>> > AND that AllowOverride is allowed.
>>
>> > On Oct 24, 5:36 pm, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
>>
>> > > I changed my default.ctp in layouts to just echo content so
>>
>> > > > > >  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
>> > >   http://www.w3.org/1999/xhtml"; xml:lang="en"
>> > >  lang="en">
>> > >   
>> > >  > > >   "Content-Type"/>
>> > >  Prize Cove
>> > >   
>> > >   
>> > > > > > if ($session->check('Message.flash')):
>> > >$session->flash();
>> > > endif;
>> > > ?>
>> > > 
>> > >   
>> > >   
>>
>> > > And just made the controllers and models
>> > > Controller
>> > > > > >   class GeneralsController extends AppController {
>> > > var $name = 'Generals';
>> > > function index() {
>> > > }
>>
>> > >   }
>> > > ?>
>> > > Model
>> > > > > >   class General extends AppModel {
>> > > var $name = 'General';
>> > >   }
>> > > ?>
>>
>> > > I then made a folder called general, and put index.ctp in it that just
>> > > says prizecove in process but when I go
>> > > towww.prizecove.com/general/indexitsayspage not found but if I got to
>> > > prizecove.com it just displays default.ctp in layout.
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Page Not Found

2008-10-24 Thread Xavier Mathews

Right.

On 10/24/2008, teknoid <[EMAIL PROTECTED]> wrote:
>
> Ensure that mod_rewrite is enabled
> AND that AllowOverride is allowed.
>
> On Oct 24, 5:36 pm, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
>> I changed my default.ctp in layouts to just echo content so
>>
>> >  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
>>   http://www.w3.org/1999/xhtml"; xml:lang="en"
>>  lang="en">
>>   
>>  >   "Content-Type"/>
>>  Prize Cove
>>   
>>   
>> > if ($session->check('Message.flash')):
>>$session->flash();
>> endif;
>> ?>
>> 
>>   
>>   
>>
>> And just made the controllers and models
>> Controller
>> >   class GeneralsController extends AppController {
>> var $name = 'Generals';
>> function index() {
>> }
>>
>>   }
>> ?>
>> Model
>> >   class General extends AppModel {
>> var $name = 'General';
>>   }
>> ?>
>>
>> I then made a folder called general, and put index.ctp in it that just
>> says prizecove in process but when I go
>> towww.prizecove.com/general/indexit says page not found but if I got to
>> prizecove.com it just displays default.ctp in layout.
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Page Not Found

2008-10-24 Thread Xavier Mathews

This is a 404 error just run it.

On 10/24/2008, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
>
> I changed my default.ctp in layouts to just echo content so
>
>  www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>   http://www.w3.org/1999/xhtml"; xml:lang="en"
>  lang="en">
>   
> "Content-Type"/>
>  Prize Cove
>   
>   
>  if ($session->check('Message.flash')):
>$session->flash();
> endif;
> ?>
> 
>   
>   
>
> And just made the controllers and models
> Controller
>class GeneralsController extends AppController {
> var $name = 'Generals';
>   function index() {
>   }
>
>   }
> ?>
> Model
>class General extends AppModel {
>   var $name = 'General';
>   }
> ?>
>
> I then made a folder called general, and put index.ctp in it that just
> says prizecove in process but when I go to
> www.prizecove.com/general/index it says page not found but if I got to
> prizecove.com it just displays default.ctp in layout.
>
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: I'm having a problem with containable

2008-10-23 Thread Xavier Mathews

STFU

On 10/22/2008, Stinkbug <[EMAIL PROTECTED]> wrote:
>
> That did it.  Thanks!  Gee, I guess it just takes a extra set of eyes
> sometimes.  I've looked at that code in the docs 20 times probably and
> never caught that.
>
> On Oct 21, 9:49 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
>> > 'contain' => array('ListLink', array(
>>
>> Try:
>> 'contain' => array('ListLink' => array(...
>>
>> Make a connection between 'LinkList' => and => it's => array().
>> The way you wrote it it's two separate parameters...
>>
>> On 22 Oct 2008, at 06:43, Stinkbug wrote:
>>
>>
>>
>> > I think my code looks almost exactly like what's in the docs with the
>> > exception of the extra condition.  I'm not getting my desired results
>> > and I'm not sure what I'm doing wrong.  Here is what my data looks
>> > like that's getting returned.
>>
>> > Array
>> > (
>> >[ListTitle] => Array
>> >(
>> >[id] => 3
>> >[title] => Featured Story
>> >)
>>
>> >[ListLink] => Array
>> >(
>> >[0] => Array
>> >(
>> >[id] => 1
>> >[title] => It's the great and mighty Stinkbug!
>> >[link] =>http://blog.stinkbug.net
>> >[list_title_id] => 3
>> >[created] => 2008-10-20 15:05:01
>> >[modified] => 2008-10-20 15:41:49
>> >[deleted] => 1
>> >[deleted_date] => 2008-10-20 15:41:49
>> >)
>>
>> >[1] => Array
>> >(
>> >[id] => 2
>> >[title] => It's Google!
>> >[link] =>http://www.google.com
>> >[list_title_id] => 3
>> >[created] => 2008-10-20 16:35:54
>> >[modified] => 2008-10-20 16:35:54
>> >[deleted] => 0
>> >[deleted_date] =>
>> >)
>>
>> >[2] => Array
>> >(
>> >[id] => 3
>> >[title] => Stinkbug The Man
>> >[link] =>http://www.stinkbug.net
>> >[list_title_id] => 3
>> >[created] => 2008-10-21 09:38:14
>> >[modified] => 2008-10-21 09:38:14
>> >[deleted] => 1
>> >[deleted_date] => 2008-10-21 09:49:12
>> >)
>>
>> >[3] => Array
>> >(
>> >[id] => 4
>> >[title] => A Test URL
>> >[link] =>http://www.google.com
>> >[list_title_id] => 3
>> >[created] => 2008-10-21 09:43:41
>> >[modified] => 2008-10-21 09:43:41
>> >[deleted] => 1
>> >[deleted_date] => 2008-10-21 09:46:57
>> >)
>>
>> >[4] => Array
>> >(
>> >[id] => 5
>> >[title] => Oops, Stinkbugs did it again!
>> >[link] =>http://www.stinkbug.net
>> >[list_title_id] => 3
>> >[created] => 2008-10-21 11:17:15
>> >[modified] => 2008-10-21 11:17:15
>> >[deleted] => 0
>> >[deleted_date] =>
>> >)
>>
>> >)
>>
>> > )
>>
>> > And here is my code that returns that data:
>>
>> > //Grab the Features Stories data.
>> > $this->ListTitle->Behaviors->attach('Containable');
>>
>> > $featuredStories = $this->ListTitle->find('first', array(
>> >'conditions' => array('ListTitle.id' => 3),
>> >'contain' => array('ListLink', array(
>> >'conditions' => array('ListLink.deleted' => 0),
>> >'order' => 'ListLink.created DESC',
>> >'limit' => 3
>> >)
>> > )));
>>
>> > By looking at the code I think you can see what I would like
>> > returned.  All of ListLink where deleted = 0.  As you can see from my
>> > data above, it's returning everything.  I am getting some errors.
>>
>> > Warning (2): preg_match() expects parameter 2 to be string, array
>> > given [CORE\cake\libs\model\behaviors\containable.php, line 280]
>> > Notice (8): Array to string conversion [CORE\cake\libs\model\behaviors
>> > \containable.php, line 283]
>> > Notice (8): Array to string conversion [CORE\cake\libs\model\behaviors
>> > \containable.php, line 340]
>> > Warning (512): Model "ListTitle" is not associated with model
>> > "Array" [CORE\cake\libs\model\behaviors\containable.php, line 342]
>>
>> > Not sure what they mean though.  Here are the queries getting spit
>> > out.
>>
>> > SELECT `ListTitle`.`id`, `ListTitle`.`title` FROM `list_titles` AS
>> > `ListTitle` WHERE `ListTitle`.`id` = 3 LIMIT 1
>>
>> > SELECT `ListLink`.`id`, `ListLink`.`title`, `ListLink`.`link`,
>> > `ListLink`.`list_title_id`, `ListLink`.`created`,
>> > `ListLink`.`modified`, `ListL

Re: I'm having a problem with containable

2008-10-21 Thread Xavier Mathews

Nope I am so confussed but i will look into it deeper.

On 10/21/2008, David C. Zentgraf <[EMAIL PROTECTED]> wrote:
>
>> 'contain' => array('ListLink', array(
>
>
> Try:
> 'contain' => array('ListLink' => array(...
>
> Make a connection between 'LinkList' => and => it's => array().
> The way you wrote it it's two separate parameters...
>
> On 22 Oct 2008, at 06:43, Stinkbug wrote:
>
>>
>> I think my code looks almost exactly like what's in the docs with the
>> exception of the extra condition.  I'm not getting my desired results
>> and I'm not sure what I'm doing wrong.  Here is what my data looks
>> like that's getting returned.
>>
>> Array
>> (
>>[ListTitle] => Array
>>(
>>[id] => 3
>>[title] => Featured Story
>>)
>>
>>[ListLink] => Array
>>(
>>[0] => Array
>>(
>>[id] => 1
>>[title] => It's the great and mighty Stinkbug!
>>[link] => http://blog.stinkbug.net
>>[list_title_id] => 3
>>[created] => 2008-10-20 15:05:01
>>[modified] => 2008-10-20 15:41:49
>>[deleted] => 1
>>[deleted_date] => 2008-10-20 15:41:49
>>)
>>
>>[1] => Array
>>(
>>[id] => 2
>>[title] => It's Google!
>>[link] => http://www.google.com
>>[list_title_id] => 3
>>[created] => 2008-10-20 16:35:54
>>[modified] => 2008-10-20 16:35:54
>>[deleted] => 0
>>[deleted_date] =>
>>)
>>
>>[2] => Array
>>(
>>[id] => 3
>>[title] => Stinkbug The Man
>>[link] => http://www.stinkbug.net
>>[list_title_id] => 3
>>[created] => 2008-10-21 09:38:14
>>[modified] => 2008-10-21 09:38:14
>>[deleted] => 1
>>[deleted_date] => 2008-10-21 09:49:12
>>)
>>
>>[3] => Array
>>(
>>[id] => 4
>>[title] => A Test URL
>>[link] => http://www.google.com
>>[list_title_id] => 3
>>[created] => 2008-10-21 09:43:41
>>[modified] => 2008-10-21 09:43:41
>>[deleted] => 1
>>[deleted_date] => 2008-10-21 09:46:57
>>)
>>
>>[4] => Array
>>(
>>[id] => 5
>>[title] => Oops, Stinkbugs did it again!
>>[link] => http://www.stinkbug.net
>>[list_title_id] => 3
>>[created] => 2008-10-21 11:17:15
>>[modified] => 2008-10-21 11:17:15
>>[deleted] => 0
>>[deleted_date] =>
>>)
>>
>>)
>>
>> )
>>
>> And here is my code that returns that data:
>>
>> //Grab the Features Stories data.
>> $this->ListTitle->Behaviors->attach('Containable');
>>
>> $featuredStories = $this->ListTitle->find('first', array(
>>  'conditions' => array('ListTitle.id' => 3),
>>  'contain' => array('ListLink', array(
>>  'conditions' => array('ListLink.deleted' => 0),
>>  'order' => 'ListLink.created DESC',
>>  'limit' => 3
>>  )
>> )));
>>
>> By looking at the code I think you can see what I would like
>> returned.  All of ListLink where deleted = 0.  As you can see from my
>> data above, it's returning everything.  I am getting some errors.
>>
>> Warning (2): preg_match() expects parameter 2 to be string, array
>> given [CORE\cake\libs\model\behaviors\containable.php, line 280]
>> Notice (8): Array to string conversion [CORE\cake\libs\model\behaviors
>> \containable.php, line 283]
>> Notice (8): Array to string conversion [CORE\cake\libs\model\behaviors
>> \containable.php, line 340]
>> Warning (512): Model "ListTitle" is not associated with model
>> "Array" [CORE\cake\libs\model\behaviors\containable.php, line 342]
>>
>> Not sure what they mean though.  Here are the queries getting spit
>> out.
>>
>> SELECT `ListTitle`.`id`, `ListTitle`.`title` FROM `list_titles` AS
>> `ListTitle` WHERE `ListTitle`.`id` = 3 LIMIT 1
>>
>> SELECT `ListLink`.`id`, `ListLink`.`title`, `ListLink`.`link`,
>> `ListLink`.`list_title_id`, `ListLink`.`created`,
>> `ListLink`.`modified`, `ListLink`.`deleted`, `ListLink`.`deleted_date`
>> FROM `list_links` AS `ListLink` WHERE `ListLink`.`list_title_id` = (3)
>>
>> As you can see, the conditions for the ListLink model is totally being
>> ignored.  Can anyone suggest what I might be doing wrong?
>>
>> >
>
>
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel 

Re: phped

2008-10-21 Thread Xavier Mathews
Did they that would be awesome!

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."







On Tue, Oct 21, 2008 at 9:25 AM, K3 <[EMAIL PROTECTED]> wrote:

>
> maybe phped. recently it has added auto completion for cake projects.
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Yet another site powered by Cakephp

2008-10-14 Thread Xavier Mathews
True i'm sorry. No i'm not being sarcastic i just gave it some thought!

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."







On Tue, Oct 14, 2008 at 6:47 AM, villas <[EMAIL PROTECTED]> wrote:

>
> > Thats nice i am not sure that it was really worth posting tho.
>
> I disagree.  After reading your first comment on the thread,  I found
> RyOnLife's contribution fascinating!
> :-)
>
> On Oct 13, 9:36 pm, [EMAIL PROTECTED] wrote:
> > Thats nice i am not sure that it was really worth posting tho.
> >
> > On 10/13/2008, RyOnLife <[EMAIL PROTECTED]> wrote:
> >
> > > Just wanted to say I like the interface!! Plain and easy to navigate,
> but
> > > something cool about the simplicity.
> >
> > > Sayhello-2 wrote:
> >
> > >> Hello all,
> >
> > >> Just wanted to introduce yet another site built with CakePHP 1.2 RC3 -
> > >>www.sayhello.me. Sayhello is a new classified ads site to help you buy
> > >> and sell. We are initially launching in the Los Angeles market. Check
> > >> it out. Any suggestions and feedback are welcome.
> >
> > >> Thank you!
> > >>www.sayhello.me
> >
> > > --
> > > View this message in context:
> > >http://www.nabble.com/Yet-another-site-powered-by-Cakephp-tp19931969p.
> ..
> > > Sent from the CakePHP mailing list archive at Nabble.com.
> >
> > --
> > Xavier A. Mathews
> > Student/Developer/Web-Master
> > GG Client Based Tech Support Specialist
> > Hazel Crest Illinois
> > [EMAIL PROTECTED]
> > "Fear of a name, only increases fear of the thing itself."
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: HABTM & Belongs_To Together?

2008-10-11 Thread Xavier Mathews
Ok first the link that you gave us is looping meaning that it loads and
never stops! Next b/c there are many users do you see any options that allow
you to set privacy or something like that?

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."







On Sat, Oct 11, 2008 at 3:07 PM, Xavier Mathews <[EMAIL PROTECTED]>wrote:

> Hello Keith i am sorry that this is still a problem for you. Maybe i can
> assist you.
>
> First i need to know if you are getting any error messages?
>
> Then i would like to refer you to this site to see if there is anything
> there that will help you!
> http://www.phpfreaks.com/
>
> As far as your problem i will run a few test and search and work with you
> on that and then i should be able to provide you with some results.
>
> I am sorry that non-of the Tech were able to get to your post sooner. We
> are a little busy.
>
> Xavier A. Mathews
> Student/Developer/Web-Master
> GG Client Based Tech Support Specialist
> Hazel Crest Illinois
> [EMAIL PROTECTED]
> "Fear of a name, only increases fear of the thing itself."
>
>
>
>
>
>
>
>
> On Sat, Oct 11, 2008 at 9:58 AM, Keith <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi Villas,
>>
>> I tried clearing out the cache and that didn't fix it unfortunately.
>>
>> I have the max debug level set.  The code appears to be operating as
>> programmed.
>>
>> I tried a simple habtm with belongs_to in a scenario where I only had
>> those two models and still got the same results.
>>
>> I think it's a problem with how CakePHP is creating the array.  The
>> first element in the array has no numeric identifier.  If you look
>> back at the screenshot in the initial post you'll see that the first
>> entry in the array is not [0] but rather is called [id] as it would be
>> when there is a belongs_to and not a HABTM as well.
>>
>> Unless I can figure something out I'm going to go ahead and just
>> report it to cakePHP as a bug because there are legit reasons, like
>> the one I'm building, where you'd want a habtm with a belongs_to in
>> the same model.
>>
>> - Keith
>>
>> On Oct 11, 8:14 am, villas <[EMAIL PROTECTED]> wrote:
>> > Hi Keith
>> >
>> > Thanks for the extra info although it still isn't very clear to me
>> > from that what's going on.  However,  I would mention:
>> > 1. Are you clearing your cache?  You might have old data hanging
>> > around.
>> > 2. Did you try to set a higher debug level to get more info?
>> > 3. Did you try to experiment with Bake?  You can try different
>> > scenarios which you should be able to get working without too much
>> > sweat.
>> >
>> > Best regards.
>> >
>> > On Oct 11, 6:31 am, Keith <[EMAIL PROTECTED]> wrote:
>> >
>> > > Just as a clarification on why I have it set up this way...
>> >
>> > > The belongs_to is there because the users that creates the project
>> > > becomes the owner.
>> > > The has_and_belongs_to_many is there so that if a user wants someone
>> > > outside their department to access it they can manually add them.
>> >
>> > > The problem looks like it's stemming from how cakePHP is handling the
>> > > array...
>> >
>> > > for the belongs_to the array keys are based on field names like [id] &
>> > > [first_name], etc.
>> > > for the HABTM array the array keys are sequential as the "related
>> > > users" foreach loop expects.
>> >
>> > > - Keith
>> >
>> > > On Oct 11, 1:18 am, Keith <[EMAIL PROTECTED]> wrote:
>> >
>> > > > It looks to me like this is what is happening, but it's very
>> > > > strange...
>> >
>> > > > Even when no users are associated I'm getting 8 blank associated
>> users
>> > > > which is exactly how many elements are in the array...
>> >
>> > > > So...
>> >
>> > > > It looks like it's taking the first character from each part of the
>> > > > first entry in the array and putting it there...
>> > > > K = Keith = First Name
>> > > > M = Medlin = Last Name
>> > > > etc. for each of the fields.
>&g

Re: HABTM & Belongs_To Together?

2008-10-11 Thread Xavier Mathews
Hello Keith i am sorry that this is still a problem for you. Maybe i can
assist you.

First i need to know if you are getting any error messages?

Then i would like to refer you to this site to see if there is anything
there that will help you!
http://www.phpfreaks.com/

As far as your problem i will run a few test and search and work with you on
that and then i should be able to provide you with some results.

I am sorry that non-of the Tech were able to get to your post sooner. We are
a little busy.

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."







On Sat, Oct 11, 2008 at 9:58 AM, Keith <[EMAIL PROTECTED]> wrote:

>
> Hi Villas,
>
> I tried clearing out the cache and that didn't fix it unfortunately.
>
> I have the max debug level set.  The code appears to be operating as
> programmed.
>
> I tried a simple habtm with belongs_to in a scenario where I only had
> those two models and still got the same results.
>
> I think it's a problem with how CakePHP is creating the array.  The
> first element in the array has no numeric identifier.  If you look
> back at the screenshot in the initial post you'll see that the first
> entry in the array is not [0] but rather is called [id] as it would be
> when there is a belongs_to and not a HABTM as well.
>
> Unless I can figure something out I'm going to go ahead and just
> report it to cakePHP as a bug because there are legit reasons, like
> the one I'm building, where you'd want a habtm with a belongs_to in
> the same model.
>
> - Keith
>
> On Oct 11, 8:14 am, villas <[EMAIL PROTECTED]> wrote:
> > Hi Keith
> >
> > Thanks for the extra info although it still isn't very clear to me
> > from that what's going on.  However,  I would mention:
> > 1. Are you clearing your cache?  You might have old data hanging
> > around.
> > 2. Did you try to set a higher debug level to get more info?
> > 3. Did you try to experiment with Bake?  You can try different
> > scenarios which you should be able to get working without too much
> > sweat.
> >
> > Best regards.
> >
> > On Oct 11, 6:31 am, Keith <[EMAIL PROTECTED]> wrote:
> >
> > > Just as a clarification on why I have it set up this way...
> >
> > > The belongs_to is there because the users that creates the project
> > > becomes the owner.
> > > The has_and_belongs_to_many is there so that if a user wants someone
> > > outside their department to access it they can manually add them.
> >
> > > The problem looks like it's stemming from how cakePHP is handling the
> > > array...
> >
> > > for the belongs_to the array keys are based on field names like [id] &
> > > [first_name], etc.
> > > for the HABTM array the array keys are sequential as the "related
> > > users" foreach loop expects.
> >
> > > - Keith
> >
> > > On Oct 11, 1:18 am, Keith <[EMAIL PROTECTED]> wrote:
> >
> > > > It looks to me like this is what is happening, but it's very
> > > > strange...
> >
> > > > Even when no users are associated I'm getting 8 blank associated
> users
> > > > which is exactly how many elements are in the array...
> >
> > > > So...
> >
> > > > It looks like it's taking the first character from each part of the
> > > > first entry in the array and putting it there...
> > > > K = Keith = First Name
> > > > M = Medlin = Last Name
> > > > etc. for each of the fields.
> >
> > > > So...I'm totally confused why the following code would produce that:
> >
> > > > SQL Query:
> > > > SELECT `User`.`id`, `User`.`first_name`, `User`.`last_name`,
> > > > `User`.`email`, `User`.`date_created`, `User`.`last_login`,
> > > > `User`.`username`, `User`.`password`, `ProjectsUser`.`user_id`,
> > > > `ProjectsUser`.`project_id` FROM `users` AS `User` JOIN
> > > > `projects_users` AS `ProjectsUser` ON (`ProjectsUser`.`project_id` =
> 1
> > > > AND `ProjectsUser`.`user_id` = `User`.`id`) WHERE 1 = 1
> >
> > > > Which returns a normal looking data set in SQL...
> >
> > > > Relevant View Code:
> > > >  > > > $i = 0;
> > > > foreach ($project['User'] as $user):
> > > > $class = null;
> > > > if ($i++ % 2 == 0) {
> > > > $class = ' class="altrow"';
> > > > }
> > > > ?>
> > > > >
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> >
> > > > project['User'] is what you see dumped above the related users table
> > > > so you can see that the array doesn't look strange in any way.  Is
> > > > this possibly a bug that needs reporting to the CakePHP trac?
> >
> > > > - Keith
> >
> > > > On Oct 10, 11:58 pm, Keith <[EMAIL PROTECTED]> wrote:
> >
> > > > > Thanks f

Re: 500 Internal Server Error - GoDaddy

2008-10-11 Thread Xavier Mathews
Are they even compatiable?

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."







On Sat, Oct 11, 2008 at 12:37 AM, Keith <[EMAIL PROTECTED]> wrote:

>
> There are a ton of great hosting services out there.
>
> I have been on Westhost for about 5 years now and have loved working
> with them.  I've got 3 clients on Westhost and they too have loved
> them.  I had 2 clients train me on how to do their site updates and
> they have been working directly with Westhost as a non-techie group
> and they have called me up to thank me for having them hosted with
> them.
>
> I have heard good things about other hosts like site5, etc.
>
> Honestly, the best thing you can do is find someone locally who has
> had a great experience hosting and just talk to them and get them to
> log in and let you play around navigating the control panel, get into
> the shell and play around, and call the hosting services sales / tech
> support lines and talk to them one on one.
>
> On Oct 10, 10:41 pm, djXternal <[EMAIL PROTECTED]> wrote:
> > I e-mailed them twice now and the only response I can get from them it
> > "we do not offer technical support for third-party applications" I
> > asked if they could get me the logs relevant to my site for me to do
> > the troubleshooting.  So instead of trying to setup cake on godaddy,
> > which from what I've been reading seems to be difficult.  I am looking
> > for a new hosting service.  If anyone knows of a good hosting service
> > that cake will work on please let me know.
> >
> > On Oct 9, 1:54 pm, "3lancer.eu" <[EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> >
> > > > I don't have access to the Apache logs, and I have spent a few days
> > > > looking for a solution to the this problem and have had no luck
> >
> > > Personally, I'd suggest you spent 5 minutes on e-mailing GoDaddy
> > > instead. If you don't even have the Apache logs there are just too
> > > many possibilities...
> >
> > > Regards,
> > > Piotr
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: tilted table headers in cake...

2008-10-11 Thread Xavier Mathews
What kinda question is this??? This is CakePHP so the question that you
asked is accepted here! As far as the code you may wanna check out this like
or go to google search codes!

 http://www.phpfreaks.com/

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."







On Sat, Oct 11, 2008 at 12:56 PM, Ed Drain <[EMAIL PROTECTED]
> wrote:

> Ok, I am not even sure this is as much a cake question as it is a php/html
> question
>
> I'm writing this app that keeps track of grades and one of the things I'd
> like to do is have one overarching header that describes what category of
> grades is below it in a table, and then (here comes the question) underneath
> the category name I would like to have the dates tilted 45 degrees and have
> grades for each person under the dates they were due.
>
> is there any cake code out there that lets you set up tables like that?
>
> or php code that does?
>
> I know you can create graphics on the fly that can be tilted to any degree
> measurement you want, but I haven't figured out how to have the tilted
> column lines on either side of a due date line up with the straight
> vertical  column lines
> of the rest of the table
>
> Any help is appreciated.
>
> thanks
>
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: how to create table in database from cakephp

2008-10-10 Thread Xavier Mathews
Ok so i ran some searches and i did not find anything. I don't think that
you can do this with MYSQL but you should be able to with PHP!
God i am lost this is a hard question.
Here is a link!

http://www.phpfreaks.com/

Hope this help!

Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."







On Fri, Oct 10, 2008 at 3:49 AM, gunung pangrango <[EMAIL PROTECTED]>wrote:

> Hello everyone??
>
>
> i'm newbie in cakephp and now i'm develop web application with cakephp and
> mysql...
> in my application user can add table or add field table from user
> interface...such us phpmyadmin user can define table name , field name ,
> field type and more...
>
> and now i want to know how to create that application using cakephp and
> mysql...
>
> thanks for ur help...
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---