dsh12544
2017-10-16 07:28
浏览 42
已采纳

Magento 1.7.0.0上的奇怪问题

My website is not work okay, I check the console and all my js files have this error:

> "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/>

what can be? maybe %7D is a server encoding issue? How I can solve this?

Thank you

enter image description here

图片转代码服务由CSDN问答提供 功能建议

我的网站无法正常工作,我检查控制台,我的所有js文件都有此错误:

 <代码>&GT;  “NetworkError:404 Not Found  -  http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/mage/cookies.js"<br/>
>  cookies.js&LT峰; br /&GT; 
&GT;  “NetworkError:404 Not Found  -  http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/prototype/prototype.js"<br/>
> 的prototype.js&LT峰; br /&GT; 
&GT;  “NetworkError:404 Not Found  -  http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/scriptaculous/effects.js"<br/>
>  effects.js&LT峰; br /&GT; 
&GT;  “NetworkError:404 Not Found  -  http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/lib/ccard.js"<br/>
>  ccard.js&LT峰; br /&GT; 
&GT;  “NetworkError:404 Not Found  -  http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/scriptaculous/dragdrop.js"<br/>
>  dragdrop.js&LT峰; br /&GT; 
&GT;  “NetworkError:404 Not Found  -  http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/prototype/validation.js"<br/>
>  validation.js&LT峰; br /&GT; 
&GT;  “NetworkError:404 Not Found  -  http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/scriptaculous/controls.js"<br/>
>  controls.js&LT峰; br /&GT; 
&GT;  “NetworkError:404 Not Found  -  http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/scriptaculous/builder.js"<br/>
>  builder.js&LT峰; br /&GT; 
&GT;  “NetworkError:404 Not Found  -  http://www.exapmple.com/%7Bunsecure_base_url%7D%7Djs/scriptaculous/slider.js"<br/>
n 什么可以? 也许%7D 是服务器编码问题? 我怎么解决这个问题?

谢谢

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • douxian1939 2017-10-16 07:32
    已采纳

    you forgot a { in your field so magento didn't output the unsecure_base_url value but the variable name and the encoded brackets

     {{unsecure_base_url}}
    
    打赏 评论

相关推荐 更多相似问题