2017-10-16 121 views
0

我的網站是不行沒關係,我檢查控制檯和我所有的js文件有這樣的錯誤:上的Magento奇怪的問題1.7.0.0

> "NetworkError: 404 Not Found - http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/mage/cookies.js"<br/> 
> cookies.js<br/> 
> "NetworkError: 404 Not Found - http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/prototype/prototype.js"<br/> 
> prototype.js<br/> 
> "NetworkError: 404 Not Found - http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/scriptaculous/effects.js"<br/> 
> effects.js<br/> 
> "NetworkError: 404 Not Found - http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/lib/ccard.js"<br/> 
> ccard.js<br/> 
> "NetworkError: 404 Not Found - http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/scriptaculous/dragdrop.js"<br/> 
> dragdrop.js<br/> 
> "NetworkError: 404 Not Found - http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/prototype/validation.js"<br/> 
> validation.js<br/> 
> "NetworkError: 404 Not Found - http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/scriptaculous/controls.js"<br/> 
> controls.js<br/> 
> "NetworkError: 404 Not Found - http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/scriptaculous/builder.js"<br/> 
> builder.js<br/> 
> "NetworkError: 404 Not Found - http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/scriptaculous/slider.js"<br/> 

什麼都可以?也許%7D是一個服務器編碼問題?我如何解決這個問題?

謝謝

enter image description here

+0

你忘了'{ '在你的模板中,所以你的代碼沒有輸出unsecure_base_url – madalinivascu

回答

1

你忘了在你的領域{這樣的Magento沒有輸出unsecure_base_url值,但變量的名稱和編碼的括號

{{unsecure_base_url}} 
+0

謝謝我只是編輯我的帖子,看我的管理面板 – Robert

+0

清除緩存並再試一次 – madalinivascu

+1

是完美的非常感謝你 – Robert