gpt4 book ai didi

magento - magento 移动到另一个服务器皮肤/css 后不起作用

转载 作者:行者123 更新时间:2023-12-01 08:16:44 26 4
gpt4 key购买 nike

将 magento 从一个主机迁移到另一个具有不同域的主机后,我遇到了一个问题 - http://vinylshop.lt/不要加载皮肤/css ..

任何解决方案?

我找到了类似的解决方案 - http://blog.wayyi.com/incorrect-css-and-js-path-varwwwmagentoskin-after-moving-magento-to-new-server

但是在表 core_config_data 中没有 dev/js/merge_files 和 dev/css/merge_css_files 并且不知道如何添加它们

最佳答案

您的来源表明已启用合并。您可以运行以下 sql 来更新您的 core_config_data table ;先备份!

UPDATE `core_config_data` SET `value` = 0 WHERE `path` = "dev/js/merge_files" OR `path` = "dev/css/merge_css_files";

您应该看到至少有两行受到影响。从 var/cache/ 中删除所有内容.

另外,看起来您需要移到您的 .htaccess 上。文件以及 web/seo/use_rewrites 的值好像启用了根据您的版本,您可以从 repo 中获取原始文件(版本号指向最新的稳定补丁级别):
http://svn.magentocommerce.com/source/branches/1.6/.htaccess

关于magento - magento 移动到另一个服务器皮肤/css 后不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9240518/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com