On 4 jun, 08:22, jeff_m <[EMAIL PROTECTED]> wrote:
> I'm running into an issue with getting acm admin cpanel to make the
> first session read on line 33
>
> if($this->controller->Session->read('ACM.AutoLoad')){ ?>
>
> which causes
>
> Fatal error: Cal
I'm running into an issue with getting acm admin cpanel to make the
first session read on line 33
controller->Session->read('ACM.AutoLoad')){ ?>
which causes
Fatal error: Call to a member function read() on a
non-object in
C:\
I have written the below code to display checkboxes after implementing
habtm helper class (from bakery)
controller code:
$this->set('languages', $this->Language->generateList(
null, null, null, "{n}.Language.language_name",
"{n}.Language.language_id")
We are looking for a local baker, please refer to details below:
We are looking for an A-player who is going to put forth an A+ effort
(with great results) to join a challenging web-based project. If you
have strong work ethics, are passionate about web development, bright,
hardworking, highly mo
For the helpers you can use model and field names that don't actually
exist. So you can have
$form->input('ExpenseDetail1.title');
$form->input('ExpenseDetail2.title');
$form->input('ExpenseDetail3.title');
and these will come into your controller as $this-
>data['ExpenseDetail1']['title'] etc
Thanks for all answers !!!
And sorry to post poors details.
I'm using php5 and installed prototype and scriptaculos
and my application should do this:
* load a page with a movie on the left;
* load some slides from right;
When an user play a movie the right side start to change some images.
Look at your code. You have:
if ( ... antiflood session set... ){
if (... too recent ... ){
... block post
} ELSE { <--- you are missing this
.. SUBMIT POST
}
} else {
... submit post
}
you are just missing the bits in CAPS, the case to submit the post if
they have previously
Hi Grant,
The query is fine. I can post 1 comment fine.. it inserts to db fine
and it sets the session for antiflood just fine. However, i'm not sure
on how to handle the checking in the add() action in the comments
controller since the comment is being posted from /news/view/$id
After I post 1
What was your debug level. CakePHP cahes models in /tmp/cache/models
and I have found that on DEBUG 0 they do not update instantly, however
on 1 or 2 they do. I think this might be for performance reasons
On Jun 4, 6:06 am, Allen Romero <[EMAIL PROTECTED]> wrote:
> thx. i had turned off scaffol
Check your singular/plurals etc.
Can we see some code
On Jun 4, 6:24 am, Allen Romero <[EMAIL PROTECTED]> wrote:
> ok. you're gonna think i'm completey crazy (and i am)
>
> i followed the 15 min blog tutorial (which was great by the way) and i
> tried copying that code to post to another table i
Do not create another category just for the site you added if there are NOT
enough sites on that category, and if you are NOT willing to categorize.
This list is not for self promotion, but to showcase work performed with
CakePHP.
Also, not for you but for other people, IS IT SO DAMN HARD to fol
ok. you're gonna think i'm completey crazy (and i am)
i followed the 15 min blog tutorial (which was great by the way) and i
tried copying that code to post to another table in my db.
i changed the names of everything to reflect this new table 'users'
and the new fields. Every time I try to post
Folks I just added Outloud.TV - our humble Upload Video To Amsterdam
local TV project never made that $1.6 billion despide we were first,
but hey, we love CakePHP!
Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
- or copy & paste it into your browser's address bar
thx. i had turned off scaffolding but that didn't work originally. i
later broke the files, by changing their names, then fixed them,
resaved them and magically everything started to work again. oh well.
now i'm debugging other issues :-)
On Jun 3, 3:07 pm, Joshua Benner <[EMAIL PROTECTED]> wrote
I tried to register yesterday and also had problems. assumed it was a
glitch in the matrix and i'd try back later. for me the screen was
just blank after the submit. on a mac using firefox 2.0.0.3
On Jun 3, 3:21 pm, paullwolborsky <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I wanted to post commentary o
I added my site to that page, thanks.
http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
をクリックします - クリックしても正しく動作しない場合は、コピーしてブラウザのアドレス バーに貼り付けます。
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "
Hi,
I wanted to post commentary on Evan Sagge's Validation code, and I'd
really like to contribute an article on atomic validation, but I am
unable to register to your site. The User/Add action is not
available.
Are you doing work on the Registration, or is Registration closed and
you're just u
http://en.wikipedia.org/wiki/Mock-up
On 6/3/07, phpjoy <[EMAIL PROTECTED]> wrote:
>
>
> great to hear! i'd love to see a better gui for the bakery.. slimmer
> gui, that is.
> what's a "mock up"? :)
>
> On Jun 3, 7:42 pm, gwoo <[EMAIL PROTECTED]> wrote:
> > Suggestions are more than welcome. If you
great to hear! i'd love to see a better gui for the bakery.. slimmer
gui, that is.
what's a "mock up"? :)
On Jun 3, 7:42 pm, gwoo <[EMAIL PROTECTED]> wrote:
> Suggestions are more than welcome. If you have an idea for better gui,
> put together a mock up and submit it as an enhancement to
> trac
Remove definition of $scaffold in the controller.
see http://manual.cakephp.org/chapter/scaffolding
Allen Romero wrote:
> I created a 'users' table then a 'user' model and a 'users_controller'
> and an 'index.thtml' for the 'view/users' but for some reason
> everything is showing up as scaffoldi
Hi,
I'm trying to create a page to insert an entry into a database which
hasMany children. All of these will be created at once (i.e. an
"expense" item with zero or more "expenseDetail" children). Creating a
single expense and expenseDetail is a piece of cake, but I'm not sure
how to create multi
Suggestions are more than welcome. If you have an idea for better gui,
put together a mock up and submit it as an enhancement to trac.
https://trac.cakephp.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
P
Hi, thanks. I will look for the documentation project at the cakeforge
to join.
Greetings,
Estela Navarrete.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cak
Are you sure the tmp you are accessing is into the cake folder ?
Regarding the message it seems that /tmp/tmpfile is at the root not in
your htdocs ...
Try to log the complete file name, but I am quite sure your file name
does not contains the WEBROOT directory and thus pointing to a /tmp
(root) n
Maybe it's a non end loop and Apache restarts. Maybe you could use the
log() into the app_controller beforeFilter method and log the current
controller , action etc ..
This would show if at least to get there..
I had problems of that sort when I was having quite a lot of errors in
a css file (ima
oh my god !!! i have been so stupid !!! my app_controller.php was in
app/controllers and again, again, again...
thank you
On 3 jun, 17:51, francky06l <[EMAIL PROTECTED]> wrote:
> app/app_controller.php
>
> On Jun 3, 2:04 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Is AppControll
Hi,
For me apache dies very often actually (cake 1.2 latest release,
winxp). I didn't have enough time to figure out why exactly, but I've
noticed that it often happens when I try to use array elements which
are not set (by mistake). I guess that the warning are caught by
cake's error handlung me
Yes it´s is in the right place but it´s not being executed and I don´t
know why
On 3 jun, 17:51, francky06l <[EMAIL PROTECTED]> wrote:
> app/app_controller.php
>
> On Jun 3, 2:04 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Is AppController.php in the right location? I believe it
I do not see other solution than $useDbConfig, unless you use the
model->query() function when you access your different "named table"
instead of findAll / find etc .. Basically you would use "classic"
code instead of the "magic" of cakePhp.
Concerning the persistent connection, I think the parame
How to use the test suite for CakePHP 1.1.*.* ?
Functional tests?
Fixtures?
--~--~-~--~~~---~--~~
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 unsub
People, please help in this question.
On 3, 04:13, Wole <[EMAIL PROTECTED]> wrote:
> I'm also working on fixing the nao authentication because I really
> need it in my app and think it will be beneficial to all. When I tried
> the nao mode I kept getting an error that said
>
> Uninitialized s
Hey all,
I've registered a project and things are going great with it on
CakeForge. However, I'm unable to commit my project to the subversion
repository. All the instructions they've given me haven't worked at
all...
Any suggestions on what I'm doing wrong?
I've tried a whole series of variati
Agreed. I, too, miss the wiki for these same reasons.
--~--~-~--~~~---~--~~
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,
Hi Everyone,
This might not be cake related. But I am unable to pinpoint actually
where and what caused this, could be the session, could be the
redirect() in controller. It will help a great deal if someone can
shed some light on why this is happening or share the solution if you
encountered the
app/app_controller.php
On Jun 3, 2:04 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Is AppController.php in the right location? I believe it should be:
> app/AppController.php
>
> On Jun 2, 10:47 pm, Oscar Burgos <[EMAIL PROTECTED]> wrote:
>
> > hi, (again)
>
> > I have a little trouble
>
imho creating a single events_data table that uses an event_id foreign
key to join back the the events table is the way to go. The
events_data table could have a text field that stores serialized
arrays. See http://us2.php.net/serialize for details.
--~--~-~--~~~---~-
Hi,
Yes the OP's original question can be answered using a single model
and before each use setting the table dynamically with $this->model
name->setSource(table name); I know, I have an event registration web
application (http://www.eventhq.co.uk) running on exactly this model!
The reason I chos
Is AppController.php in the right location? I believe it should be:
app/AppController.php
On Jun 2, 10:47 pm, Oscar Burgos <[EMAIL PROTECTED]> wrote:
> hi, (again)
>
> I have a little trouble
>
> I´m trying to redefine the AppController but it´s not being executed
> and I don´t know why???
>
> it
Your problem id that you invalidated the confirm_password field.
Since
'confirm_password is not part of the model, that will not prevent the
model from saving the rest of the data.
Original function:
function index() {
if (!empty($this->data)) {
if(($this->data['Client']['password'])!=($
Your problem id that you invalidated the confirm_password field. Since
'confirm_password is not part of the model, that will not prevent the
model from saving the rest of the data.
Original function:
function index() {
if (!empty($this->data)) {
if(($this->data['Client']['password'])!=($
hey all!
i have a little bakery GUI suggestion. for months i enter the bakery
and think "gee! that's quite annoying finding everything in the
bakery!", so i decided to share that now.
i really liked the old wiki gui, it was quite simple and easy to
access all of the tutorials there.
now when i w
Even without table you can use the html helper and use your model/
fieldname. You can use the field names you want, just be carefull with
the check boxes if you do not pass the 'value' in the parameters (in
such case, the helper will search the table for the definition of this
field).
On Jun 3, 1
Hi,
Aren't you the one that wrote to my private email? Anyway I answered that
there are yet no official translation of the cake manual into Spanish,
mainly because we're waiting for the 1.2 manual to be finished before
working on it. However if you'd like to help with the 1.2 english manual I'm
s
On 6/3/07, nate <[EMAIL PROTECTED]> wrote:
>
> Ummm...
> http://api.cakephp.org/class_javascript_helper.html#071c99cb03d7dc41591c71a6fe44ed4f
> anybody?
Oops! must read the complete tread before posting :)
Tarique
--
My motto for everyone else - "Just shut up, damnit!!"
On 6/2/07, clarkvr <[EMAIL PROTECTED]> wrote:
> I'm having an problem that I have and php array called time and an
> javascript that use this values.
> But I can't send this values to javascript.
Use JSON - there is a method in Javascript helper to do just this...
HTH
Tarique
--
My motto for e
45 matches
Mail list logo