Mình đang dùng Xenforo khi đăng ký thành viên mới thì bị lỗi: Server Error Mysqli statement execute error : Duplicate entry '36' for key 'PRIMARY' Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 317 Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479 Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574 Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1591 XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1580 XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1381 XenForo_DataWriter->save() in XenForo/ControllerPublic/Register.php at line 246 XenForo_ControllerPublic_Register->actionRegister() in XenForo/FrontController.php at line 310 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132 XenForo_FrontController->run() in /home/wapvietn/public_html/index.php at line 13 Bạn nào biết cách khắc phục có thể giúp đỡ mình với. Mình đang dùng Hosting TND.VN XIn cảm ơn
Mình có xem qua database của bạn, mình thấy một số thứ không chuẩn cho lắm. Không biết có phải bạn convert database từ loại mã nguồn khác sang hay không. Nếu đúng thì bạn nên nên tìm phương pháp convert khác hoặc cài lại một forum xenforo mới.
Cái này mình làm từ đầu mà.Nhưng mình làm từ 1.2 rồi mình up lên 1.3 rồi tự dưng không đăng ký được thành viên mới luôn
còn lỗi này thì do cấu hình hosting bên bạn đúng không : PHP: An exception occurred: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/wapvietn/public_html/library/Zend/Db/Adapter/Mysqli.php on line 333 Zend_Db_Adapter_Mysqli->_connect() in Zend/Db/Adapter/Abstract.php at line 315 Zend_Db_Adapter_Abstract->getConnection() in XenForo/Application.php at line 553 XenForo_Application->loadDb() call_user_func_array() in XenForo/Application.php at line 780 XenForo_Application->lazyLoad() in XenForo/Application.php at line 810 XenForo_Application::get() in XenForo/Application.php at line 1098 XenForo_Application::getDb() in XenForo/Error.php at line 47 XenForo_Error::unexpectedException() in XenForo/Application.php at line 295 XenForo_Application::handleException()
theo như bài support này bên Vietxf http://vietxf.org/threads/loi-an-unexpected-database-error-occurred-please-try-again-later-error.62/
Hosting bên bạn không thể kết nối tới SQL #2002 Cannot log in to the MySQL server. ĐỢt này nhiều lỗi quá
Mình thấy Xenforo chỉ nhanh lúc đầu thôi còn về độ ổn định cho các diễn đàn lớn thì chắc thua xa vBulletin
Xenforo chỉ mới lạ và hay ở cái notification thôi. Thực ra về độ ổn định và hoạt động lâu dài của nó thua xa VBB nhiều.
Mình cũng từng bị lỗi này nhưng mày mò mãi chẳng biết mô tê gì cả, sau có một a khắc phục giúp, chẳng hiểu a ý làm kiểu gì nữa :v