:::
實戰PHP7+MySQL

資料庫錯誤訊息

discuss pic 2018-08-28 09:13:25

老師您好

請問我的資料庫或是哪個地方設定錯誤,為什麼有這麼多錯誤訊息呢?

煩請解惑,謝謝!

 

 

警告: mysqli::__construct(): Headers and client library minor version mismatch. Headers:50556 Library:50637 在檔案中的第 /class/database/mysqldatabase.php 列 66

通知: Uninitialized string offset: 0 在檔案中的第 /modules/hoao_xuitephoto_show/blocks/show_photo.php 列 1715
通知: Undefined variable: sc 在檔案中的第 /modules/tadnews/block_function.php 列 135
警告: in_array() expects parameter 2 to be array, null given 在檔案中的第 /modules/tadnews/block_function.php 列 135
通知: Undefined variable: sc 在檔案中的第 /modules/tadnews/block_function.php 列 135
警告: in_array() expects parameter 2 to be array, null given 在檔案中的第 /modules/tadnews/block_function.php 列 135
通知: Undefined variable: sc 在檔案中的第 /modules/tadnews/block_function.php 列 135
警告: in_array() expects parameter 2 to be array, null given 在檔案中的第 /modules/tadnews/block_function.php 列 135
通知: Undefined variable: sc 在檔案中的第 /modules/tadnews/block_function.php 列 135
警告: in_array() expects parameter 2 to be array, null given 在檔案中的第 /modules/tadnews/block_function.php 列 135
通知: Undefined variable: sc 在檔案中的第 /modules/tadnews/block_function.php 列 135
警告: in_array() expects parameter 2 to be array, null given 在檔案中的第 /modules/tadnews/block_function.php 列 135
通知: Undefined variable: sc 在檔案中的第 /modules/tadnews/block_function.php 列 135
警告: in_array() expects parameter 2 to be array, null given 在檔案中的第 /modules/tadnews/block_function.php 列 135
通知: Undefined variable: ncsn_arr 在檔案中的第 /modules/tadnews/blocks/tadnews_tag_news.php 列 42
未知: Methods with the same name as their class will not be constructors in a future version of PHP; TinyDTextSanitizer has a deprecated constructor 在檔案中的第 /modules/tinyd0/class/tinyd.textsanitizer.php 列 7
警告: Declaration of TinyDTextSanitizer::htmlSpecialChars($text) should be compatible with MyTextSanitizer::htmlSpecialChars($text, $quote_style = ENT_QUOTES, $charset = NULL, $double_encode = true) 在檔案中的第 /modules/tinyd0/class/tinyd.textsanitizer.php 列 7
警告: Declaration of TinyDTextSanitizer::displayTarea($text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1, $nbsp = 0) should be compatible with & MyTextSanitizer::displayTarea($text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) 在檔案中的第 /modules/tinyd0/class/tinyd.textsanitizer.php 列 7
通知: Only variables should be assigned by reference 在檔案中的第 /modules/tinyd0/blocks/tinycontent_content.php 列 121
通知: Only variables should be assigned by reference 在檔案中的第 /modules/tinyd0/blocks/tinycontent_content.php 列 123
通知: Only variables should be assigned by reference 在檔案中的第 /modules/tinyd0/blocks/tinycontent_content.php 列 125
通知: Undefined index: extensions 在檔案中的第 /class/module.textsanitizer.php 列 721
警告: array_filter() expects parameter 1 to be array, null given 在檔案中的第 /class/module.textsanitizer.php 列 721
discuss pic 2018-08-28 09:26:37
tad

tinyd 太舊的關係

discuss pic 2018-08-28 10:02:40

老師:

請問太舊產生的錯誤會影響網站運作嗎??

這些錯誤訊息越來越多....覺得很..............

discuss pic 2018-08-28 10:05:34
tad

「通知」訊息是無關緊要的

「警告」訊息會影響部份功能,但網站仍可正常運行

基本上,個人是不建議再用tinyd

可以用tadnews的自訂頁面取代之

:::

https%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FDiscussID%3D4945%26BoardID%3D55

計數器

今天: 2413241324132413
昨天: 1988198819881988
總計: 7389304738930473893047389304738930473893047389304