Active
Project:
Delta
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2011 at 00:46 UTC
Updated:
23 Aug 2012 at 16:05 UTC
Jump to comment: Most recent
When I attempt to enable the File Entity module, Drupal 7.7 returns the following error message:
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT filename FROM {registry} WHERE name = :name AND type = :type; Array ( [:name] => delta_export_ui [:type] => interface ) in _registry_check_code() (line 2691 of F:\xampp\htdocs\memehope\includes\bootstrap.inc).
If I disable the module and refresh, the error goes away, and Drupal continues to function normally. I have tried clearing the cache between disabling and enabling the module, but that doesn't help.
Comments
Comment #1
dave reidBased on this error I'd say this is actually a bug in Delta.
Comment #2
askandlearn commentedPossibly related: I was getting this error today on a site I was working on with MAMP. I switched to Bartik and it went away. I'll follow this closely because I really like Omega and Delta and want to be able to use them.
Error was:
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT filename FROM {registry} WHERE name = :name AND type = :type; Array ( [:name] => delta_export_ui [:type] => interface ) in _registry_check_code() (line 3035 of /Applications/MAMP/htdocs/mysite.org/includes/bootstrap.inc).
Comment #3
flashingcursor commentedPossibly unrelated, but ... I was struggling with a log of PDOExceptions with CiviCRM / Drupal -- after fighting for 2 days, I ended up rolling PHP back to v5.2.x from 5.3.x and every single oddball PDOException went away.
All my PDOExceptions were coming from the _registry_check_code() function on 3035 of bootstrap.inc as well.
Anyway - maybe totally worthless info to this thread, but ...
Comment #4
Jon_B commentedHaving a hunt around...
It looks like increasing the
max_packet_sizewill make this problem go away http://drupal.org/node/1129262.I've had to increase mine to 2M which is significantly more than other people have had to increase theirs to.
Comment #5
divakar525 commentedI have experienced the same issue while enabling the File entity module. I was using PHP 5.3 and Mysqk 5.5. That issue got resolved when I have increased the max_allowed_packet value to 10M on mysql config file i.e.,my.ini. Before it was 1M. Some times, it might take longer time for enabling the module. So, increasing the max_execution_time would be helpful (By default it would be 30sec).
Comment #6
yis commentedThis thread save me from drupal's white screen death kind of exception ፡
Max_allowed_packet from 1M to 10M
And works perfectly as it was.
"...without a stack frame in unknown on line 0"
Thanks guys [ab ]!!!