浏览器无法从magento皮肤文件夹加载theme.cs.php文件


Browser unable to load theme.css.php file from magento skin folder

我使用cpanel作为主机。我用过Gala Electronues市场响应主题

我已经在localhost中进行了测试,它运行良好,但当我尝试在实时托管服务器上安装时,其中一个主题文件没有加载。

我的实时网址是中的www.freshdeals.co

有谁能面对这个问题,或者能帮助我解决这个问题吗。

转到app'design'frontend'default'galaelectronues'template'page'html

打开em_head.php

css/theme.css.php 中删除.php

它将看起来像href="<?php echo $this->getSkinUrl('css/theme.css').'?'.http_build_query($setting->getAllCssConfig(), '', '&amp;'); ?>">

是的,我得到了你问题的答案,因为我面临的是

注释根目录中的.htaccess文件并删除缓存,然后文件theme.css.php正常工作。

请参阅以下链接:https://magento.stackexchange.com/questions/180730/browser-unable-to-load-theme-css-php-file-from-magento-skin-folder/180732#180732