:::
Tad書籍區

請問打造佈景操作,結果得出Error: Smarty error: [in /themes/my_theme/theme.html line 78]:

discuss pic 2008-04-09 12:34:57
諸位大大你們好: 依照書中章節操作佈景打造,重新載入時出現以下文字: This page cannot be displayed due to an internal error. You can provide the following information to the administrators of this site to help them solve the problem: Error: Smarty error: [in /themes/my_theme/theme.html line 78]: syntax error: invalid attribute name: '<{include' (Smarty_Compiler.class.php, line 1547) 請教一下,是哪些地方出錯? 謝謝。 第78行的內容如下: <{foreach item=block from=$xoops_lblocks}> <{include file="my_theme/blocks/theme_blockleft.html"}> <{/foreach}>
discuss pic 2008-04-10 11:00:05
tad
那跟佈景無關啦~
那是資料庫連不上的關係~
檢查一下資料庫或者mainfile.php的設定是否正確吧~
discuss pic 2008-04-11 00:57:43
謝謝 tad ,但是我確定資料庫是連上的。
反而在偏好設定主頁>>一般設定>>要自動檢查樣版是否更新?
若選是,即出現上述錯誤
若選否,則正常,選不同的版面風格也 ok
:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FDiscussID%3D983%26BoardID%3D3

線上使用者

100人線上 (77人在瀏覽討論留言)

會員: 0

訪客: 100

更多…