thank you very much for the help, i am working on the update.

Can you tell me if there are some other themes for the osTicket ?

    rabiesamakeh

    None that are developed by the core team. There are mods available however we do not recommend them as none of the mods have been verified, etc. If you do so, use them at your own risk.

    Cheers.

    7 days later

    i have upgraded my system and updated the OSTicket to the latest version but the clients still getting an error when they login (See Screenshot)

    error from the logs:
    [Fri Feb 17 15:41:45.299830 2023] [php:error] [pid 2363] [client 10.210.0.17:54103] PHP Fatal error: Uncaught Error: Call to undefined function ldap_connect() in phar:///var/www/osticket/include/plugins/auth-ldap.phar/include/Net/LDAP2.php:433\nStack trace:\n#0 phar:///var/www/osticket/include/plugins/auth-ldap.phar/include/Net/LDAP2.php(339): Net_LDAP2->performConnect()\n#1 phar:///var/www/osticket/include/plugins/auth-ldap.phar/authentication.php(158): Net_LDAP2->bind()\n#2 phar:///var/www/osticket/include/plugins/auth-ldap.phar/authentication.php(191): LDAPAuthentication->getConnection()\n#3 phar:///var/www/osticket/include/plugins/auth-ldap.phar/authentication.php(479): LDAPAuthentication->authenticate()\n#4 /var/www/osticket/include/class.auth.php(341): ClientLDAPAuthentication->authenticate()\n#5 /var/www/osticket/login.php(51): AuthenticationBackend::process()\n#6 {main}\n thrown in phar:///var/www/osticket/include/plugins/auth-ldap.phar/include/Net/LDAP2.php on line 433, referer: http://10.210.10.210/login.php
    [Fri Feb 17 15:41:45.299902 2023] [php:error] [pid 2363] [client 10.210.0.17:54103] PHP Fatal error: Uncaught Error: Call to undefined function ldap_close() in phar:///var/www/osticket/include/plugins/auth-ldap.phar/include/Net/LDAP2.php:701\nStack trace:\n#0 /var/www/osticket/include/pear/PEAR.php(755): Net_LDAP2->_Net_LDAP2()\n#1 [internal function]: _PEAR_call_destructors()\n#2 {main}\n thrown in phar:///var/www/osticket/include/plugins/auth-ldap.phar/include/Net/LDAP2.php on line 701, referer: http://10.210.10.210/login.php

    System Info:

    Any Idea ?

      i have one more issue 🙂

      i increased the upload_max_filesize to 100M

      But i amm getting an error if i upload a 70M pdf file

        You may need to increase upload_max_filesize and post_max_size in your php.ini. Then restart php-fpm or other caching services to apply the change.
        As an example, on my osTicket with php8.1-fpm, I would edit this /etc/php/8.1/fpm/php.ini to increase the limits. And then systemctl restart php8.1-fpm to apply the changes.

        Hi TonyO,
        this i already did, see Screenshot

        Still getting the error

        I recommend checking the php log for errors. On Ubuntu/Debian for example, check /var/log/php8.0-fpm.log There may be other limits that need to be increased.
        On my osTicket, I replicated this before I gave the advice above. PHP defaults are very low, so I increase several.

        rabiesamakeh
        Take a look at Admin panel -> Settings -> Tickets
        Scroll down to Attachments.
        Click Config.
        What do you have set here?

        like i said, i added the php.ini file to allow loading bigger files

        i can't find any error in /var/log/php8.0-fpm.log, the last 3 lines says:
        [20-Feb-2023 12:20:27] NOTICE: fpm is running, pid 5081
        [20-Feb-2023 12:20:27] NOTICE: ready to handle connections
        [20-Feb-2023 12:20:27] NOTICE: systemd monitor interval set to 10000ms

        although i can upload small pdf files but as soon i load a big file i get the above error

          rabiesamakeh

          I would double/triple check your settings to ensure you are changing the right ones. You can make a PHP info file in your osTicket directory, visit that page, and see if the changes you made are reflected. If not it’s likely you didn’t change the right file or you didn’t restart the webserver and PHP-FPM.

          Apache also has a setting called LimitRequestBody that can limit the requests.

          Cheers.

          i am sure that i am editing the right php.ini file,
          nano /etc/php/8.0/fpm/php.ini
          nano /etc/php/8.0/apache2/php.ini

          i woudn't get the Option 100mb in osTicket, if i didn't edit the right php.ini file and restarted the webserver (See Sceenshot)

            rabiesamakeh

            Did you update the setting I mentioned for Apache? Are you using a hosting provider or is this your own server?

            Are you sure you changed both upload_max_filesize and post_max_size?

            Cheers.

            oh thank you very much!
            i just edited upload_max_filesize and didn't know about post_max_size

            now it's working 🙂

            a year later

            ![

            ](https://)

            [02-Mar-2024 02:34:59 UTC] PHP Fatal error: Uncaught InconsistentModelException: Unable to prepare query: DELETE ostiq_session.* FROM ostiq_session WHERE ostiq_session.user_id = 0 AND ostiq_session.session_data REGEXP '_auth\|.*\"user\";[a-z]+:[0-9]+:{[a-z]+:[0-9]+:\"id\";[a-z]+:261' in /home/mysej0/public_html/sktmt/include/class.orm.php:3467
            Stack trace:

            LDAP was enable

            but still got this error

              bhenie

              1. You need to start your own thread and explain your issue(s) in detail.
              2. You are using an old and unsupported version of osTicket. You would need to upgrade to one of the latest supported versions (v1.18.1 or v1.17.5) and retest.
              3. Your error is incomplete; it does not include the full stack trace.

              Cheers.

              Write a Reply...