Croogo Theme issue in localhost [Windows]

不羁的心 提交于 2019-12-12 04:22:11

问题


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!


回答1:


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



来源:https://stackoverflow.com/questions/18917362/croogo-theme-issue-in-localhost-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!