Sửa lỗi Thread Prefix Listing 1.2.0

PVS

Super Moderator
Thành viên BQT
Tham gia
28/02/2015
Bài viết
16,828
Được Like
12,687
Sau thi install add-ons Thread Prefix Listing 1.2.0 bị lỗi

Cách khắc phục:
- Tìm /library/PrefixForumListing/Extend/ControllerPublic/Forum.php
Dòng thứ 5:
Mã:
public function actionIndex()
Sửa thành
Mã:
public function actionForum()

Dòng 7
Mã:
$response = parent::actionIndex();
Sửa thành:
Mã:
$response = parent::actionForum();
- Tìm /library/PrefixForumListing/DataWriter/Discussion/Thread.php

Dòng thứ 4
Mã:
protected function _discussionPostDelete(array $messages)
Sửa thành
Mã:
protected function _discussionPostDelete()

Dòng thứ 12
Mã:
return parent::_discussionPostDelete($messages);
Sửa thành
Mã:
return parent::_discussionPostDelete();

Dòng thứ 16:
Mã:
protected function _discussionPostSave(array $messages)

Sửa thành
Mã:
protected function _discussionPostSave()

Dòng thứ 44:
Mã:
return parent::_discussionPostSave($messages);
Sửa thành:
Mã:
return parent::_discussionPostSave();

Lưu tất cả lại là xong.
Chúc các bạn thành công!


Nguồn: tuoitreit.vn​
 

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Dịch vụ XenForo của VNXF

Mr. Tuấn

Mobile/Zalo: 0988 488 096

Telegram: bluekpro

Email: [email protected]

Nhà Tài Trợ

Mút Xốp Không Gian
pallet Thịnh Phát
Top Bottom