Uploaded image for project: 'InvoicePlane'
  1. InvoicePlane
  2. IP-515

SMTP Setup with SSL failes ( Call to undefined function random_bytes() application/libraries/Cryptor.php 90)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.5.2
    • Component/s: None
    • Labels:
      None

      Description

      1. Settings -> E-Mail -> SMTP Method
      2. Save
      3. See Error

      Call to undefined function random_bytes() /var/www/invoice.zen0.de/htdocs/application/libraries/Cryptor.php 90
      

      This function is only available since PHP 7.

      https://github.com/InvoicePlane/InvoicePlane/blob/master/application/libraries/Cryptor.php#L90

      There is a compat libarary for PHP < 7: https://github.com/paragonie/random_compat

        Gliffy Diagrams

          Attachments

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  carlos Karl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel