Announcement

Collapse
No announcement yet.

error 500 when trying to update

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • error 500 when trying to update

    hello, when trying to upgrade from 4.1.5 to 4.1.6 version.
    I get the following error:

    Error 500: Error while rebuilding database. See log file for details.

    and enter the file the following is displayed

    [16-Jun-2016 23:50:01 UTC] PHP Fatal error: Class 'PDO' not found in /home/m1nbz9221/public_html/crm/application/Espo/ORM/EntityManager.php on line 138
    [17-Jun-2016 00:00:01 UTC] PHP Fatal error: Class 'PDO' not found in /home/m1nbz9221/public_html/crm/application/Espo/ORM/EntityManager.php on line 138

    How can I solve this problem?

  • #2
    Reason: PDO is not installed

    For Ubuntu
    HTML Code:
    install php5-mysql
    service restart apache2

    For CentOS
    HTML Code:
    yum install php-pdo
    service httpd restart

    Comment


    • jbalta
      jbalta commented
      Editing a comment
      hello, I auditioned AlexAv up a clean version 4.1.5 espocrm and successfully upgrade to version 4.1.6.

      But I can not do it in the version that I'm working.

      -- in the error file is as follows:

      [01-Jul-2016 02:59:14 UTC] PHP Parse error: syntax error, unexpected ''Propo' (T_ENCAPSED_AND_WHITESPACE), expecting ')' in /home/m1nbz98/public_html/crm/data/cache/application/metadata.php on line 5424
      [01-Jul-2016 14:15:57 UTC] PHP Parse error: syntax error, unexpected end of file, expecting ')' in /home/m1nbz98/public_html/crm/data/cache/application/metadata.php on line 1003
      [01-Jul-2016 14:19:25 UTC] PHP Parse error: syntax error, unexpected ''varcha' (T_ENCAPSED_AND_WHITESPACE) in /home/m1nbz98/public_html/crm/data/cache/application/ormMetadata.php on line 10222

  • #3
    Originally posted by jbalta
    hello, if installed attached PDO info.php
    The PDO extention is installed. This is different error.

    Try to rename directory:
    /home/m1nbz98/public_html/crm/data/cache/
    /home/m1nbz98/public_html/crm/data/cache1/

    Comment


    • jbalta
      jbalta commented
      Editing a comment
      thanks for answering.
      I did what you told me but still dating the same error.

      I created several tables in the database to use a chat, it will not be for these new tables that get the error?

  • #4
    Solved. database was messed up with another chat application.

    Comment


    • jbalta
      jbalta commented
      Editing a comment
      that was the problem, thanks for your great support
Working...
X