That's a tough one! :-)
I cannot give you a straight answer for that one because I never
needed that but I can try to give you some clues. Please note that
these are just ideas and they might not even be possible.
Also, please check that Cake cannot supply to DB connections to the
same Model bef
Hello,
I assume that you mean "3 schemas" when you say "3 databases".
I think you can select which schema you want to use on the fly.
You can define the dbconfigs on the appropriate file and then switch
between them using the model's $useDbConfig var.
As of putting the models and controllers on
Hi,
In fcat that's wierd...it shouldn't be happening...
Did you defined any rules on inflections.php (it's in $PATH_TO_CAKE\app
\config)?
Also, what Cake version you're using?
Cheers!
On Mar 25, 6:53 am, "Stacey" <[EMAIL PROTECTED]> wrote:
> hi all,
>
> i'm playing with bake for the first t
Yes, thanks to all you moderators...
Don't take my comment personal, it was just a question, not some form
of group-oriented rage... :-)
If you need assistence on something concerning Cake-PHP group you can
count me in!
I want to give back to the group what it has given me...and that might
not b
Mariano,
You can't imagine how many times I feel like this:
"The silent and unheard scream of a fed up individual"
I understand you had to do it... ;-)
Is anyone cleaning the group from messages like this (or, I might add,
from any messages that don't fit here, such as messages on native
lang
ECTED]> wrote:
> In my case my solution was:
>
> define('CAKE_SESSION_SAVE', '');
>
> Is a good solution?
> thanks.
>
> On 7 mar, 03:52, "bingo" <[EMAIL PROTECTED]> wrote:
>
> > Hi mindcharger,
>
> > Thanks for
!
On Mar 6, 10:39 am, "bingo" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I checked my phpinfo() details and over there it shows
> session_cookie_lifetime = 0. Is this the same cookie_lifetime you were
> talking off or is there some other...I don't have access
sion always remain active...
>
> looking forward for some insights
>
> regards,
> bingo
>
> On Mar 3, 8:09 am, "mindcharger" <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > Do you the PHP Sessions active?
> > This is not CAKESession, is PHPS
You have to move your apache documentroot to point to:
/PATH_TO_CAKE/app/webroot
For ex, if you have cake installed on C:\Cake
Change de DocRoot to
C:\Cake\app\webroot
This is easy to do...just edit Apaches httpd.conf file!
Good luck
On Mar 2, 7:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]
Hello,
Do you the PHP Sessions active?
This is not CAKE Session, is PHP Session.
To check if you have the PHP Sessions active go to your php.ini file,
find the 'Session' section and check for something like this:
session.auto_start = 1 //This will turn on the session
session.gc_maxlifetime = 14
AFAIK the wiki is off...
Try:
http://bakery.cakephp.org/
Good luck!
On Feb 27, 11:55 am, "Mech7" <[EMAIL PROTECTED]> wrote:
> Does anybody know how i can reach the wiki? I found this link thru
> google but i can't acces it :(
>
> http://cakebaker.42dh.com/2005/12/31/form-validation-with-ajax/
Also, you can increase the memory assigned to a PHP script (just look
into php.ini) so the script can use more memory, which in your case
means extra capabilities to hanlde more data...
Cheers
On Feb 23, 9:36 pm, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On Feb 23, 2007, at
Yep...Tarique's absolutely right!!
You want to see all the "notices" while developing...because "notices"
are something you don't want your customer tonotice!! :-)
I think that it would be pretty straightforward to correct those
"notice" causes...
cheers
On Feb 24, 4:24 am, "Dr. Tarique Sa
Hello,
Do you have a valid index.thtml page for the model "Article"?
Sorry to ask such a stupid question, but sometimes when stupid things
happens you must ask stupid quesions...
Your problem is interesting, because when you access http://dev.reya.de/articles
you actually have a page returned, b
Hello again!!
I think I've found a way to solve my problem...
I do the table creation before saving (using beforeSave() as opposed
to afterSaave())
and use the
$this->exists()
method to check wheter or not my Model instance already exists...
I think it's pretty straightforward...but I might b
Hello!
Many thanks to Mariano and Wood for your inputs.
You know, I'm having a little trouble making the
"function afterSave()
{
if (!isset($this->data[$this->name]['id']) ||
empty($this->data[$this->name]['id']))
{
// We just created the record
}
} "
s
Isn't there any way to "purge" the groups posts?
There would be cool to have some kind of "moderation" that eliminated
duplicate questions and posts in other languages than English...
I know that moderating is a time consuming task, but there are ways to
distribute the load (a moderator for every
>From the error:
"I get following error when i try to save the view
Notice: Undefined index: Pnumber in /var/www/html/cake/app/controllers/
users_controller.php on line 22 "
I'd say that the Pnumber is not getting to the controller...
Do you have your "input boxes" in a form? Maybe you're not g
Hello!
Here's the thing, I'm a couple of weeks from deploying my application
and for this first version we will be using scaffolding for a "lesser-
used" system part...so the 'quit scaffolding and code it by hand' is
not an option (at least for a timely delivery...).
In my system, when you creat
As far as I understand your problem, you have a "scaffolding"
problem.
Scaffolding should be used for testing the models and DB structure. If
you need that level of custom adaption it's time to quit scaffolding
and supply your own VIEWS and CONTROLLERS.
If you create your own view you can use th
You shouldn't post your questions in any other language than English.
If you stick your posts to English everybody will be able to
understand what you say and help you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
On Feb 17, 6:41 pm, "Cynthia" <[EMAIL PROTECTED]> wrote:
> I have a list of topics and each topics hasMany issues. After
> scaffolding I have used bake.php to create the MVC's.
>
> When I view the issues they paginate.
> When I view the topics they paginate.
>
> But when I view a single issue, I
Hello,
I see many possible problem sources here:
1) Database structure: how are you associating the topics and issues o
the DB?
2) Cake Model Association: how are you telling Cake to fetch the
results? Does each issue "belongsTo" one topic?
3) Bake.php: while bake.php is an amazing tool, you sho
Several suggestions ;-) :
1) create a new script called pi.php and put just this inside:
Then put it on your web root and access the script. You'll see the
neat phpinfo() page...look for the "session" part and make sure that
you have these values:
Session Support:enabled
session.auto_
After running a couple of tests I must say that cake DO retrieves the
"hasMany" part as well. My problem (or cake's problem...I don't
know...) was due to a MySQL table primary key having value '0'.
Don't know if this is a bug, or is supposed to be like so...
Now everything's fine...
Thanks agai
Hey!
Thanks a lot on your input.
I see it was my interpretation problem...so CAKE takes care of
$belongsTo but not of $hasMany...ok...so everything's fine with my
code and my head...
As of "You just need to set:
$this->Network->recursive = 1;
In your Network controller, and then you can call
Hey!
I think you need an Element...
Check this from CAKE manual:
"Elements
Many applications have small blocks of presentational code that needs
to be repeated from page to page, sometimes in different places in the
layout. Cake can help you repeat parts of your website that need to be
reused.
Not sure if I understood what you want to say, but to disable debug
just go to cor.php in (app/config) and set:
define('DEBUG', 0);
Cheers!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post
Hello,
Here's another 'hasMany/belongTo' question... :-)
I have read the user manual but either I didn't understood it or I am
goin' nuts... :-P
I have this DB structure:
Table 'users':
++--+--+-+-
++
| Field | Type |
views code dynamically. That is if I'm
understanding correctly what you want...
On Feb 13, 12:09 pm, "Hawk|" <[EMAIL PROTECTED]> wrote:
> Hi Mindcharger,
>
> your System sounds like the Problem i have.
> How do u create your forms? Hardcoded in cakePhp or dynamicly?
>
&g
If you like something simple, and light try:
Notepad++
Cheers!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe fro
Hello,
Here's what I did.
1) Put jpgraph as a vendor lib in the app/vendors folder.
2) Make a php script that receives the graph parameters you need
(height, width, title, x_data, y-data, etc...) and place it on webroot
3) call the script from your view with
You can pass the parameters via _G
ination. If threre's anything
else you want to know feel free to ask.
Cheers!
On Feb 9, 2:15 pm, "Max" <[EMAIL PROTECTED]> wrote:
> Hi Mindchanger,
>
> I will be interested in knowing more about the main requirements
> behind this... It looks interesting.
&
I think this is a fairly good opportunity to learn...
;-)
On Feb 8, 3:50 pm, "Károly Kiripolszky" <[EMAIL PROTECTED]>
wrote:
> Mostly because I don't know how to use the HtmlHelper in the
> controller... :P
--~--~-~--~~~---~--~~
You received this message becaus
Hi,
I think if you edit ans study the routes.php file carefully you might
be able to make it!!
Good luck
On Feb 8, 3:30 pm, Ámon Tamás <[EMAIL PROTECTED]> wrote:
> Max wrote:
> > I am looking for the same solution..
>
> Hmmm. I think it is a very difficult thing... :)
> I like to make something
Hi Hawk,
I'm currently developing a system that shares that "dynamic table
creation" requirement with yours.
As far as I understand the problem, it's more a DB issue than a CAKE
issue.
I don't know if it will help you, but I will try to explain how I did
it.
1) I have a table on the DB that "de
Hey Chris,
Thanks a lot for passing the infromation...
You've got such a nice blog...I will come back later to check it out
more carefully...
As of the "vendor()" trouble I see you solved the matter by placing
the lib on a different folder than the one suggested by CAKE. I've
used a workaround
Hello!
I need to use some graphic classes I wrote in my cake app.
This would be fine and simple to do with vendor() fucntion but the
damn thing won't work...no matter what I try...
Here's the thing: my graphic lib uses jpgraph and act as a wrapper for
jpgrah.
I have a folder in \app\vendors na
"This post will only make sense if you can see the diagram!"
Yes, that's a problem...I cannot see the diagram...probably Google
groups doesn't allow attaches or something.
I will try to answer you the best that I can, though...
Cake can take care of relations between the tables...just look in t
Hey Lance,
Thank you very much for your help!!
It was indeed a layout error...
The tag wasn't closed...I had put it there to mark the
"top of the page" section and to put a link on the end of the page to
navigate back to top...
It was one of that silly mistakes...by not closing CAKE freaked
ut sucess... :-(
Also two notes:
i) I know the code might not be perfect...but I'm still developing the
Business and Presentation Logic and things are changing on a daily
basis...besides I believe in the motto: "Permature optimization is the
root of all evil"... ;-)
ii) As for
Hello,
I'm having a problem with the HTML "anchor" tag ().
It seems that everytime I 'echo' something to the screen I get a
"nasty" ... tag pair enclosing whatever I'm doing. I'm using
Cake's CSS with a thing or two added, and the problem is that the
pair shadows other style classes I use.
The
Let's keep it in English, please...
It's better a "Bad English" than "No English".
If it's "Bad English" everyone can understand and help...if it's
Portuguese or whatever language, only those who speak that language
will be able to follow.
You are free to use "Reply to Author" and speak whateve
Hello!
I'm getting a weird error with dayOptionTag function from the
html-helper.
I have a thtml on the appropriate path with the following content:
dayOptionTag('Network_Summary', null, null, null,
null, false); ?>
And I get two errors of the following type:
Notice: Undefined offs
Thanks a lot for pointing me a direction, Anselm...
I think that might solve my problem...it's just a matter of putting
hammer into anvil...
Once again, thanks!
On Jan 12, 2:15 pm, "anselm" <[EMAIL PROTECTED]> wrote:
> So, there is never a really a static Model for the
> tables, because the
Hello to everyone.
I have searched all through CAKE's manual, and suggested links, as well
as through all of this group's posts but wasn't able to find anything
similar to my problem. If this is a really easy
question I appologize, but I've started with CAKE just two days a go...
I'm working on
46 matches
Mail list logo