เปลี่ยนชื่อเว็บแล้วเพิ่มข่าวไม่ได้ครับ
หลังจากที่เข้าไปตั้งค่าเปลี่ยนแค่ชื่อเว็บ ในการตั้งค่าทั่วไป จะไม่สามารถเข้าไปเพิ่มหัวข้อพวกข่าวผ่านการกดลิงค์ แก้ไขข้อมูลส่วนตัวสมาชิกได้เลยครับ และไปดูที่ Debug tool ขึ้นเออเรอร์ตามข้อความข้างล่างครับ
ERROR : 2019-09-16 15:23:56
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:23:56
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:23:56
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:24:04
Exception : SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value in D:\xampp\htdocs\bfdwweb\Kotchasan\Router.php on line 72
ERROR : 2019-09-16 15:24:24
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\xampp\htdocs\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-09-16 15:24:24
PHP warning : fopen(https://gcms.in.th/news.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\xampp\htdocs\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-09-16 15:24:24
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\xampp\htdocs\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-09-16 15:24:24
PHP warning : fopen(https://gcms.in.th/gcmsupdate.php?v=13.3.1): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\xampp\htdocs\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-09-16 15:26:14
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:26:14
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:26:14
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:23:56
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:23:56
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:23:56
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:24:04
Exception : SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value in D:\xampp\htdocs\bfdwweb\Kotchasan\Router.php on line 72
ERROR : 2019-09-16 15:24:24
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\xampp\htdocs\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-09-16 15:24:24
PHP warning : fopen(https://gcms.in.th/news.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\xampp\htdocs\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-09-16 15:24:24
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\xampp\htdocs\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-09-16 15:24:24
PHP warning : fopen(https://gcms.in.th/gcmsupdate.php?v=13.3.1): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\xampp\htdocs\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-09-16 15:26:14
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:26:14
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-09-16 15:26:14
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\xampp\htdocs\bfdwweb\Kotchasan\Orm\Field.php on line 177
เพิ่มข่าวไม่ได้ เพิ่มความรู้ไม่ได้ สมัครไม่ได้
ทุกสิ่งทุกอย่างติดตั้งบน Localhost ครับ
ERROR : 2019-10-09 11:37:30
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 11:37:30
PHP warning : fopen(https://gcms.in.th/news.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 11:37:30
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 11:37:30
PHP warning : fopen(https://gcms.in.th/gcmsupdate.php?v=13.3.1): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 11:37:49
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:38:51
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:39:25
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:39:44
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:40:01
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:41:24
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 11:41:24
PHP warning : fopen(https://gcms.in.th/news.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 11:41:24
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 11:41:24
PHP warning : fopen(https://gcms.in.th/gcmsupdate.php?v=13.3.1): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 11:42:44
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:42:45
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:42:45
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:42:45
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:42:47
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:42:47
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:42:47
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:43:06
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:43:06
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:43:06
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:43:32
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:43:32
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:43:32
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:43:54
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 11:43:54
PHP warning : fopen(https://gcms.in.th/news.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 11:43:54
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 11:43:54
PHP warning : fopen(https://gcms.in.th/gcmsupdate.php?v=13.3.1): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 11:43:58
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:43:58
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:43:58
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:44:41
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:44:41
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:44:41
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 11:48:03
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 11:48:03
PHP warning : fopen(https://gcms.in.th/news.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 11:48:03
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 11:48:03
PHP warning : fopen(https://gcms.in.th/gcmsupdate.php?v=13.3.1): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 11:48:39
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 11:48:39
PHP warning : fopen(https://gcms.in.th/news.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 11:48:39
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 11:48:39
PHP warning : fopen(https://gcms.in.th/gcmsupdate.php?v=13.3.1): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 11:50:05
PHP warning : unlink(D:/inetpub/root/bfdwweb/datas/board/): Is a directory in D:\inetpub\root\bfdwweb\modules\board\models\action.php on line 157
ERROR : 2019-10-09 11:50:05
PHP warning : unlink(D:/inetpub/root/bfdwweb/datas/board/thumb-): No such file or directory in D:\inetpub\root\bfdwweb\modules\board\models\action.php on line 158
ERROR : 2019-10-09 11:57:25
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 13:34:41
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 13:34:52
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 13:35:07
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 13:35:08
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 13:35:09
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 13:35:13
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 13:35:47
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 13:36:52
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 13:36:53
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 13:37:05
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 16:21:02
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 16:21:02
PHP warning : fopen(https://gcms.in.th/news.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 16:21:02
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 16:21:02
PHP warning : fopen(https://gcms.in.th/gcmsupdate.php?v=13.3.1): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 16:21:52
Exception : SQLSTATE[HY000]: General error: 1364 Field 'social' doesn't have a default value in D:\inetpub\root\bfdwweb\Kotchasan\Router.php on line 72
ERROR : 2019-10-09 16:21:56
Exception : SQLSTATE[HY000]: General error: 1364 Field 'social' doesn't have a default value in D:\inetpub\root\bfdwweb\Kotchasan\Router.php on line 72
ERROR : 2019-10-09 16:21:58
Exception : SQLSTATE[HY000]: General error: 1364 Field 'social' doesn't have a default value in D:\inetpub\root\bfdwweb\Kotchasan\Router.php on line 72
ERROR : 2019-10-09 16:21:59
Exception : SQLSTATE[HY000]: General error: 1364 Field 'social' doesn't have a default value in D:\inetpub\root\bfdwweb\Kotchasan\Router.php on line 72
ERROR : 2019-10-09 16:22:19
Exception : SQLSTATE[HY000]: General error: 1364 Field 'social' doesn't have a default value in D:\inetpub\root\bfdwweb\Kotchasan\Router.php on line 72
ERROR : 2019-10-09 16:22:19
Exception : SQLSTATE[HY000]: General error: 1364 Field 'social' doesn't have a default value in D:\inetpub\root\bfdwweb\Kotchasan\Router.php on line 72
ERROR : 2019-10-09 16:24:36
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 16:24:36
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 16:24:36
PHP warning : count(): Parameter must be an array or an object that implements Countable in D:\inetpub\root\bfdwweb\Kotchasan\Orm\Field.php on line 177
ERROR : 2019-10-09 16:24:48
Exception : SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value in D:\inetpub\root\bfdwweb\Kotchasan\Router.php on line 72
ERROR : 2019-10-09 16:24:56
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 16:24:56
PHP warning : fopen(https://gcms.in.th/news.php): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getnews.php on line 31
ERROR : 2019-10-09 16:24:56
PHP warning : fopen(): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
ERROR : 2019-10-09 16:24:56
PHP warning : fopen(https://gcms.in.th/gcmsupdate.php?v=13.3.1): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\inetpub\root\bfdwweb\admin\modules\index\models\getupdate.php on line 31
พอมันเป็นแบบนี้แล้วเป็นยาวเลยครับอาจารย์ จนต้องติดตั้งใหม่ทั้งระบบถึงจะสามารถใช้งานได้ พอมีการเข้าไปตั้งค่าแต่ละหัวข้อมันก็จะเป็นอีกครับ
2. Field 'email' doesn't have a default value จริงๆ error นี้ไม่ควรเกิดขึ้น เพราะ email ไม่ควรว่างเปล่า ถ้าไม่อยากให้มี error นี้ ให้แก้ sql_mode = "" (ค่าว่าง)
Error อื่นๆ ก็เกี่ยวพันกับ 2 ตัวนี้แหละ
ขอบคุณมากครับอาจาร จะลองปรับดูครับ