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.
1. Installed phpBB mod and patch (phpBB version 3.09)
2. Installed drupal 7.4 (upgraded to 7.7).
3. Configured drupal to point to phpBB location
4. Go to Drupal's Modules->phpBBforum->Configure
Error message:
Uncaught exception thrown in session handler.
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid' cannot be null: UPDATE {sessions} SET uid=:db_update_placeholder_0, cache=:db_update_placeholder_1, hostname=:db_update_placeholder_2, session=:db_update_placeholder_3, timestamp=:db_update_placeholder_4 WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ); Array ( [:db_update_placeholder_0] => [:db_update_placeholder_1] => 0 [:db_update_placeholder_2] => 18.42.1.107 [:db_update_placeholder_3] => batches|a:1:{i:3;b:1;}updates_remaining|a:0:{} [:db_update_placeholder_4] => 1312398325 [:db_condition_placeholder_0] => yipvYBiRzqKxvylFggrIqLxZ8coEcPZcjauERp_xaq0 [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 203 of /var/www/relaxtest/drupal/includes/session.inc).
Comment | File | Size | Author |
---|---|---|---|
#3 | README.txt | 17.37 KB | almirsarajcic |
Comments
Comment #1
ves CreditAttribution: ves commentedI think i have struggling with the same issue. Went through same procedure, installed Drupal 7.7 and phpBB3 v. 3.09, the mod and patch. When directing to phpbb in drupal module settings i get this error:
PhpbbVBridgeException: exit in phpbb_hook_exit_handler() (line 129 of C:\wamp\www\avinet\phpBB3\includes\phpbbdrupalbridge\phpbb_api_hooks.php).
followed by a lot of information in the background:
(and it just goes on)
Comment #2
danscott CreditAttribution: danscott commentedComment #3
almirsarajcic CreditAttribution: almirsarajcic commentedI've had the same issue. The problem is that I didn't read whole README.txt file :)
Before installing Drupal I had moved phpBB3 forum from other domain. I just had to change domain in phpBB administration -> General -> Server Settings. I didn't have to change $base_url in Drupal, but if you encounter any problems you should uncomment it and change it to the same domain as on phpBB3. If the domain name in phpBB3 is example.com then $base_url should be http://example.com or www.example.com and http://www.example.com.
Comment #4
Shalrath CreditAttribution: Shalrath commentedI've noticed that this seems to happen as soon as I set "display phpbb" as "In the Drupal page. (Except for ACP)". In frame, or in separate window seem to work fine though.
Comment #5
samgreco CreditAttribution: samgreco commentedI am seeing this too. My server settings and base_URL are the same.
Any guidance?
Comment #6
jonathanunai CreditAttribution: jonathanunai commentedThe same happens to me, has anybody found a fix for this?
cheers
Comment #7
j0rd CreditAttribution: j0rd commentedI have the same problem and I'm not using PHPBB or the related module. Something else is going on here. I think it's some bad code some where.
Comment #8
TT1 CreditAttribution: TT1 commentedHave the same thing. It only occurs when using the "In the Drupal page. (Except for ACP)" option.
Comment #9
HighHo CreditAttribution: HighHo commentedHad the same issue, make sure you clear browser cache and run "Purge the cache" from phpbb, its displayed on the home adm screen. I originally skipped the step as i was expecting it in maintenance . :)
Comment #10
chiappa CreditAttribution: chiappa commentedSame error but my problem was that I forgot to delete the install directory...
Comment #11
chiappa CreditAttribution: chiappa commentedSame error but my problem was that I forgot to delete the install directory...
Comment #12
fizk CreditAttribution: fizk commentedPlease reopen if this is still an issue.
Comment #13
guidolavespa CreditAttribution: guidolavespa commentedI uncomment the $base_url = in the settings.php
and changed it to the my domain as on where phpBB3 is installed.
www.xxxxxxxxxxx.be
Comment #14
Valera Tumash CreditAttribution: Valera Tumash commentedIf I uncomment $base_url in settings.php - the error will be reproduced again.