AllowOverride makes it possible to use .htaccess files. But it's weird
they have mod_rewrite enabled but no AllowOverride because you won't be
able to make use of mod_rewrite without .htaccess . But you can still
use cake without it as the others say
--~--~-~--~~~---~
I have to apologize it seems that the manual section on plugins is empty, sorrySam DOn 6/8/06, Samuel DeVore <
[EMAIL PROTECTED]> wrote:It really depends on what you are talking about with modules, probably the cake equivalent to what most people are referring to with modules. Would be the plug in
It really depends on what you are talking about with modules, probably the cake equivalent to what most people are referring to with modules. Would be the plug in notion. Where one can have mostly self contained functionality that may be shared among multiple 'applications' I believe there are s
great, thanks nate..
and what about of upgradability..
I mean, the creation of quick-to-install modules to upgrade easily once
the server is in production.
bc I see that the structure of Cake doesn't allow modules in an easy
way.. which is your suggestion in this case? elements maybe?
thanks
Los Cracks se los puede hacer uno mismo ? ( Ahora entiendo en parte al
Barça )
Entonces no me extraña que haiga buen futbol, si cualquiera se puede
hacer un Ronaldinho, Messi & CIA.
Tan mal esta no crackear ?¿? No creo que sea pecado descargar un
crack, si ya te has descargado el juego ( progr
Hi to all cake bakers,
I am using session based authentication and I want to update a record
based
on information supplied on a form submission.
If i use the standard save function, the record will be saved based on
the id of the record i supply
update some record WHERE ID = $ID
The problem
Any decent, properly configured server can handle an excess of 100
requests per second without much trouble.
http://groups.google.com/group/cake-php/browse_thread/thread/01ec507a146fa29b
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Per the screencast page:
Download the latest QuickTime:
http://www.apple.com/quicktime/download/
--~--~-~--~~~---~--~~
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@googl
what if look at Appointment being the relation table between Client and
Counselor in a HABTM relation?
[EMAIL PROTECTED] wrote:
> I have an interesting situation:
>
> I have a Model Appointment as follows:
>
> id
> client_id
> counselor_id
> start_time
> end_time
>
> I have a Model Client as fol
Hi,
I'm near to start a new project, a company management tool, and I'm
interested to know about speed and stability of Cake for a robust
intranet application instead of do everything from scratch and
customized.
The intranet have around 300 continous users and the application will
have many req
Hey guys,
I've been trying to see the Videos on the site but I keep getting
errors without any Plugin messages, etc. Is there a Plugin I should try
to download or something?
I love the fact that there's videos associated with this Framework and
would love to check them out! :-)
Thanks,
Clint
It really wouldn't be a has one though. What if a counselor goes on
vacation, dies, quits, etc... A client could still have many
counselors (just usually the same one). A counselor would have many
clients. And they both could have many appointments.
I think you are going to need some join table
> This thread ended with [josh southern] discovering that the
> $displayField var being defined causes afterFind to behave peculiarly,
> but [nate] dismisses this posibility on the grounds that they are
> supposably unrelated.
It's "supposedly".
> However, this is certainly not the case. I have
I have an interesting situation:
I have a Model Appointment as follows:
id
client_id
counselor_id
start_time
end_time
I have a Model Client as follows
id
firstname
lastname
I have a Model Counselor as follows:
id
firstname
lastname
I want to do a Appointment->findById() and get all the asso
The chapter on Models should get you started here.http://manual.cakephp.org/chapter/6Basically you need to query your model using $this->Post->find($yourparamshere) which will return an array of results.
If you do a pr($result) it will output the structure of your array in the browser and you can s
If I had been using phpcake for 3 months it would probably have been
clear to me where it should go, but its been about 3 weeks so you'll
need to bear with the n00b questions for the time being.
thanks Oth for making this available.
Pat.
--~--~-~--~~~---~--~~
Yo
http://groups.google.com/group/cake-php/browse_thread/thread/c5709f46064b4106
This thread ended with [josh southern] discovering that the
$displayField var being defined causes afterFind to behave peculiarly,
but [nate] dismisses this posibility on the grounds that they are
supposably unrelated.
nate wrote:
> I'm guessing the performance part is your biggest concern here, so just
> read the part of the message after (2).
You got it! However small the performance impact is, i still think it
would make much more sense to only load needed models. In a server
serving over 7000 users, with pe
BTW, the error is a 404 Not Found in browser title, but does not say
404 in the body
--~--~-~--~~~---~--~~
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
T
Hello AD7six,
I'm running Apache on Windows (with WAMP). I did a quick test and
mod_rewrite is not working, I didn't think it did in windows.
But, I did have Cake up and running w/ WAMP before. And I didn't have
to do anything special to get it working then. That is why I assumed
something el
Do you mean something like this?
https://trac.cakephp.org/ticket/770
--~--~-~--~~~---~--~~
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 fr
They said they have mod_rewrite but there's no AllowOverride in httpd.conf and they won't put it in. Will commenting that line out still work?On 6/8/06,
RosSoft <[EMAIL PROTECTED]> wrote:
If you don't have mod_rewrite, uncomment define('BASE_URL' fromapp/config/core.php
--~--~-~--~~--
If you don't have mod_rewrite, uncomment define('BASE_URL' from
app/config/core.php
--~--~-~--~~~---~--~~
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
Is there anything special you have to do? Or does Cake figure it out for you?Thanks,ZachOn 6/8/06, nate <
[EMAIL PROTECTED]> wrote:You can use Cake with or without mod_rewrite (AllowOverride) enabled.
--~--~-~--~~~---~--~~
You received this message because you are
You can use Cake with or without mod_rewrite (AllowOverride) enabled.
--~--~-~--~~~---~--~~
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 f
IT makes perfect senses. Question number two is solved. On question
one I figured that was the answer, but I guess my real question is how
do I retrieve the title of the blog post from the database in the
controller before I use $this->pageTitle = $PostTitle;? I know how to
do this using php,
My web host (netfirms.com) apparently doesn't use the AllowOverride
setting in the section of httpd.conf. Is there any way I
can get around this to still use Cake on their server?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On 8-Jun-06, at 12:44 PM, [EMAIL PROTECTED] wrote:
>
> So I think I finally got Cake working on a Mac. Here's what I did:
> - reinstall OS X 10.4 & get all updates
> - install MySQL 5 from www.mysql.com
> - install php5 from www.entropy.ch
> - install TinkerTool from http://www.bresink.de/o
I am back into this problem once more. (are we the only two people on
the planet that are working on these things?) Last time I did something
similar to what you describe here and it worked fine since I only had
one relevant controller and action. However I imagine this
functionality really should
So I think I finally got Cake working on a Mac. Here's what I did:
- reinstall OS X 10.4 & get all updates
- install MySQL 5 from www.mysql.com
- install php5 from www.entropy.ch
- install TinkerTool from http://www.bresink.de/osx/TinkerTool.html to
show hidden files (you'll need this to view
Just kidding, forget about it. I already added the table id thing. It
should show up in the nightlies in the next few days.
If you want to keep debug mode on, but not show the query dump, just
set DEBUG to 1.
--~--~-~--~~~---~--~~
You received this message beca
Hello and Hi
Today, I tell you another Best
Website for finding the best job.
Please check this link and enjoy
your dream job.
http://www.it-jse.com
Special thing about this website
is, they are presenting direct links to jobs.
They are using only Direct
Employers and not using Staffin
Cool - I'll do that - after thinking about it I'd prefer that the
query log got included with $cakeDebug - or maybe a seperate variable.
j.
On 6/8/06, nate <[EMAIL PROTECTED]> wrote:
>
> We're working on making the debug settings slightly more flexible for
> Cake 2.0. Adding an id to the table
http://groups.google.com/group/cake-php/msg/0ea232e941449914
I'm guessing the performance part is your biggest concern here, so just
read the part of the message after (2).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
We're working on making the debug settings slightly more flexible for
Cake 2.0. Adding an id to the table is also a reasonably good idea.
If you go to https://trac.cakephp.org, you can submit an enhancement
ticket for it.
--~--~-~--~~~---~--~~
You received this m
sicapitan wrote:
> just seemed a bit excessive to have 1,000,000 files for 1,000,000 tables
Have you ever been to an airport in the US, and seen that big glass
container that shows all the things you're not allowed to bring on an
airplane? Well, at the John Wayne Airport in Orange County,
Califo
nate,
Thanks for that - that works great! I've got one more related question
for the group.
I've had to make a small change to DboSource::showLog() to add a wrapper to the whole thing. (Guess I could have
added an id= to the table on reflection). This allows me to hide the
query results by def
True - for my app it was a good fit because it only reads from these
fields - updates are done elsewhere.
And older versions of MySQL don't support views - so that would be
another drawback.
--~--~-~--~~~---~--~~
You received this message because you are subscrib
Hi Larry,
> It is not badly integrated as I am the one who wrote it.
Sorry, I didn't mean to accuse anyone.
The thing is: I needed to install it after an extra download, although
testing should be a *very important* part of the whole development
process.
The only available documentation is
htt
Actually, I lied. Based on a comparison of the number of users in
Symfony's forum to the number in ours, we have 80% more active users,
and are on track to double them in the next month or two.
--~--~-~--~~~---~--~~
You received this message because you are subsc
It is not badly integrated as I am the one who wrote it. -- /*** @author Larry E. Masters* @var string $userName* @param string $realName* @returns string aka PhpNut* @access public
*/On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:Hi again,I currently got around the bugs I described befor
Hi again,
I currently got around the bugs I described before (even I really would
like to have them fixed officially), but now got stuck with how to use
the test code I got from bake:
object = new User();
}
function tearDown()
{
unset($this->object);
As far as generateList( ), again: you could use afterFind to create the
concatentation as a virtual field. With respect to your afterFind
problem, I assume that not all operations require all virtual fields,
so for the parts that don't, simply wrap them in:
if (isset($results[$i]['Model']['field
everything is in the subject ...
--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL
Hi Everyone,
I am trying to connect to a MS Access database using CakePHP 1.1.3.2967
but I am having a bit of trouble...
I get the error message:
===
Your database configuration file is present.
Fatal error: Unable to load DataSource file dbo\dbo_adodb-access.php in
C:\Program
F
ill read that 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 from this group, send email to [EMAIL PROTECTED
The component & helper are called othAuth, if you read the conventions
chapter in the manual you'd discover that files names are under_score,
which means that othAuth should be oth_auth.php
the helper in app/views/helpers/
the components in app/controllers/components/
--~--~-~--~~---
I used the Post and Tags model as an example
http://manual.cakephp.org/chapter/6
I have a Contacts model that are essentially associated to two types of
tags via a join table:
class Contact extends AppModel
{
var $name = 'Contact';
var $hasAndBelongsToMany = array('Market' =>
Hi there,
I'm using TestSuite 1.0.0.5 (althout it says 1.0.0.0 in the browserm
but I downloaded it from http://cakeforge.org/projects/testsuite/)
together with CakePHP 1.1.3.2967 but cannot really get it to work.
In http://localhost/www/, there is my application running and when I
call http://lo
Hmm,
And in terms of normal development, whereby having 100 tables would be
considered large..? I think that if you really, really, really wanted
to, you could probably put all of your model class defentions into one
file; but there´s no escaping that there needs to be a model
defenition for each
just seemed a bit excessive to have 1,000,000 files for 1,000,000 tables
--~--~-~--~~~---~--~~
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 unsubscrib
Hi theMaab,
Having read your message again,
If you are getting a standard 404 - File not found error message, you
probably need to either enable mod_rewrite or switch to using cake
pretty urls. If this is the case there are instructions at
http://manual.cakephp.org/chapter/3 section 4 .
If you
On Thu, 08 Jun 2006 04:15:09 -0700
"100rk" <[EMAIL PROTECTED]> wrote:
> Way I'm using already in environment with many db tables is through
> plugins - their models are loaded only when some controller of this
> plugin is dispatched.
My app will also be divided in plugins. The problem is that mo
On Thu, 08 Jun 2006 13:12:08 +0200
Felix Geisendörfer <[EMAIL PROTECTED]> wrote:
> But may I ask what the heck you are working on?? 200
> Models? That sounds just straight out crazy
We're (re)building a university's integrated information system. Our
current database has 237 tables, although so
Way I'm using already in environment with many db tables is through
plugins - their models are loaded only when some controller of this
plugin is dispatched.
>Perhaps only the models used by the requested controller
...and all models in their associations...
--~--~-~--~~
Hi Gonçalo,
I've looked at the code and I think I can confirm this behavior, of all
Model files being included, so I kind of support
this request. But may I ask what the heck you are working on?? 200
Models? That sounds just straight out crazy,
not even big systems like drupal/typo3/mamob/etc.
Hi Mika,
There are only 3 ;), and if you are running in a production type setup,
there is only one that counts and it´s the one in your webroot.
http://manual.cakephp.org/chapter/3 (section Production Setup or
Alternative Installation Options)
Cheers,
AD7six
--~--~-~--~~-
what does the error message say, and does the file exist?
Cheers,
AD7six
--~--~-~--~~~---~--~~
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 unsubscr
Hi Sicapitan
What case/problem are you considering...?
You need a model file to define each of your models (Person.php,
Address.php, Order.php, OrderLine.php) so that Cake knows which models
exist. How else would cake know ...? Appart from looking for which
models are defined - to know their gen
:-) Great idea. I'll do that and will also embed the error message in
the model so I only have to edit it there not in the html form.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this
You can create your own helper, and this helper will return
$this->html->input() . $this->html->tagErrorMsg()
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to c
Helpers are helpers ;)
http://manual.cakephp.org/chapter/9
See "Using your Custom Helper"
Cheers,
AD7six
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cak
I just wisht the $html->input() can also render error messages so we
don't have to type twice in generating forms.
It should be flag to be on or off so those who don't want the feature
can turn it off.
--~--~-~--~~~---~--~~
You received this message because you a
Hi Reggie,
I don´t know if I´m on the right lines, here´s a useful link:
http://www.alistapart.com/articles/horizdropdowns (see making it work)
You would just need to create the relavent js file and include
something like this in your layout/head:
Of course, you will need to include the JS help
Hi.
Is there a way of not loading all models automatically at the bootstrap?
As far as i can tell by looking at the code, all models are automatically
loaded in the bootstrap process. I can see the advantages of this, since
we don't have to care about loading them ourselves.
The thing is that i
Which .htaccess file were you referring to, considering there are so
many?
--~--~-~--~~~---~--~~
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 unsubscr
I'm not sure what you find so tedious in that code considering that it
would be pretty much exactly the same in ASP.NET. Just substitute
Control.Text = "blah" for the $this->set commands :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hello,
I'm nearly finsihed with writing a medium sized page and the according
content magagement system. Both of them 100% cake. What I have not
thought about so far was, where to put images/files I upload through
the CMS that should obviously be available for display on the main
website. Any sug
Nickw, take a look at
http://cakeforge.org/snippet/detail.php?type=package&id=13
and
http://cakeforge.org/snippet/download.php?type=snippet&id=115
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To
I'll use a basic examle to explain my question. I have two tables with
the containing fields:
Customer => id, name , address, etc
Purchase_order => id, amount, item, customer_id
In the customer's management screen, he can see a list of purchase
orders and update them via a form.
I use the mode
I have cake setup with WAMP on WinXP.
When I go to the root of my cake install, it tells me Cake is working,
and can connect to my database.
I created my Model and Controller w/ Scaffolding. But when I try to
view it, my browser tells me file not found.
This is simpley the same as the Scaffold
71 matches
Mail list logo