Anyrel Posted January 11, 2016 Report Share Posted January 11, 2016 (edited) Вот мой http://forum.uniongaming.ru/ когда перехожу в форум данная ошибка подскажите пжлст 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. You can try to refresh the page by clicking http://forum.uniongaming.ru/index.php?/forum/4-novosti/# Edited January 11, 2016 by Anyrel Quote Link to comment Share on other sites More sharing options...
Back Posted January 11, 2016 Report Share Posted January 11, 2016 Перейти: /admin/applications/forums/sources/classes Найти: //----------------------------------------- // Rebuild SEO title on the fly, if needed //----------------------------------------- if( ! $topic['title_seo'] ) { $topic['title_seo'] = IPSText::makeSeoTitle( $topic['title'] ); $this->DB->update( 'topics', array( 'title_seo' => ( $topic['title_seo'] ) ? $topic['title_seo'] : '-' ), 'tid=' . $topic['tid'] ); } Заменить на: //----------------------------------------- // Rebuild SEO title on the fly, if needed //----------------------------------------- if ($topic['tid']) { if( ! $topic['title_seo'] ) { $topic['title_seo'] = IPSText::makeSeoTitle( $topic['title'] ); $this->DB->update( 'topics', array( 'title_seo' => ( $topic['title_seo'] ) ? $topic['title_seo'] : '-' ), 'tid=' . $topic['tid'] ); } } Если нечиво не изменилось кэш чисть. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.