Menu

#347 Error database in "more info"

Major
open
nobody
None
1
2016-02-15
2016-02-14
Anonymous
No

When I click on "more info" in pending bookings and i click "send" i have: Fatal error: unfortunately the database is not available at the moment." In attachments is error_log.

1 Attachments

Discussion

  • Campbell Morrison

    Which version of MRBS are you using?

     
  • Campbell Morrison

    Thanks. I have now fixed this in the default branch (changeset 379f936761d0). You can patch a 1.5.0 system by changing line 1040 of mrbs_sql.inc from

          $repeat_id = get_repeat_id($entry_id);
    

    to

          $repeat_id = get_repeat_id($id);
    
     
  • Anonymous

    Anonymous - 2016-02-14

    Thanks! I have one more question: how can i translate button and the content of e-mails "Approve", "Reject" and "More info"?

     
  • Campbell Morrison

    Use the $vocab_override setting in your config file. Look for the content you want to translate in lang/lang.en and find the corresponding token. For example, for "More info" add the following line to your config for a French translation:

    $vocab_override['fr']['more_info'] = 'Your translation here';
    

    Do not edit the lang files, but put any changes in your config file - that way they will survive an upgrade to the next version of MRBS. See the comments in systemdefaults.inc.php for more details.

    If you find some tokens that don't have a translation in the language of your choice, then let me have the translations and I can add them to MRBS so that they appear in the next release.

     
  • Campbell Morrison

    Many thanks. I've now updated the Polish translations in the default branch (changeset 5bf86b598e53).

     
MongoDB Logo MongoDB