:::
OOo使用者討論區

問題請教 實戰PHP7+MySQL:從0開始寫出自己想要寫的程式 第18章

discuss pic 2018-08-11 13:06:52
按照書中一步步內容,到第18章一完成後。執行時,在帳號密碼輸入後顯示下列問題,我要從哪個方向去debug?
(我有嘗試刪除資料夾
templates_c底下所有檔案後重新執行,結果依然會卡在帳號密碼輸入後)
Notice: Undefined index: all_goods in C:\UniServer\UniServerZ\www\17\mini_shop\templates_c\692769e328b45b936ab7df2782e0cf3566445d11_0.file.goods_list.html.php on line 26

Notice: Trying to get property of non-object in C:\UniServer\UniServerZ\www\17\mini_shop\templates_c\692769e328b45b936ab7df2782e0cf3566445d11_0.file.goods_list.html.php on line 26
共有
Notice: Undefined index: total in C:\UniServer\UniServerZ\www\17\mini_shop\templates_c\692769e328b45b936ab7df2782e0cf3566445d11_0.file.goods_list.html.php on line 67

Notice: Trying to get property of non-object in C:\UniServer\UniServerZ\www\17\mini_shop\templates_c\692769e328b45b936ab7df2782e0cf3566445d11_0.file.goods_list.html.php on line 67
件商品
Notice: Undefined index: bar in C:\UniServer\UniServerZ\www\17\mini_shop\templates_c\692769e328b45b936ab7df2782e0cf3566445d11_0.file.goods_list.html.php on line 69

Notice: Trying to get property of non-object in C:\UniServer\UniServerZ\www\17\mini_shop\templates_c\692769e328b45b936ab7df2782e0cf3566445d11_0.file.goods_list.html.php on line 69
我回朔檔案到第17章進度都還OK運行沒問題
  •  
    1) qa.png