Error 500 not logging & empty tmp Directory

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JosNas
    Member
    • Sep 2021
    • 97

    Error 500 not logging & empty tmp Directory

    I am getting an Error 500 in both of my Espo instances on Cpanel whenever I try to change something like deleting a field. However nothing is logging in the log files but the tmp folder is showing like a change happened but I find it empty when I enter it. How can I solve this issue?
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1602

    #2
    In case there is no log in espoCRM, see if there is an Apache log in your cPanel. Maybe you find something there. Whenever I get 500 error it is mostly from a database error.

    Comment


    • JosNas
      JosNas commented
      Editing a comment
      The problem is it was working fine. I don't think it's from the database i think it is related to the configuration. Whenever i click clear cache from Administration, metadata.php gets wiped clean. Even if I try to install a new EspoCRM I get an Error 500
  • JosNas
    Member
    • Sep 2021
    • 97

    #3
    Update: the error I found is:

    ` [16-Nov-2021 14:59:22 UTC] PHP Fatal error: Illegal length modifier specified 'f' in s[np]printf call in /home/n6dd4d5/public_html/go/hausmangas/admin/application/Espo/Core/Utils/File/Manager.php on line 308 `

    What could be causing it and how to solve it?

    Comment

    • shalmaxb
      Senior Member
      • Mar 2015
      • 1602

      #4
      Seems to be a PHP error:

      I started getting this error in my Drupal 8 site when I try to load a few different admin pages after clearing the site cache. Fatal error: Illegal length modifier specified 'f' in s[np]printf c...

      Comment


      • JosNas
        JosNas commented
        Editing a comment
        I got the code for metadata.php back from a previous version but now it's telling me Entity Workflows doesn't exist which is worrying because I purchased and paid for the advanced pack. I still have the license and proof of purchase
        Last edited by JosNas; 11-16-2021, 08:57 PM.
    Working...