Just a hint (maybe you tried already) ..
If you have a "vendors" type class for your captcha, check if there is
a "start_session" in it. If so try to remove it ..
On Jan 10, 3:54 am, Alberto <[EMAIL PROTECTED]> wrote:
> Hello, I upgraded to the new beta version and I can't validate the
> captcha.
I would like to call multiple actions on an ajax form? Below are two
action but the last action is the only action that is rendered the
first action is not?
//form(array('action'=>'/surf/showresult'),
array('action'=>'/surf/showresult2'), 'post', //
array('update'=>'questionID','loading'=>"Toggle
Well, not quite, but here is a suggestion that I think will tie everyone over
until the bakery is truly fixed.
https://trac.cakephp.org/ticket/2734
---
Something needs to be done about searching the bakery. It's not working for me
most of the time. I usually just end up searching google, so my
When I bake my models using 1.2beta the rules stated at tempdocs (see
below) for #foreignKey and #associationForeignKey are not valid.
Instead, after my bake, foreignKey is populated with the current
model, and aFK is populated with the "other" model.
The following has been taken from http://temp
Hello, I upgraded to the new beta version and I can't validate the
captcha.
The problem is in the sessions, I tested all 3(php, cake and database)
but same result. I changed security level to low and tested some
changes... but it doesn't work. sessions are lost after changing page.
Anyone knows
Okay, I managed to get it to work (sort of). I'm using Apc for my
cache engine (more on that in a bit) and it turns out the php_apc.dll
over at pecl4win.php.net seems to be incomplete(!). I googled around a
bit and came across someone who was kind enough to post the complete
files for anyone else
document.getElementsByClassName('form-error');
http://wiki.script.aculo.us/scriptaculous/show/Document.getElementsByClassName
On Jan 10, 10:28 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> just tried this out and it only works if your input has name="form-
> error" not if the form class="
$conditions = array(
'Post.id' => 'Post.thread_id',
How to I make cake interpret Post.thread_id as the field instead of a
string.
Thanks.
-Brian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
just tried this out and it only works if your input has name="form-
error" not if the form class="form-error". I'm sure there's a way to
do this though, either by keying off of the class label or setting the
inputs name to something when it fails validation
On Jan 9, 5:22 pm, "[EMAIL PROTECTED]"
well, you can use javascript in the body tag to set the cursor on a
given field:
OnLoad="document.nameofyourform.nameofyourfield.focus();"
and I believe when the form errors out it sets the class of the form
tag to "form-error" so try:
OnLoad="document.nameofyourform.form-error.focus();"
On Ja
I've resolved this, nevermind =)
On Jan 10, 10:13 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> This is an odd one, and I can't for the life of me figure out what's
> going on. Below is the code:
>
> if (!empty($this->data))
> {
> // set the user id
I figured this out, so don't worry about it.
In my beforeValidate() method in the model, i wasn't actually
returning anything, so the invalidFields() method was returning false,
but no error string was set, so it would still go on to save. Problem
solved, as I added "return true;" to my beforeVal
hi francky.
This is my code:
$this->Project->invalidate('title');
if ($this->Project->save($this->data))
Yet the validation still passes, thereby creating the record. In fact,
none of the validation is working.
On Jan 10, 10:50 am, francky06l <[EMAIL PROTECTED]> wrote:
> In the title I do not
In the title I do not understand "with Model::save()" ...Do you do a
save ? If so when (after / before invalidate) ?
On Jan 10, 12:40 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Okay, this is really starting to annoy me.
>
> I have specifically (in cakephp 1.2) set $this->modelname-
>
Hi everyone,
I wanted to take a screenshot from an user uploaded video, any links and
references I can follow regarding that matter? Owh and I was wondering on
how to make a animated gif screenshot like the one displayed here:
http://cakephp.org/screencasts
Any help would be greatly appreciated
-
Okay, this is really starting to annoy me.
I have specifically (in cakephp 1.2) set $this->modelname-
>invalidate('fieldname') and yet the validation still passes.
What am I missing here?
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
This is an odd one, and I can't for the life of me figure out what's
going on. Below is the code:
if (!empty($this->data))
{
// set the user id to the person whom is logged in
$this->data['Project']['user_id'] = $this->Session-
>read
How can I focus the first invalid field in a form?
Thanks.
--~--~-~--~~~---~--~~
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 gr
I converted the blog example into a Joomla/Mambo component a while
back. You can get it here:
http://forum.mambo-foundation.org/showthread.php?t=6701&highlight=cakephp&page=2
I am not sure what the performance implications of running a cake app
within Joomla are, but it's something you should co
I agree with Chris, it really doesn't matter which you do first, using
functions like beforeRender and beforeFilter you can easily add your
authentication in one place after your site is complete. But then
again there's not reason not to do it first either. Just whatever
you're preference is I gue
That's a really good idea, I'll keep checking it out.
On Jan 9, 2:49 pm, 703designs <[EMAIL PROTECTED]> wrote:
> I'm publishing a blog using Blogger (yes, I could make a CakePHP blog
> first, but my focus is on the task at hand, and Blogger is a good
> tool) so that others can learn from my experi
I'm publishing a blog using Blogger (yes, I could make a CakePHP blog
first, but my focus is on the task at hand, and Blogger is a good
tool) so that others can learn from my experience.
Here's a link: http://cakephprecipe.blogspot.com/
I'm posting here not to advertise for the blog, but to hope
I used some of Chris's links, so I can recommend them. :)
Personally, I'm building out user security, authentication, access
control, session management, logging and testing first. They're all
pretty important elements, and I want to make sure they're right (or
at least working) before I move on
Nevermind I figured this out, there was a problem with how I defined
my model class.
Thanks,
Dave
On Jan 9, 1:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Okay, I guess I'll stop trying, thanks ;). On a slightly related note.
> I just realized that I can't access a child's model funct
Okay, I guess I'll stop trying, thanks ;). On a slightly related note.
I just realized that I can't access a child's model functions.
Example, I have a User that hasMany calendars and the following works
from the User controller:
$this->User->Calendar->find()
I assume find() is a model function,
On Jan 9, 2008 3:24 PM, Greg Baker <[EMAIL PROTECTED]> wrote:
>
> How can I get the root of my site to display a different page, without
> using a redirect?
>
> For example.. www.example.com/registration should in fact actually
> render www.example.com/registrant/add but the URL should not change
How can I get the root of my site to display a different page, without
using a redirect?
For example.. www.example.com/registration should in fact actually
render www.example.com/registrant/add but the URL should not change.
--~--~-~--~~~---~--~~
You received thi
On Jan 9, 2008 3:28 PM, 703designs <[EMAIL PROTECTED]> wrote:
>
> I'm building my first site in CakePHP. It will involve a few different
> sections that users will need to log in to post on, and I'm uncertain
> about in which order I should be developing the site. This is the
> first large-scale w
I'm building my first site in CakePHP. It will involve a few different
sections that users will need to log in to post on, and I'm uncertain
about in which order I should be developing the site. This is the
first large-scale web app I've ever built; all prior PHP experience
has been for brief task
You shuldn't try to access session information from within a model, instead
try passing it from the controller as a parameter. Example:
Model User:
function getUserInfo($user_id){
...
}
Controller:
User->getUserInfo($this->Session->read("logged_user_id"));
Regards,
--
Pablo Viojo
[EMAIL PRO
I just had a problem with CakePHP 1.2 and Firefox sessions, which
could possibly be the same as the problem you are having.
The answer was in an older post here, and weirdly enough I fixed it by
fully qualifying favicon in default.ctp (app/views/layouts/
default.ctp)
example:
http://www.fluffyca
I have a model function that is dependent on data retrieved from the
session and I can't figure out how to retrieve it. Using $this-
>Session->read('User') results in: Undefined property: User::
$Session.
Anyone know?
--~--~-~--~~~---~--~~
You received this messag
I've set up my site so that both the home page and internal pages use
the same navigation. The navigation accesses the
articles_controller.php to dynamically generate the navigation for the
entire site.
when a visitor clicks on a link to an internal article which should
take them to the /abouts d
Have you tried setting your security level to low in app/config/
core.php? If you tried that and are still having problems, I suggest
upgrading, I think it will fix your problems ;)
On Jan 9, 3:53 am, beetlejuice <[EMAIL PROTECTED]> wrote:
> @David :
> @ Martin :
> many thanks for your precious a
Here's the link: http://dev.sypad.com/projects/jake/
Since the last post is on February, I am not really sure if this project
would still continue
On Jan 9, 2008 11:16 PM, Raimon Esteve <[EMAIL PROTECTED]> wrote:
> 2008/1/9, aldojavascript <[EMAIL PROTECTED]>:
> >
> >
> > In che modo Cake PHP si
I'm working on a new version of my tutorial that works with 2.0. I'll
try to get it done soon, depending on my work schedule.
hydra12
http://www.ntatd.org/mark
On Jan 9, 12:23 pm, DjZoNe <[EMAIL PROTECTED]> wrote:
> Hi inma,
>
> I started to write here a little help, but it became bigger as I
>
Hi inma,
I started to write here a little help, but it became bigger as I
expected.
So I rather posted into my blog:
http://djz.hu/blog/posts/689
--
DjZoNe
> Hi,
>
> I'm newbie in CakePHP and ExtJS. I'm developing a new application with
> CakePHP, and I want to integrate the ExtJS forms into th
2008/1/9, aldojavascript <[EMAIL PROTECTED]>:
>
>
> In che modo Cake PHP si può integrare con Joomla?
jake? ;)
http://dev.sypad.com/projects/jake/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
T
I'm not sure how it works so far. I just installed othAuth with 1.2 beta,
and have been having issues with the login form, specifically because
1.2uses the FORM helper instead of the HTML helper to create forms,
and I think
somewhere along that line something isn't working out. Glad I'm testing thi
Hi
I am running Cake build from August, I have an app using database
sessions and othAuth. I want to try and upgrade my app to the new beta
- I was just wondering then what other problems/issues might I face?
I saw the red frog blog comments about the pre-beta...so can anyone
advise me?
I take
I'd like it too
As the example provided concerned extjs1.1 and does not work anymore
with extjs 2.0.
Kind regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email
Hi there,
I have to create some sort of User-Management with permissions and all
that stuff. I think i understood the ACL-System but i can't yet quite
work with it. I have a users table. Aros for the User are created
automaticaly using the AclBehaviour (requester) and they are assigned
to the gro
In che modo Cake PHP si può integrare con Joomla?
Aldo
--~--~-~--~~~---~--~~
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,
Gwoo be da man. He pointed me in a much better direction on this.
I defined a CAKE_UNIT_TEST setting in test.php (and bootstrap.php),
used Configure for some test options to decide if the test (when using
testAction()) should bypassSSL, bypassAuth and spoof an Auth User (so
all those functions c
Hi,
bit new to ACL and having some problems when I want to check for
permissions before deleting a post using the ACL setup from
http://bakery.cakephp.org/articles/view/how-to-use-acl-in-1-2-x. Is it
possible to check permissions using the foreign_key if no alias is
present?
In the Post/view act
On Jan 9, 1:32 am, bhushan A <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Can anybody help me how to write code for "Export to CSV" link? Or
> there is any provision in cake php for that.?
http://us3.php.net/fputcsv
> please reply me on [EMAIL PROTECTED]
No. The point of this mailing list is
Hmm. Well, I looked to override the startController() method and write
a user record to the Session based on the Auth->sessionKey, but that
didn't work. Following the chain of events, it looks like this
happens:
dispatcher created
does a bunch of magic
creates the components
creates the cl
Some more info about how forms are handled in 1.2 compared to previous
versions:
http://cake.insertdesignhere.com/posts/view/15
On 9 Jan, 13:00, jboberg <[EMAIL PROTECTED]> wrote:
> I've noticed this behaviour too but think it is intended.
> The problem is, as you said, the messages variable.
>
>
I've noticed this behaviour too but think it is intended.
The problem is, as you said, the messages variable.
If you have a variable in your view with the same name as the
pluralized version of one of your model fields $form->input(...) will
create a drop-down list and populate it with the values
Hi,
as far as Cake is concerned, good place to start would be The Bakery
(http://bakery.cakephp.org/) and screencasts on the official site
(http://cakephp.org/screencasts). Points of reference: if you're using
1.1 stable then the manual (http://manual.cakephp.org/), otherwise the
temp docs for th
I saw a lot of similar messages in this group, but no solution yet. I
set up cake 1.1.19 and I have
this *random* error message:
Fatal error: require() [function.require]: Failed opening required
'config/core.php' (include_path='.:.:') in /home/httpd/vhosts/
*/httpdocs/index.php on line
@David :
@ Martin :
many thanks for your precious answers.
it is obvious now :)
I have another pb now !
Now, with my cakephp 1.1.19.6305,
sessions work with IE6, :-)
but not with Firefox 2.0.0.11 !!! :-(
i may try with cakephp 1.2
otherwise, if you have any idea ?
best regards
@David :
@ Martin :
many thanks for your precious answers.
it is obvious now :)
I have another pb now !
Now, with my cakephp 1.1.19.6305,
sessions work with IE6, :-)
but not with Firefox 2.0.0.11 !!! :-(
i may try with cakephp 1.2
otherwise, if you have any idea ?
best regards
@David :
@ Martin :
many thanks for your precious answers.
it is obvious now :)
I have another pb now !
Now, with my cakephp 1.1.19.6305,
sessions work with IE6, :-)
but not with Firefox 2.0.0.11 !!! :-(
i may try with cakephp 1.2
otherwise, if you have any idea ?
best regards
Hi,
I'm newbie in CakePHP and ExtJS. I'm developing a new application with
CakePHP, and I want to integrate the ExtJS forms into this
application. I was looking some posts about it.
Nevertheless, I don't know how to match Cake model, controller and
view with ExtJS exactly. :-(
Can someone pos
The original content (spanish) is stored in the Page Model and the
translations
are stored in the i18n table. How can I show the content stored in the
Model
(spanish). How can I make the Translation behaviour not to look in the
i18n and instead look in the original
Model.
On Jan 8, 9:25 pm, "[EMA
Can someone direct me to code that will always put this statement in a
ajax type format so that the whole page doesnt refresh but only the
$content_for_layout and if JS is disabled loads the interface
normally. Thanks
--~--~-~--~~~---~--~~
You received this message
On Jan 9, 11:32 am, bhushan A <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>Can anybody help me how to write code for "Export to CSV" link? Or
> there is any provision in cake php for that.?
Search for "parseExtensions"
http://groups.google.com/group/cake-php/web/frequent-discussions
--
E
Thanks, changing the security level to low helped
On Jan 8, 11:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> This sounds exactly like what I was seeing groups.google.com/group/cake-php/browse_thread/thread/a693d39c621591de/
> 73c0121fc3f02306?lnk=gst&q=dorks#73c0121fc3f02306>here.
>
>
59 matches
Mail list logo