Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2019, 12:40 AM
annatar annatar is offline
 
Join Date: Jan 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default v3.8.11 on Debian9 with mariadb 10.1 cannot login?

Hello,

I am trying to do some research for a friend to upgrade their forum instance. They are currently running a fully patched debian 8 system with vB 3.8.11 and everything works properly.

In order to try to help them with the upgrade process I have made a VM clone of that system. If I uninstall php 5.6 from debian 8 and install php 7.0 there are no issues and their forum works properly inside the virtual machine.

However, if I do a full apt-get upgrade; apt-get dist-upgrade to debian 9 then when I try to access the forum index page I get the message

'You have been banned for the following reason: No reason was specified. Date the ban will be lifted: Never'

If I try to access the admin page after I enter the login credentials it simply loops back to the login page.

My suspicion is that something in MariaDB 10.1 for Debian 9 has changed, maybe some system setting, and it is causing some query to behave badly.

I have tried removing ever plugin that was installed to vB and also ensured all of the php files are untouched.

I have turned on vB debug information but I don't see anything obvious.

I can tell that on debian8 with php 5.6 or php 7.0 when it works more queries are being executed when hitting the login page.

Has anyone else seen a similar issue or have any suggestions on what I could try to track down the source of the problem?

Thanks in advance for reading and any suggestions.
Reply With Quote
  #2  
Old 01-20-2019, 01:19 AM
motd2 motd2 is offline
 
Join Date: Jan 2010
Location: Moscow
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have a problem with the encoding in the database.
Reply With Quote
  #3  
Old 01-20-2019, 02:57 AM
annatar annatar is offline
 
Join Date: Jan 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by motd2 View Post
You have a problem with the encoding in the database.
Thanks for the suggestion. I manged to get the forum displaying properly by adding the following into the config.php file

$config['Mysqli']['charset'] = 'latin1';

What confuses me though is if I check the character_set in mariadb with the query: SHOW VARIABLES LIKE 'char%';

I can see the character set is not latin1 but utf8.

However, if I go into the admin panel for vB and check the diagnostics for MySQL variables I see character_set_results, character_set_connection and character_set_client reporting latin1

I'm not sure if this is due to the config.php value or if something else has a misconfigured value.
Reply With Quote
  #4  
Old 01-20-2019, 02:05 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When doing the apt-get upgrade, is apache being updated?

If so, depending on apache 2.2 or 2.4 verify apache has mod_rpaf or remoteip module installed.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06396 seconds
  • Memory Usage 2,190KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete