Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken PostgreSQL support on 1.5.1+ with o_redirect_delay == 0 #58

Closed
Studio384 opened this issue Jun 14, 2013 · 0 comments
Closed

Broken PostgreSQL support on 1.5.1+ with o_redirect_delay == 0 #58

Studio384 opened this issue Jun 14, 2013 · 0 comments
Assignees

Comments

@Studio384
Copy link
Member

Hi

It is impossible to add/edit/delete posts on fluxbb 1.5.1+ (PostgreSQL) due to uncommited transactions where o_redirect_delay == 0.

Please fix it.

Thx

Possible solution:
diff -up fluxbb/include/functions.php.orig fluxbb/include/functions.php
--- fluxbb/include/functions.php.orig 2013-02-22 13:15:11.000000000 +0200
+++ fluxbb/include/functions.php 2013-06-10 22:34:39.801129005 +0300
@@ -1290,6 +1290,9 @@ function redirect($destination_url, $mes
// If the delay is 0 seconds, we might as well skip the redirect all together
if ($pun_config['o_redirect_delay'] == '0')
{

  •   // End the transaction
    
  •   $db->end_transaction();
    
  • header('Location: '.str_replace('&', '&', $destination_url));
    exit;
    
    }

With best regards,
Nikolay Ulyanitsky
http://pkgs.org/

http://fluxbb.org/development/core/tickets/866/

@ghost ghost assigned Studio384 Jun 14, 2013
Studio384 pushed a commit that referenced this issue Aug 1, 2013
@Studio384 Studio384 mentioned this issue Sep 14, 2013
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant