Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all,
after upgrading from previous DEV version:
; Information added by drupal.org packaging script on 2012-05-08
version = "7.x-1.0-beta5+3-dev"
core = "7.x"
project = "entityreference"
datestamp = "1336479260"
to last DEV version:
; Information added by drupal.org packaging script on 2012-05-12
version = "7.x-1.0-beta5+7-dev"
core = "7.x"
project = "entityreference"
datestamp = "1336781749"
A blank page of death (error 500) appears for the following paths:
/admin/people/create (for creating users)
/user/6/edit?destination=admin/people (for editing a user)
Returning to the previous version the problem disappear.
Thank you very much for working on this.
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedEnable errors and see what the error is. Then report back. "Blank page" doesn't mean anything.
http://drupal.org/node/158043 should help you.
Latest -dev requires Drupal 7.14, so make sure you have it.
Comment #2
MXTDrupal version used:
Drupal 7.14
Error reported after enabling error:
Hope this help
Thank you
Comment #3
bojanz CreditAttribution: bojanz commentedMuch better, thanks!
Looks like an incompatibility with Og. Amitai should know what is happening.
Comment #4
MXTSo, do you think I have to move this thread to the OG issue queue?
(FYI, I'm using very last version 7.x-2.x-dev of OG)
Comment #5
MXTUpdating: only users logged in can navigate some pages in the website, but the website is completely WHITE for anonymous users.
I absolutely have to pay attention to not to logout as administrator, otherwise i cannot definitively manage my site.
The situation is very CRITICAL: try to move this thread to the OG issue queue.
Please help me!
Thank you
Comment #6
MXTUpdating to last OG DEV doesn't resolve:
Triggered error is:
Comment #7
amitaibu> Fatal error: Declaration of OgSelectionHandler::getInstance() must be compatible with that of
Please update to entity reference -dev version.
Comment #9
johaziel CreditAttribution: johaziel commentedHi,
Same error with the latest dev version of entityreference
A way ...
I compared the both declaration of getInstance()
in OgSelectionHandler.class.php
in EntityReference_SelectionHandler_Generic.class.php
So I tried :
in OgSelectionHandler.class.php
and it Works !!
Can you test and publish a new release
Thanks
Jo
Comment #10
boby_ui CreditAttribution: boby_ui commentedI have this problem too, blank screen and can not show error reporting, tried adding : return new OgSelectionHandler($field, $instance); to OgSelectionHandler.class.php but no use :(
Comment #11
AaronBaumanupdating to entityreference-7.x-1.0-rc3+2-dev solves this problem.
Comment #12
Sigvard CreditAttribution: Sigvard commentedI also suffer from blank page of death issues when trying to remove the OG directory (current version: 7.x-1.4) or overwrite it to install OG 7.x-2.0-beta1. Reverting the og folder to containing the 7.x-1.4 immediately solves the issue.
The message I get on the first reload after reverting the OG folder is:
Warning: require_once(/var/www/molmeth_tmp/sites/all/modules/og/plugins/relationships/og_group_from_node.inc): failed to open stream: No such file or directory in ctools_plugin_load_includes() (line 482 of /var/www/molmeth_tmp/sites/all/modules/ctools/includes/plugins.inc).
Warning: require_once(/var/www/molmeth_tmp/sites/all/modules/og/plugins/relationships/og_group_from_node.inc): failed to open stream: No such file or directory in ctools_plugin_load_includes() (line 482 of /var/www/molmeth_tmp/sites/all/modules/ctools/includes/plugins.inc).
Comment #13
Sigvard CreditAttribution: Sigvard commentedI did some further work and tried to update outdate modules (among them the entity reference module) with drush and then install Organic groups 7.2. Sadly I never got far enough to test it as I got a white page of death instead that looks highly related to issues between Organic groups and entity reference.
To get rid of the white screen of death I had to disable Organic groups through Drush. During my update it looks like entity reference went wrong somewhere so I installet the recommended version and then tried to activate organic groups which gave the following message when saving the settings:
The Module list does however still show that Organic groups consider entity reference to be active. Views Bulk operations has however gone missing but installing it works fine and allow me to activate the Organic groups UI.
This is however when things get really nasty...
With admin account (ie main admin account) I am able to open any groups created by the admin account but no other group as accessing provides the following error:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.group_type' in 'field list': SELECT base.id AS id, base.type AS type, base.etid AS etid, base.entity_type AS entity_type, base.gid AS gid, base.group_type AS group_type, base.state AS state, base.created AS created, base.field_name AS field_name, base.language AS language FROM {og_membership} base WHERE (base.id IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 15 ) in EntityAPIController->query() (line 152 of /var/www/molmeth_tmp/sites/all/modules/entity/includes/entity.controller.inc)
Further testing also show that normal users got the same ability (can enter groups created by them but no others).
When activating other sub-modules they all seem to work fine except for the Organic Groups access control which when rebuilding permissions causes the following error message:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /debug/?q=batch&render=overlay&id=53&op=do StatusText: Service unavailable (with message) ResponseText: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.group_type' in 'field list': SELECT base.id AS id, base.type AS type, base.etid AS etid, base.entity_type AS entity_type, base.gid AS gid, base.group_type AS group_type, base.state AS state, base.created AS created, base.field_name AS field_name, base.language AS language FROM {og_membership} base WHERE (base.id IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 2 ) in EntityAPIController->query() (line 152 of /var/www/molmeth_tmp/sites/all/modules/entity/includes/entity.controller.inc).
I am rather clueless on the database side of Drupal but I hope that this might be of some assistance to solve the issue.
Comment #14
Sigvard CreditAttribution: Sigvard commentedWhen working on the site trying to get Organic groups 7.2 working I got a warning saying that Organic groups required data to be migrated. When activating the migration sub-module I got the following message:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /debug/?q=batch&render=overlay&id=61&op=do StatusText: Service unavailable (with message) ResponseText: PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'rid' at row 1: UPDATE {og_users_roles} SET rid=:db_update_placeholder_0, group_type=:db_update_placeholder_1, gid=:db_update_placeholder_2 WHERE (uid = :db_condition_placeholder_0) AND (rid = :db_condition_placeholder_1) AND (gid = :db_condition_placeholder_2) ; Array ( [:db_update_placeholder_0] => [:db_update_placeholder_1] => node [:db_update_placeholder_2] => 2 [:db_condition_placeholder_0] => 3 [:db_condition_placeholder_1] => 8 [:db_condition_placeholder_2] => 1 ) in og_7200_user_roles() (line 75 of /var/www/molmeth_tmp/sites/all/modules/og/plugins/og_migrate/7200/og_7200_user_roles.inc).
Comment #15
Sigvard CreditAttribution: Sigvard commentedWhen working on the site trying to get Organic groups 7.2 working I got a warning saying that Organic groups required data to be migrated. When activating the migration sub-module I got the following message:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /debug/?q=batch&render=overlay&id=61&op=do StatusText: Service unavailable (with message) ResponseText: PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'rid' at row 1: UPDATE {og_users_roles} SET rid=:db_update_placeholder_0, group_type=:db_update_placeholder_1, gid=:db_update_placeholder_2 WHERE (uid = :db_condition_placeholder_0) AND (rid = :db_condition_placeholder_1) AND (gid = :db_condition_placeholder_2) ; Array ( [:db_update_placeholder_0] => [:db_update_placeholder_1] => node [:db_update_placeholder_2] => 2 [:db_condition_placeholder_0] => 3 [:db_condition_placeholder_1] => 8 [:db_condition_placeholder_2] => 1 ) in og_7200_user_roles() (line 75 of /var/www/molmeth_tmp/sites/all/modules/og/plugins/og_migrate/7200/og_7200_user_roles.inc).
When trying the individual migration steps I see that the two following steps fail:
Upgrade user roles - 7.2 Update the group ID in user roles. Executed but failed
Remove global roles - 7.2 Remove the global roles. Not executed
Comment #16
sassafrass CreditAttribution: sassafrass commentedSubscribing
Comment #17
drvdt CreditAttribution: drvdt commentedThe same error with og 2.7 and entityreference 1.1
Any idear?
Many thanks