Hi all,
it did not work.
I have tried
This is for a Merchant Model;
$datasource = $this-getDataSource();
$datasource-begin($this);
$result = $this-saveAll($data);
if (!$result) {
$datasource-rollback($this);
return false;
}
/**
* do something to form a $domainData array
**/
$result =
On Dec 24, 1:15 am, euromark dereurom...@googlemail.com wrote:
@AD
the database.php is never included in any rep
it is the same for all environments so you can just drag and drop it
of COURSE this should be handled differently for ONLINE testing
enviroments, i agree
Why make any excpetion
PS I don't understand this
you can also see that i use a special prefix for testing ..
but obviously you've already managed to mix your environment's data -
so surely you recognise the weakness in the technique.
AD
Check out the new CakePHP Questions site http://cakeqs.org and help others with
Hi,
I didn't know that you need to use saveAll() inside transaction. By default,
saveAll() starts new transaction. So change your saveAll() call from
$result = $this-saveAll($data);
to
$result = $this-saveAll($data, array('atomic' = false));
Hope this helps.
Amit Badkas
PHP Applications for
Thanks for the tip Amit.
I shall go try that.
Any idea why i cannot subscribe to this particular thread via my
gmail?
On Dec 24, 4:31 pm, Amit Badkas amit.sanis...@gmail.com wrote:
Hi,
I didn't know that you need to use saveAll() inside transaction. By default,
saveAll() starts new
The AppController is related to every controller you create, this means
every controller will inherit the functions and settings from the
AppController.
Anything you do in the app_controller or the app_model will be executed in
the controllers and models which extend it, unless you override a
A slug (sometimes aka a URI) is for pretty-urls
/users/view/stephen
Stephen would be the slug (it isn't an ID)
/members/stephen-22-years-old
Stephen-22-years-old could also be a slug.
It's to do with Routing strings
On 24 December 2010 03:20, georgeman confidentia...@gmail.com wrote:
I am
Hi Amit,
it worked. Thank you very much.
Saw your website. Interesting.
Apparently i had previously added you to my watchlist for providers
who appear to be experienced in cakephp.
Perhaps next time when i seek major help in cakephp, i will consider
your company more. :)
Have a good weekend.
but obviously you've already managed to mix your environment's data
that was before I wrote my little addons :)
wrong! i do have different salts.
i just use a specific config_private (as explained somewhere in this
article) which
overrides the defaults.
this is the only file that is actually
On Dec 24, 2:19 pm, euromark dereurom...@googlemail.com wrote:
but obviously you've already managed to mix your environment's data
that was before I wrote my little addons :)
wrong! i do have different salts.
i just use a specific config_private (as explained somewhere in this
article)
Thanks Stephen, I may get to test that later in my App.
On Dec 24, 7:01 pm, Stephen step...@ninjacodermonkey.co.uk wrote:
The AppController is related to every controller you create, this means
every controller will inherit the functions and settings from the
AppController.
Anything you do
Hi AD, Thanks for commenting. It makes it clearer that now your
suggestion seems to be same as Stephen's. I don't have to fret which
other methods are better. But thanks too euromark, I'm just not good
at hacking.
check the book re useDbConfig; follow a tutorial
demonstrating how to use the test
using 1.2.9 (I'll be updating this site to 1.3.x soon)
I need to allow a third party to access the database of an app from
within their own online system. For the time being, this will only
involve a request from them, the response being a subset of the
members table data. I considered simply
I am trying to make cake not generate the kinds of queries below every
minute or so. Reading the book I found the controller attribute
persistModel. I set it true in one of my controllers but these show full
columns queries still shows up every minute.
1SHOW FULL COLUMNS FROM `drg_aros`
Hi there,
my cakephp app allows users to create subdomains.
for eg,
user1 creates subdomain1.example.com and
user2 creates subdomain2.example.com and so on...
all subdomains are pointing to the same app folder.
if a new subdomain is created, i merely keep track of it by inserting
new record
In order to get to user1.domain.com, your user would have to log in. Am I
right in thinking that is on the list of encrypted events? And certainly
there must be a few others like user management functions? Ok, shutting up
now.
Unless you have a wildcart cert, you'll have to use method a.
Thanks Matt.
I spoke to poLK in #cakephp quite some time after my posting.
She (i think) mentioned the same idea about using wildcard cert.
Thanks for the tip.
On Dec 25, 9:17 am, Matt Murphy mattyh...@gmail.com wrote:
In order to get to user1.domain.com, your user would have to log in. Am
@john
its not a hack - not even closely
its a valid and in my opinion very well working strategy which worked
for several years
and several apps which repeatedly need updates and stuff.
in the end its sth you need to decide for yourself
it also depends on the way you are deploying your apps.
in
18 matches
Mail list logo