Anyone??
On Nov 29, 2:30 am, Abhimanyu Grover <[EMAIL PROTECTED]> wrote:
> Hey there!
>
> Did you find solution to this problem yet?
>
> On Oct 22, 5:47 pm, Defranco <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > Regardingcontrollertesting using Test Suite on 1.2.RC3:
>
> > How do I test resulting da
I filed a ticket for this.
On Nov 29, 12:32 am, Marcus Silva <[EMAIL PROTECTED]> wrote:
> Had exactly the same problem :http://groups.google.com/group/cake-php/
> browse_thread/thread/64516dd7a1b63d0c/f350fa78c7cfc772?
> hl=en&lnk=gst&q=an+easy+way+to+add+roles#f350fa78c7cfc772
>
> nobody has rep
This is driving me crazy and I have googled this and nothing that I
have found is fixing this problem I'm having.
I'm getting the typical Warning 512 error where it says that my "app/
tmp/cache/ is not writable". I go to chmod 777 this directory and all
hell brakes loose on me and I get a whole b
Dear expart,
I want to develop a website which require to have multiple logical
site inside a single cake website. Just like different groups in yahoo
or google.
The site will have the following url:
Global site:
www.mydomain.com/global/controller/action
Public site:
www.mydomain.com/pub/s
Maybe not the best solution... but I set svn:ignore * on all folders
within the tmp dir, except for folders.
So I right-click on tmp, set ignore * recursively, then remove the
same prob but non-recursively. Then I remove the ignore prop non-
recursively from the cache folder.
Then in my deploy s
On Fri, Nov 28, 2008 at 6:37 PM, php.baker <[EMAIL PROTECTED]> wrote:
>
> For any of you who use Subversion (specifically TortoiseSVN on
> windows) with your cake apps. Can u tell me how to prevent tmp files
> (app/tmp/*) from being put into the repository while still preserving
> the tmp directory
This post really belongs on the subversion group, but I can't seem to
get any useful answers there (though not for a lack of trying).
For any of you who use Subversion (specifically TortoiseSVN on
windows) with your cake apps. Can u tell me how to prevent tmp files
(app/tmp/*) from being put into
Hey there!
Did you find solution to this problem yet?
On Oct 22, 5:47 pm, Defranco <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Regardingcontrollertesting using Test Suite on 1.2.RC3:
>
> How do I test resulting data after I run testAction and
> fixturize=true? The problem is that all all tables are dro
Yup, and was met with a "need test case" reply ... which I understand
is required ... unfortunately I don't have time as of late to create
one.
If you have the time, go nuts ... otherwise I'm hoping to get to it in
the next few weeks.
On Nov 15, 3:14 pm, Mauro Zadu <[EMAIL PROTECTED]> wrote:
> I'
Not sure if it was this or something else ... but I had a nested form
by accident, which is not valid, clearing this up helped things.
On Nov 4, 8:49 pm, Brenton B <[EMAIL PROTECTED]> wrote:
> I think I'm running into something similar with 1.2 and AJAX
> submit ... however, could potentially be
Overall, looks like 'depth' and 'recursive' are conflicting and
causing the extra queries.
Anyone had the time to take look?
When this is combined with some (somewhat) basic search/finds, it
exhausts the memory size because so much is going on.
On Nov 10, 5:32 pm, Brenton B <[EMAIL PROTECTED]> w
Thank you for your reply.
I can't get it working. Neither the validation nor the adding of a
dataset is working.
On 26 Nov., 23:35, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
> instead of company do Company.name or whatever field you have called
> to save the name.
>
> On Nov 26, 2:18 pm, Sebasti
Hello,
This is my problem:
I have a user model which is linked to a role model via a HABTM
association.
When a new record is added all the associations are added correctly,
the problem is when I delete a record, the associated records are not
deleted as expected.
Cake also showed the following
Hey! I didn't know that the Upload Behaviour had become a hole new project
(Mi Base as I can see?). I didn't have time to check it yet but as I read it
seems promising, I've also noticed that it includes Mi Bake another great
script of yours that I usually use, I learned a lot from it and think tha
As long as your database schema it's properly created, the order shoudn't be
a problem at all. But after reading your descriptions it seems that you have
some issues understanding relations. For example if Course hasMany Chapter
and Chapter hasMany Course then you have an HABTM relation so Chapter
I changed
if($this->Product->ProductVariant->Cart->save($this->data,true))
to
if($this->Product->ProductVariant->Cart->save($this->data
['Product'],true))
and validation seems to be working but I don't get a message next to a
quantity input field like I do elsewhere when validating form fields?!
I have following models:
Product, ProductVariant, Cart
Product (hasMany ProductVariants )
ProductVariants (belongsTo Product & Cart)
Cart (hasMany ProductVariants)
In my Product View action I have following form to add products to
Cart table with session_id as identifier of whoes products are i
Dave
I think I had (have) the same problem. Don't ask me why, but try something
like this. I had to force useDbConfig in certain circumstances. (I
originally posted this on the blog at debuggable)
App::Import('Model', 'Cutoff');
class CutoffTestCase extends CakeTestCase {
var $fixtures = array(
Hello,
i'm new to Cake & Bake and wonder if the order in which you bake your
models is important.
I have 4 models:
Org
Course
Chapter
Module
the following relationships apply
Org hasmany course
course hasone org
course hasmany chapter
chapter hasone course
chapter hasmany module
module hasone ch
> Do you really have a table named blogs? If you are trying to add the
> users and posts you have told blog to use them.
No, two completely separate sets of MVC; I started to work through the
tutorial to confirm that there wasn't a problem with the code I typed
in from a book in the first instanc
Had exactly the same problem :http://groups.google.com/group/cake-php/
browse_thread/thread/64516dd7a1b63d0c/f350fa78c7cfc772?
hl=en&lnk=gst&q=an+easy+way+to+add+roles#f350fa78c7cfc772
nobody has replied to my post. Very sad
It must be a bug for sure, I ended up writting my on function to ad
This issue might be related to ticket #5579 which was fixed in
revision 7795. I was seeing the same issue as #5579 for the edit and
save functions but I verified that it is already fixed in revision
7795 and later (I'm currently using revision 7896).
Now, my problem is with the delete function, a
Any news on this? I'm experiencing the same problems on a shared
server..
On 13 okt, 19:38, mehodgson <[EMAIL PROTECTED]> wrote:
> As I posted above it is set to Medium.
>
> On Oct 13, 11:33 am, Ketan Shah <[EMAIL PROTECTED]> wrote:
>
> > whats your security level? (core.php)
>
> > On Oct 13, 11:
I've got a fairly good grasp on the HABTM concept/implementation, but
would like to add a twist: Suppose we have users and movies tables.
A user can select 'favorites' from the movies table, as many as he/she
wishes. So the movies_users table would have an ID, a movie and a
user field.
Now the
Try something like:
echo $form->create(null, array('url'=>"/{$this->params['url']
['url']}"));
$params['url']['url'] holds the url of the current page.
That should do the trick.
hth
--~--~-~--~~~---~--~~
You received this message because you are subscribe
> PS a controller should itself have very few __ calls (only flash messages) ...
And be said that even this can be delegated to the view layer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post
Hi,
I am using Prefix Routing for my website.
I am working on a education section and calling a add action of blogs
controller
http://localhost/test/education/blogs/add/
and my router.php contains
Router::connect('/education /:controller/:action/*', array('prefix' =>
'education ', 'education '
On Nov 27, 10:44 pm, "Federico Rinaldi" <[EMAIL PROTECTED]>
wrote:
> Hi folks, I'm looking for a component that would let me upload files and
> hook up to do some actions regarding the type of the file, this is, for a an
> pdf document just upload the file but for an image let me proccess it to
On Nov 28, 11:37 am, "Mark (Germany)" <[EMAIL PROTECTED]>
wrote:
> anybody some idea on that? :)
where have you ever seen a core.po file? I assume you mean default.po
Why not create (and I think quite a few people do it this way) a
wrapper function such as "___" which determins/derives/takes f
you're the man. thx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For m
anybody some idea on that? :)
thx
On 26 Nov., 04:13, "Mark (Germany)" <[EMAIL PROTECTED]>
wrote:
> Several posts and blogs have been made to similar topics
> they usually end up with
> use eather core.po OR multiple controllerName.po etc
>
> the way cake works is:
> - if it finds a "domain".po,
when it rains, it pours...
the newest:
Practical CakePHP Projects
http://www.amazon.com/Practical-CakePHP-Projects/dp/143021578X
the others:
Beginning CakePHP from Novice to Professional
http://www.amazon.com/Beginning-CakePHP-Novice-Professional/dp/1430209771/
CakePHP Application Development
Stop me if you've heard this before, but I'm having a problem unit
testing models. I've followed this conversation and poked around a
bunch elsewhere. Progress, but not yet a solution.
Problem: When I run my test case, CakePHP successfully inserts my
fixture data in to "user_tests" (and associate
nice, 1st time i see selenium. makes a good first impression.
by now we use imacros for browser based testing and are very
satisfied.
On Nov 28, 6:17 am, mark_story <[EMAIL PROTECTED]> wrote:
> I think selenium and the built in test suite have different goals in
> some respects. Outside of Cake
I meant to do list rather than find all since you need a list but the
default in the options, I assume this is a select box, and thus you
can set a variable and then just set the default in the options array
and set it to that variable or you can set $this->data for the poll_id
to whatever the def
In the oth_auth.php file in the redirect() function it would make use of the
following code to redirect:
$this->controller->redirect($page);
However the function would edit my $page, therefore I just called the
function directly and it worked:
$this->controller->redirect($_SERVE
OK I found the redirect function in that script and have seen that it changes
the page that the script redirects to I need to dig more to see if that is
where I should be changing the script or if there is another way I can
accomplish the redirect to the referrer page.
AngeloZanetti wrote:
>
thatsgreat2345 wrote:
>
>
> I assume there is a relation between polls and featured_poll? If so
> you should be able to get them by possibly increasing your recursive
> to 2 I believe. That or $this->Club->Poll->FeaturedPoll->find('all')
>
>
Thanks thatsgreat2345 the $this->Club->Poll->Fea
38 matches
Mail list logo