本地主机中的主题问题[Windows] [英] Croogo Theme issue in localhost [Windows]
问题描述
我在我的Cakephp网站使用Croogo CMS,其工作正常在服务器和所有linux机器,但它不能正常工作在Windows机器。请在下面找到我在本地主机中面对的问题
PHP版本:5.3.13
Croogo版本:1.4.3
操作系统:Windows 7 - 32位
目标:我想使用我的Cakephp默认布局,而不是croogo主题布局和cgs和js从croogo主题
Cakephp布局位置:
app / Views / Layouts / default .ctp
Croogo主题布局
视图/主题/ [MyTheme ]
default.ctp
css [文件夹]
js [文件夹]
现在问题是css和图像指向这个目录theme / [MyTheme] /css/style.css。但这个文件夹结构不可用,所以我得到以下错误
NetworkError:404未找到 - http://localentrust.dev/theme/[MyTheme]/ css / style.css
请指导我解决这个问题。谢谢!
可能你有权限问题,没有逻辑原因你的css不显示,看到您的默认视图不在Layouts文件夹下,您的js和css文件夹应该在webroot文件夹下。问候
I am using Croogo CMS in my Cakephp website, its working fine in server and all linux machines but it’s not working properly in windows machine. Please find below issue what I am facing in my local host
PHP Version:5.3.13
Croogo Version: 1.4.3
OS: Windows 7 - 32 bit
Goal: I want to use my Cakephp default layout instead of croogo theme layout and css and js from croogo theme
Cakephp Layout location: app/Views/Layouts/default.ctp
Croogo Theme Layout
Views/Themed/[MyTheme]
default.ctp
css[folder]
js[folder]
Now problem is css and images point to this directory theme/[MyTheme]/css/style.css. But this folder structure is not available, so I am getting below error
"NetworkError: 404 Not Found - http://localentrust.dev/theme/[MyTheme]/css/style.css"
Please guide me to solve this issue. Thanks!
probably u have permissions issues, there is no logical reason for your css to not be displayed, the other thing i see is that your default view is not under Layouts folder, and your js and css folders should be under webroot folder. greetings
这篇关于本地主机中的主题问题[Windows]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!