Home Forums UnTheme Construction Login to Admin Throws a cache error – Cant login

Viewing 3 reply threads
  • Author
    Posts
    • #14909

      betranke
      Participant

      Dear Support,

      I purchased a drupal theme (Construction – Construction, Building Business
      Construction – Construction, Building Business ). I download and followed instructions on localhost ton install and did it fine however when I login to /user I get this exceptions

      PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT r.filename AS filename FROM {registry} r WHERE (r.name LIKE :db_condition_placeholder_0 ESCAPE ‘\\’) AND (r.type = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] => delta\_export\_ui [:db_condition_placeholder_1] => interface ) in _registry_check_code() (line 3175 of C:\dev\xampp\htdocs\sites\imarisha\includes\bootstrap.inc).
      The website encountered an unexpected error. Please try again later.
      Uncaught exception thrown in shutdown function.

      PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 17703935065aa8a2f5675657.27358529 ) in lock_release_all() (line 269 of C:\dev\xampp\htdocs\sites\imarisha\includes\lock.inc).

      Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[HY000]: General error: 2006 MySQL server has gone away’ in C:\dev\xampp\htdocs\sites\imarisha\includes\database\database.inc:2171 Stack trace: #0 C:\dev\xampp\htdocs\sites\imarisha\includes\database\database.inc(2171): PDOStatement->execute(Array) #1 C:\dev\xampp\htdocs\sites\imarisha\includes\database\database.inc(683): DatabaseStatementBase->execute(Array, Array) #2 C:\dev\xampp\htdocs\sites\imarisha\includes\database\database.inc(2350): DatabaseConnection->query(‘SELECT expire, …’, Array, Array) #3 C:\dev\xampp\htdocs\sites\imarisha\includes\lock.inc(167): db_query(‘SELECT expire, …’, Array) #4 C:\dev\xampp\htdocs\sites\imarisha\includes\lock.inc(146): lock_may_be_available(‘theme_registry:…’) #5 C:\dev\xampp\htdocs\sites\imarisha\includes\theme.inc(449): lock_acquire(‘theme_registry:…’) #6 C:\dev\xampp\htdocs\sites\imarisha\includes\bootstrap.inc(455): ThemeRegistry->set(Array) #7 [internal function]: DrupalCacheArray->__destruct() #8 {main} in C:\dev\xampp\htdocs\sites\imarisha\includes\database\database.inc on line 2171
      Uncaught exception thrown in session handler.

      PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT 1 AS expression FROM {sessions} sessions WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ); Array ( [:db_condition_placeholder_0] => fr61HBDEgXnqo3aJBYal0wcrg_tcaO5TvSWpYRmMpF0 [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 209 of C:\dev\xampp\htdocs\sites\imarisha\includes\session.inc).

      Please assist cant go to backend. I am running PHP Version 5.6.28 and mysqlnd 5.0.11-dev – 20120503

      Julius

    • #15658

      Maria Do
      Keymaster

      Hi

      Please change your server configs:

      max_allowed_packet=50M

      And reset your website, reinstall from scratch.

      Thank you.

    • #15660

      betranke
      Participant

      Works like a charm. Thank you

    • #15666

      Maria Do
      Keymaster

      Good job!

      Thank you.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.