Whenever I add a node reference field from any, to any content type, my content type edit screens and flag edit screens become white screens of death. There are no errors in the drupal logs, apache logs, mysql logs, php logs, or on the screen (in spite of error reporting being at it's highest level of disclosure).
This behavior is entirely reproducible. Creating the field immediately causes the problem. Deleting the field immediately solves the problem. I don't have to clear the cache or run cron. It does not appear to matter whether or not node reference url widget is used.
Now for the strangest part: I have a node reference field that I created earlier in my project, which did not cause this problem. I can add it as a shared field to any content type, and it will work fine, without causing the issue.
At the moment, I'm trying to track down everything I did between creating that particular reference, and the time that I first experienced the problem. Hopefully this will help me isolate the issue.
Comments
Comment #1
runeasgar commentedOn a side note, this is currently a huge encumbrance to the project I'm currently working on. If anyone has any advice on how to troubleshoot or sidestep this problem myself, I'd appreciate it. The inability to add any node references to the site is really holding me back.
Comment #2
runeasgar commentedAlso, I forgot one other piece of weird information. If I change the administration theme to Bartik, while this problem is occurring, the content type edit screens will come up, but with severely compromised code. The head tag will be empty, and there will be no CSS or JS. The flag edit screen still will not come up.
Comment #3
cees.vanegmond commentedSame issue here. Pathauto patterns en Google Analytics pages are not functioning and displaying WSOD.
Comment #4
runeasgar commentedFinally managed to get an error message:
Additional uncaught exception thrown while handling exception.
Original
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT base.vid AS vid, base.name AS name, base.machine_name AS machine_name, base.description AS description, base.hierarchy AS hierarchy, base.module AS module, base.weight AS weight FROM {taxonomy_vocabulary} base ORDER BY base.weight ASC, base.name ASC; Array ( ) in DrupalDefaultEntityController->load() (line 196 of /Users/user/Sites/help/includes/entity.inc).
Additional
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 3 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:334:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT base.vid AS vid, base.name AS name, base.machine_name AS machine_name, base.description AS description, base.hierarchy AS hierarchy, base.module AS module, base.weight AS weight FROM {taxonomy_vocabulary} base ORDER BY base.weight ASC, base.name ASC; Array ( ) ";s:9:"%function";s:37:"DrupalDefaultEntityController->load()";s:5:"%file";s:57:"/Users/user/Sites/help/includes/entity.inc";s:5:"%line";i:196;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://localhost:8888/help/admin/structure/types/manage/answer [:db_insert_placeholder_7] => http://localhost:8888/help/admin/structure/types/manage/answer/fields [:db_insert_placeholder_8] => ::1 [:db_insert_placeholder_9] => 1314813366 ) in dblog_watchdog() (line 157 of /Users/user/Sites/help/modules/dblog/dblog.module).
Comment #5
runeasgar commentedIssue resolved via: http://drupal.org/node/984112
It was an issue with packet limitations on my MySQL server.
Comment #6
cees.vanegmond commentedThanks!
Comment #7
seanansa commentedruneasgar, could you clarify how you resolved this issue?