簡體   English   中英

Opencart主題在localhost上安裝后顯示錯誤,但在現有站點上運行良好?

[英]Opencart theme is showing error after install on localhost but working good on existing site?

我已經安裝了一個新的Opencart文件。 現在,我使用了客戶發送給我的主題。 當我安裝主題時,它Notice: Undefined variable: text_items_no in Opencart/catalog/view/theme/epura/template/module/cart.tpl on line 1 item.顯示為Notice: Undefined variable: text_items_no in Opencart/catalog/view/theme/epura/template/module/cart.tpl on line 1 item.錯誤Notice: Undefined variable: text_items_no in Opencart/catalog/view/theme/epura/template/module/cart.tpl on line 1 item. 現在我認為主題可能有錯誤,但是當我訪問已激活主題的站點時,沒有任何錯誤。 有人可以告訴我我在這里想念的東西嗎?

注意我使用的是同一版本的Opencart,該主題已在實時站點和本地主機中激活。

實際上,主題集成沒有任何錯誤。 您缺少通過購物車模塊的控制器啟動的單個變量text_items_no,該變量可能用於顯示文本版本中的項目數。

因此,在catalog / controller / module / cart.php中啟動了此變量,該通知將被刪除。

謝謝。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM