我正在 OpenCart 3.0.3.3 上創(chuàng)建新的擴(kuò)展支付網(wǎng)關(guān) GCash。我復(fù)制現(xiàn)有的銀行轉(zhuǎn)賬概念。但是一旦我安裝了新的擴(kuò)展,我就會(huì)遇到錯(cuò)誤。致命錯(cuò)誤:未捕獲錯(cuò)誤:在 C:\xampp\storage\chaguan\storage\modification\system\engine\action.php:71 中找不到類“Controllerextension paymentgcash”:71 堆棧跟蹤:#0 C:\xampp\storage\chaguan\storage \modification\system\engine\loader.php(48): Action->execute(Object(Registry), Array) #1 C:\xampp\htdocs\chaguan2\admin\controller\extension\extension\ payment.php(27 ): Loader->controller('extension/payme...') #2 C:\xampp\storage\chaguan\storage\modification\system\engine\action.php(79): ControllerExtensionExtensionPayment->install() #3 C:\xampp\htdocs\chaguan2\admin\controller\startup\router.php(26): Action->execute(Object(Registry), Array) #4 C:\xampp\storage\chaguan\storage\modification\system \engine\action.php(79): ControllerStartupRouter->index() #5 C:\xampp\htdocs\chaguan2\system\engine\router.php(67):操作->執(zhí)行(對(duì)象(注冊(cè)表)) #6 C:\xampp\htdocs\chaguan2\system\engine\router.php(56): Router->執(zhí)行(對(duì)象(操作)) #7 C:\xampp\htdocs \chaguan2\system\framework.php(165): Router->dispatch(Object(Action), Object( 在 C:\xampp\storage\chaguan\storage\modification\system\engine\action.php 第 71 行如何解決以下錯(cuò)誤?作為參考,這是我的代碼:控制器 路徑:管理\控制器\擴(kuò)展\付款\gcash.php
1 回答

一只甜甜圈
TA貢獻(xiàn)1836條經(jīng)驗(yàn) 獲得超5個(gè)贊
在管理\控制器\擴(kuò)展\付款\gcash.php
代替
class ControllerExtensionGCash extends Controller {
和
class ControllerExtensionPaymentGCash extends Controller {
OpenCart 在安裝時(shí)尋找的控制器類名類型。
- 1 回答
- 0 關(guān)注
- 109 瀏覽
添加回答
舉報(bào)
0/150
提交
取消