ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

DMZ 1.7.1 (DataMapper OverZealous Edition)

March 14, 2010 11:43pm

Subscribe [104]
  • #301 / Jun 01, 2010 9:40am

    OverZealous

    1030 posts

    @j0nxiest

    You aren’t using it right.  The transaction hasn’t failed, the validation has.  You need to check the result of the $user->save() call to see if the validation failed.  The validation result is also stored in $object->valid.

    Transactions are only used to group a series of queries, just like in normal SQL.

  • #302 / Jun 01, 2010 9:48am

    Benedikt

    85 posts

    “UPDATE jn_house_user SET user_id = 1 WHERE user_id = 1” or similar.

    When does it do the UPDATE? Maybe this would help me in finding my mistake.

  • #303 / Jun 01, 2010 9:50am

    Spir

    139 posts

    when ID is set 😊

    Save on an Existing Object
    http://www.overzealous.com/dmz/pages/save.html

  • #304 / Jun 01, 2010 9:51am

    Benedikt

    85 posts

    But ID is not set. I changed the code to echo the ID but it’s empty.

    EDIT: Ok, solved. I forgot to provide one relationship in the model’s configuration.

  • #305 / Jun 01, 2010 4:39pm

    Roobiz

    14 posts

    Hi guys,

    I have two models, Post and Category. Post have many relationship on Category, and Category have many relationship on Post.

    Is there a way to get all post without Category?

    I tried (without any hope) to make that:

    $oCat = new Category();
    $oCat->get();

    $oPost = new Post();
    $oPost->where_not_in_related($oCat);

    Thanks 😊

  • #306 / Jun 02, 2010 5:52pm

    Daniel H

    197 posts

    It seems Overzealous.com is down at the moment, at least from the UK - Phil is there anything wrong?

  • #307 / Jun 03, 2010 5:49am

    sa3m

    3 posts

    Hi everyone,

    I really need to have DMZ but as Daniel H said, the website is down.
    Is there someone who knows where we can find it anywhere else ?

    Thank you !

  • #308 / Jun 03, 2010 9:52am

    GameFret

    4 posts

    Yes, is anything wrong. I hope not. If so, can we help?

  • #309 / Jun 03, 2010 10:28am

    The Hamburgler

    28 posts

    If anyones got a fresh zip of the latest version I can host it as a backup.

    Unfortunately I’ve deleted mine :-(

    I remember making a mental note, the last time the server went down, to keep a backup but alas!

  • #310 / Jun 03, 2010 11:18am

    GameFret

    4 posts

    Yeah, I have the latest version downloaded at home. I also have it in multiple repositories and I can pull out all the needed files and recompress them into a download. I think I will wait and see if the project is completely gone or not. Does anyone have a backup of the documentation?

  • #311 / Jun 03, 2010 11:29am

    sideshowbob

    13 posts

  • #312 / Jun 03, 2010 11:44am

    The Hamburgler

    28 posts

    Thanks for the link, I’ve created a repo on GitHub too. I’ll try and keep it updated with each new release.

    http://github.com/th3hamburgler/Datamapper-DMZ

    I don’t think the project is gone. I’d imagine it’s just a server error and OZ is busy with life and stuff!

  • #313 / Jun 03, 2010 11:59am

    sa3m

    3 posts

    Thank you very much !!

  • #314 / Jun 03, 2010 1:11pm

    GameFret

    4 posts

    Anyone have the documentation backed up by chance? 😊

    Edit: Facepalm. Nevermind. It’s in the repo.

  • #315 / Jun 03, 2010 10:36pm

    OverZealous

    1030 posts

    Hey everyone.  I just had some connectivity issues.  The site’s back up.

    (Sheesh - it was only like a day-and-a-half 😉

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases