Thanks for the very speedy update.On 5/9/06, Mika <[EMAIL PROTECTED]> wrote:
Api done too.
--~--~-~--~~~---~--~~
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.co
Ok then you should place a favicon.ico in C:\xampp\htdocs\The problem is FireFox calls this on the first request to the server, at least it used to.Check you Apache logs and you will see if this is the case.
So do like I suggested many post above. Add the file. You will see that most, if not all th
Ok so: first of all the problem occours only with Firefox, not with IE
why?
And I installed Cake into: C:\xampp\htdocs\process_strategy\
Web accessible path I assume is C:\xampp\htdocs so in browser:
http://localhost/process_strategy/
I feel we are near to the solution...
--~--~-~--~-
Api done too.
--~--~-~--~~~---~--~~
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]
For more
This is a "known issue" with mysql installations on OS X 10.4
the official workaround is posted here:
http://docs.info.apple.com/article.html?artnum=301457
Other people have suggested simply creating a symlink, which sounds
like a very sound recommendation. However, by the time I had read that,
cake-manual.chm released. Go get it...
--~--~-~--~~~---~--~~
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 [
Hi,
I'm just starting out with Cake and am going through the "Cake Bakery"
tutorial.
I'm at the point where you use bake to create your scaffolded views but
I'm getting this error:
"Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/var/mysql/mysql.sock' (2) in
/Libr
Dinh,I wrote this theme class a few months ago and have note checked to see if it would work with the latest release. But for the most part it should, when I make changes in the core, I usally am pretty good about not breaking other code I wrote.
http://cakeforge.org/snippet/detail.php?type=snippet
Hello all,Is there any way to develop a distributable template in Cake? I find that putting all template files in to a single view directory as instructed in Cake manual make it impossible to attach more than one distributable template into a single application. I wish that I can put all my templat
Authentication rears it's ugly head again.
I've been working on my own authentication scheme. I got it working on
a single controller, but I'm loathe to have to think of adding it to
every single controller. So I was trying out using beforeFilter in
cake/app_controller.php to perform the authenti
I want to connect my registration form to my User model -- a natural
thing to do. But the registration form has two fields that are not part
of the User model. First, I have a "verify password" where they input
the password a second time, so I want to use it to validate but not
store in the databa
Hi, Adam!
Try to use this:
http://cakebaker.wordpress.com/2006/02/22/new-feature-bindmodelunbindmodel/
--
Regards,
jtraub
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, s
you should look in the api for the bindModel and unbindModel methods for the model, I think it is what you are looking for, it's a little cleaner and the reset after you use them
http://api.cakephp.org/class_model.htmldoesn't seem to be in the manual yet, but there was a page in the wikiSam DOn 5/9
On 5/10/06, John Zimmerman [gmail] <[EMAIL PROTECTED]> wrote:
> Are there plans to continue releasing the manual in .chm format?
Yeap, just waiting on Mika to get the last one done.
He actually sent me one, but because it was probably not 2806 I didn't
included it and am waiting on Mika to update
In app/config/core.php on line 108:
/**
* Set Cake Session time out.
* If CAKE_SECURITY define is set
* high: multiplied by 10
* medium: is multiplied by 100
* low is: multiplied by 300
*
* Number below is seconds.
*/
define('CAKE_SESSION_TIMEOUT', '120');
Hope that helps,
Adam
--~--
Hullo,
I am basically posting the same question as thirdleaf on 2006-01-01 to
see if there is any more news or information.
I have two tables 'foo' and 'bar', which are joined by a HABTM
relationship with the table 'foo_bar'.
Sometimes I would like to use these associations, and sometimes not.
Thanks for the update.
Are there plans to continue releasing the manual in .chm format?
On 5/9/06, Gustavo Carreno <[EMAIL PROTECTED]> wrote:
>
> Hi there!
>
> New release of your packaged manuals.
>
> [Notes]
> Since the new look has been released, Mika had a going at it on the
> manual point o
Hi there!
New release of your packaged manuals.
[Notes]
Since the new look has been released, Mika had a going at it on the
manual point of view, but we both recognize it needs some improvement.
Grab it at: http://cakeforge.org/frs/?group_id=53&release_id=90
[Changelog]
[2806][john] Editi
I'm using the Cake Session component to store user login information.
This is a Web app for which the user will want to remain logged in
indefinitely. Right now, after a little while the session information
appears to be gone (and thus the user is no longer logged in). How can
I change this?
--~
Ok lets try this one last time.You DOCUMENT ROOT in the path where apache looks for the app/webroot.Where did you install cake? Is it in a sub directory of your web accessible path?If this is the case, or you do not have DOCUMENT ROOT set to app/webroot, then you need to copy the
favicon.ico to y
Ok, this is what I got:
Array
(
[Config] => Array
(
[rand] => 2397
[time] => 1147224143
[userAgent] => ed1c6dfd48691613681e0b701c02a7d4
)
[Customers] => Array
(
[id] => favicon.ico
)
)
--~--~-~--~-
I read through the manual in one go last week, totally forgot I had to
set up the associations myself.
Now that I've done it I can't believe how simple it is. I'm REALLY
starting to like this whole baking thing. Thanks John!
--~--~-~--~~~---~--~~
You received t
Gotta use model assocations - it makes this sort of thing so much nicer.
http://manual.cakephp.org/chapter/6
Looks like your Comment belongsTo Post, and probably Post hasMany
Comment.
Give the manual a look, and let me know if you have questions on it.
-- J
On May 9, 2006, at 1:47 PM, rober
Ok.
In your view (at the top) do the following and then send us the output
when you view your html page.
";
print_r($_SESSION);
print "";
exit;
?>
This should give us the contents of your session while your view is rendering.
On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Here it
Are you using Cake to define model associations?Looks to me like:Post hasAndBelongsToMany CategoryCategory hasAndBelongsToMany PostSo tables would look like:posts- id- title- bodycategories- id- name - desccategories_posts (HABTM tables are plural of both models, in alphabetical order)post_idcatego
I'm having a similar problem simply trying to add comments to posts.
I've tried to get a list of comments that would be associated with a
single post by adding
$this->set('comments', $this->Comment->findAll("WHERE post_id =
'$id'"));
to the view() function under posts_controller.php but that lin
Hello, I'm new to cake and i'm having some trouble getting things done
but i'm sure i'll get used to it once I understand how certain things
work in Cake. The problem i'm having is that I cant associate different
models, like fetching data from 3 different table at the same time with
the help of f
Here it is man:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>
CakePHP : A Rapid Development Framework :: Projects
Registered Projects
Id
Project
1
Geran B
Wrap your entire before filter in
if (in_array($this->action, array('protected', 'actions', 'here')))
{
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake
Hello,
Is there any cakephp equivalent to the rails-fashionned "only" and
"except" parameters for beforeFilter? I'd like to protect some parts of
my controllers thanks to beforeFilter, but I don't want to check for
permissions for every controller action.
Good evening,
Pierre
--~--~-~
function beforeFilter()
{
parent::beforeFilter();
$this->set('USER_LOGGED_IN', $this->Session->check('User.id'));
}
in Your controller (or in Your AppController - for whole application)
could works fine.
--~--~-~--~~~---~--~~
You received this message bec
John,
Yes it is making it that far !!
As I showed in my 1st post
http://10.1.39.52/maxmympg/vlogs/add/4
is what is seen in the browser URL.
The problem seems to be from what you told
me is that the "4" is not getting passed to the
vlogs_controller "add" action when the /vlogs/add
page is viewed or
When your page is rendered view the HTML source in your web browser.Send us that code so we can see where things are getting printed out too.On 5/9/06,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Well it's in the default app/webroot directory.How can I see my document root?
--~--~-~--~--
of course, John actually meant to use
$this->controller->Session->check('User.id');
not empty($_SESSION['uid']
An element is also a nice to for a check like this.
happy baking.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Well it's in the default app/webroot directory.
How can I see my document root?
--~--~-~--~~~---~--~~
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 un
I wouldn't balk too much at something like
Logout
in a view.
Just my opinion though. I mean I guess you could put something in the
controller that would tell the view if you're logged in or not (which
I *would* do if you're checking login status more than once in a
page), but I don't kn
Oh thanks! I was expecting you to suggest me Ajax use...well can you
suggest me any good Ajax help to do this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to c
I'm working on extending the blog tutorial a bit and part of it was
rolling out a user auth system. This was actually quite a bit easier
than I expected, and I've even set it up so that one only needs to be
logged in to add, delete, or edit posts.
So my question is this: I'd like for a logout bu
hi
it's not a problem with mysql itself (otherwise, it would return
something like "unable to connect")
I'm no expert (and all this depends on the way you 'upgraded' php4 to
php5), but maybe it comes from a wrong setup of php5.
in php.ini (the one for php5), in the extension (module) section I
ha
What URL are you trying to access?
Does your form action have the ID in it?
..
?
-- John
On May 9, 2006, at 9:47 AM, Dusty wrote:
>
> John,
>
> Thanks for the help !! Basically I have already tried that
> and for some reason I get the warning "missing argument for add()
> in /vlogs_con
John,
Thanks for the help !! Basically I have already tried that
and for some reason I get the warning "missing argument for add()
in /vlogs_controller.php. So I must be doing something wrong
or not have something set up correctly. For some reason it doesn't
see the $id variable being pass
I found the problem : i use cake under windows and then i can't see the
error message .
This day i try to install cake under debian and it's ok i can see the
error message .
Perhaps it's due to easyphp , i don' t now exactly .
thanx to BoBB
Tinmar
--~--~-~--~~~---~--~
On May 9, 2006, at 9:05 AM, Dusty wrote:The problem is that the vlogs page knows nothingabout the "4". All of my relationships in my models andcontrollers and tables is correct I believe.How do I tell the "vlogs" model the right "vehicle_id"top insert the record with. What is the correct "cake"wa
Hello,
I need a little help with a simple application
I am building. I already have most of it done
except that I cannot figure out how to pass the
right "id" from one model to another. I have
a model "vehicles" which has a hasMany relationship
with a model "vlogs". The model "vlogs" also has
Linux - Fedora Core 4
Apache 2.0.54
MySQL 4.1.16
PHP Version 5.0.4
--
phpMyAdmin - 2.8.0.3
Mod Rewrite is on
Allow Overrides is set to All
I've learned this stuff over the last 5-years by doing, sort of the
organic method, so I'll admit there are glaring ga
Thanks Felix. I'll try both and let you know. ;)
--~--~-~--~~~---~--~~
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
You "only" use the admin route to gather administrativ actions under a
common base URL. It has nothing to do with authentication it is all
about URL translation.
To set authentication you still need to do that in the controllers and
actions just like you would do without the admin route. If you d
hya,
Is there any way to the admin routes use passwords ?
I mean... it's great to have this so simply set on the controler, and
everything. But if I can't set a password to it, it's not that useful,
is it ?
Using .htaccess , maybe ?
--
[web] http://synapsisdi.com.br
[livesets] http://djspar
i tried it last night, and I got this message:
_ _ ___ _ _ ___ ___ _ _
||__| |_/ |___ |__] |__| |__]|__] |__| |_/ |___
|___ | | | \_ |___ || | | |__] | | | \_ |___
---
[M]odel
[C]
I restart my server... I think that is vertrigo problemn
hydra12 escreveu:
> After uncommenting the load module for mod_rewrite, you have to restart
> the service for apache to get the changes to httpd.conf. I forgot to
> do that once, and couldn't figure out what was wrong . . .
>
>
> >
>
-
After uncommenting the load module for mod_rewrite, you have to restart
the service for apache to get the changes to httpd.conf. I forgot to
do that once, and couldn't figure out what was wrong . . .
--~--~-~--~~~---~--~~
You received this message because you are
Hey Logan,
alright it seems like there are a couple of new ways to do this since
the last time I checked.
One of them is to put a create a file app/error.php that will be your
own ErrorHandler for all CakePHP errors. Checkout cake/libs/errors.php
if you need to know how this needs to look. You c
Calzone: CakePHP is so user friendly that it doesn't require to understand how everything works to start programming. Just follow the conventions and you are done.Now, if you really want to know how everything is working under the hood then is necessary that you know PHP programming basics.
When I
Options FollowSymLinks
AllowOverride All
it's all
Mika escreveu:
> Also make sure thay AllowOverride is not None.
>
>
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to
Also make sure thay AllowOverride is not None.
--~--~-~--~~~---~--~~
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 em
What response did you get?
--~--~-~--~~~---~--~~
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 PROTEC
Can't make module rewrite works on VERTRIGO SERV.
I just uncomment the #load module..
but still not works...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send ema
Hi,
I am stuck on something that is very simple in concept but I just can't
get it to work right.
I have a HABTM relationship where I want an action to simply add or
remove links between items. Not delete the "real" records themselves
but in SQL terms: just add/remove a line in the linking table.
Hi Mika,
It seems to be broken, it didn't worked.
--~--~-~--~~~---~--~~
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, sen
Hi,
I need to make a select box with name of people. I need it to show
(Last name, First Name). In the databsase, i have two fields,
first_name and last_name.
I need to retrieve the data for a select box. I know i can do it with
findall but i'dd rather do it with generatelist. the problem is i ca
I think the best solution is using ajax. When a customer is selected,
call a function to retrieve the assessments with the customer id and
display them in a new box.
Of course you could do it without ajax by adding a condition before
save() to rerender the view with an assesment box.. but it's le
Ok so, the favicon.ico location is not the problem because I neverchanged roots.
Is the favicon.ico in your DOCUMENT ROOT?
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
--~--~-~--~~~-
Ok so, the favicon.ico location is not the problem because I never
changed roots.
I'm using Windows XP Home, Mozilla Firefox latest version and CakePHP
cake_1.0.1.2708.
Here's the code:
1) this is the controller of customers, the first page I access
Session->renew();
$t
The problem is that when I need to read the "Customers.id
" value I geta strange text: "favicon.ico". How can I avoid that?Thanks to all for the help!Try adding the favicon.ico to your DOCUMENT ROOT.
There is one in the app/webroot/ copy it to your DOCUMENT ROOT
If you have DOCUMENT ROOT set to
What operating system are you using? What version of cake? Could you
post the code for your view?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@goo
My problem now is that: I have a class that defines users and users are
linked to assessments via a foreign key assessment_id. An assessment,
is linked to a customer via a foreign key customer_id; now the
challenge is that when I'm creating the "add.thtml" view to insert a
new customer I'll have 2
Hi.
Well, @AD7six: yes, in the view file I set the instruction to print the
number stored in the session but when I open it with the browser it
doesn't print the number but 'favicon.ico'
And to hydra12: well everything works well and I'm pretty sure also
because the system works well without the
Hi Alberto,
>> And nothing...I get always that "favicon.ico".
What exactly does this mean?
Are you saying that
... rest of file ...
in your view file outputs
favicon.ico ... rest of file ...
?
AD7six
--~--~-~--~~~---~--~~
You received this message because yo
Try this (for testing purposes):
function index($id='1')
{
//$_SESSION['Customers.id'] = $id;
$this->set('data',$this->Assessment->findAllByCustomerId($id));
}
Obviously, you'd replace the '1' in the function def with an id you
know is val
Yes, I tried the method you suggested me too...this is a big issue for
me because I need to use sessions.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-p
sorry that was supposed to be bake.php was broken.
--~--~-~--~~~---~--~~
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, se
Well if you're using the latest build (because build.php was pretty
broken for a while) you can go to your /cake/scripts directory and run
"php bake.php" from there. This is assuming that you have the path to
your php.exe in your path environment variable.
--~--~-~--~~~--
Hey thanks, the links which you provided helps lot and i had small
doubt with the tutorilas which i gone through.
While creating the Controllers, they have used the command line like
"php bake.php -app bakery"
it ask some set of question builds fully created file with the
functions.
Can we run t
Pandora Squared - Web 2.0 and Business Consulting
(http://www.pandorasquared.com)
Pandora Squared is one of the leading companies focused on Web 2.0 and
Social Networks. We are a multi-national organization with offices in
San Francisco, Sydney and Manila. We are seeking for passionate
individual
I'm a new cake (1.0.1) user and have been trying out the tutorials etc,
it all looks good so far.
The problem I've had is with the $this->log() function. I was getting
permissions errors about creating the file wherever the function was
called.
I'm using Apache2 on Ubuntu, and the function tries
75 matches
Mail list logo