Jump to content

Проблема "Driver Error" IP.Board 3.4.9 при переходе с MySQL 5.6 на 5.7

Featured Replies

Posted
comment_155395

Проблема "Driver Error" IP.Board 3.4.9 при переходе с MySQL 5.6 на 5.7:

Driver Error
There appears to be an error with the database.
If you are seeing this page, it means there was a problem communicating with our database. Sometimes this error is temporary and will go away when you refresh the page. Sometimes the error will need to be fixed by an administrator before the site will become accessible again.

если переключить драйвер с mysql на mysqli, то видим это:

Warning: require_once(/home/mysite/public_html/forum/ips_kernel/classDbMysqli.php): failed to open stream: No such file or directory in /home/mysite/public_html/forum/admin/sources/base/ipsRegistry.php on line 2693

Fatal error: require_once(): Failed opening required '/home/mysite/public_html/forum/ips_kernel/classDbMysqli.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear:/home/mysite/public_html/forum/ips_kernel/') in /home/mysite/public_html/forum/admin/sources/base/ipsRegistry.php on line 2693

 

При этом админка работает без проблем.

Как лечить? Спасибо.

comment_155397
17 минут назад, ipbuser сказал:

Driver Error
There appears to be an error with the database.

Ошибка в cache записалась?

  • Author
comment_155402

Да, спасибо за отклик:

Date: Thu, 21 Feb 2019 02:44:19 +0000
 Error: 1055 - Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mysite_forum.t.tag_meta_app' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
 IP Address: 144.76.38.40 - /forum/index.php
 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 mySQL query error: SELECT t.tag_text, COUNT(t.tag_text) as times, t.tag_meta_app, t.tag_meta_area
                    FROM core_tags t WHERE  tag_meta_app IN ('core','members','forums','downloads','gallery','calendar','blog','membermap','pmviewer','searchactivity','mudd','promenu','shoutbox')
                    AND t.tag_aai_lookup IN( SELECT p.tag_perm_aai_lookup FROM core_tags_perms p WHERE
                 ( ( FIND_IN_SET(2,p.tag_perm_text) ) OR ( p.tag_perm_text='*' ) ) AND p.tag_perm_visible=1 ) GROUP BY t.tag_text
 ORDER BY times DESC
LIMIT 0, 50

  • Author
comment_155412

Спасибо за наводку, отключил, но форум все равно не стартанул, в логах теперь это:

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Date: Fri, 22 Feb 2019 05:46:09 +0000
 Error: 2002 - No such file or directory
 IP Address: 46.229.168.136 - /forum/index.php?app=core&attach_id=6602&cal_id&langid=5&module=attach&section=attach&setlanguage=1
 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
 .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.

Спасибо за помощь, вопрос решен! Еще и PHP до 7.2. поднялся, с которым IPB 3.4.9 никак не дружит - 500 ошибка сервера всегда. Если все же можно подружить IPB 3.4.9 и PHP 7.2, то прошу поделиться как.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.