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

Getting issue in Upgrade to question2answer 1.8.0 #604

Closed
GaneshKandu opened this issue Feb 9, 2018 · 6 comments
Closed

Getting issue in Upgrade to question2answer 1.8.0 #604

GaneshKandu opened this issue Feb 9, 2018 · 6 comments

Comments

@GaneshKandu
Copy link

Hi,

i am Getting issue in Upgrade of question2answer 1.7.5 to 1.8.0

Step to Reproduce

  • Download new version / unzip, upload and overwrite all the current files except config file
  • login to your Admin Control Panel

When trying to Login Getting Error

1

2

system

  • php 5.3.29
  • Browser Mozilla/5.0, Chrome
  • mysql 5.6
  • server apache 2.4
@svivian
Copy link
Collaborator

svivian commented Mar 1, 2018

Can you try setting QA_HTML_COMPRESSION to false in qa-config.php and see if that works? We did have a problem with that before but it should be fixed.

@GaneshKandu
Copy link
Author

yes its works with

define('QA_HTML_COMPRESSION', false);

@svivian
Copy link
Collaborator

svivian commented Mar 3, 2018

OK there must still be a problem with this. Were you definitely upgrading to 1.8.0 final, not a beta release?

@GaneshKandu
Copy link
Author

i am trying to upgrade to final question2answer 1.8.0

@svivian
Copy link
Collaborator

svivian commented Mar 6, 2018

Managed to reproduce using PHP 5.3. It doesn't occur on PHP 7. The problem is with the ob_end_clean(); line in qa-include/qa-install.php. Removing that fixes the problem, but that line is required to fix other issues (6355a05, c4e7e7e). So I'm not really sure at the moment how this can be solved.

svivian added a commit that referenced this issue Mar 6, 2018
@svivian
Copy link
Collaborator

svivian commented Mar 6, 2018

Managed to find a solution that works in my tests. Though I wonder if we should just scrap the gzip option, as it's best handled either through PHP's zlib.output_compression option or at the server level (e.g. Apache mod_deflate).

@svivian svivian closed this as completed Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants