#154 Domain List says all domains not active

v_2.3
closed-fixed
nobody
5
2009-08-04
2009-07-31
No

2.3rc6

All Domains are listed as "NO" in the active field. Even though when you go into the "Edit" screen they are active and they work.

Discussion

  • Christian Boltz

    Christian Boltz - 2009-08-01

    I tested with 2.3 rc6 and also the latest SVN version (which has some unrelated changes) and can't reproduce this bug (using MySQL).

    What database do you use?

    If you use PosgreSQL, try a little change in templates/admin-list-domain.php line 74 and 77:

    (line 74) $backupmx = ($domain_properties[$i]['backupmx'] == 1) ? $PALANG['YES'] : $PALANG['NO'];
    (line 77) $active = ($domain_properties[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO'];

    Replace "== 1" with "== db_get_boolean(true)" - does this solve the problem?

     
  • GingerDog

    GingerDog - 2009-08-04
    • status: open --> closed-fixed
     
  • GingerDog

    GingerDog - 2009-08-04

    fixed in subversion; note the db_get_boolean() function was changed to use 't' and 'f' and not 'true' and 'false'

    thanks for reporting the bug

     
  • GingerDog

    GingerDog - 2009-08-04

    Thanks for the bug report; we believe this has been fixed in subversion.

     

Log in to post a comment.