Php 代码点火器的燃料cms不工作
我正在安装基于codeigniter的cms FUEL cms。我遵循所有的步骤Php 代码点火器的燃料cms不工作,php,.htaccess,codeigniter,localhost,fuelcms,Php,.htaccess,Codeigniter,Localhost,Fuelcms,我正在安装基于codeigniter的cms FUEL cms。我遵循所有的步骤但当我试图打开http://localhost/ci_cms/fuel在本地主机上,然后它将我重定向到http://localhost/xxamp/ 但是如果输入,那么它就工作了 这是我在年的index.php中得到的 解压后下载fuelCms时。你有下面的文件夹结构 assets -> Folder fuel -> Folder .gitignore .htaccess index.php -&
但当我试图打开
http://localhost/ci_cms/fuel
在本地主机上,然后它将我重定向到http://localhost/xxamp/
但是如果输入,那么它就工作了
这是我在年的index.php中得到的
解压后下载fuelCms时。你有下面的文件夹结构
assets -> Folder
fuel -> Folder
.gitignore
.htaccess
index.php -> Fuel CMS Master Index File
README.md
robots.txt
现在,在opencart结构中,结构应该是
admin
catalog
download
fuel -> Copied folder from fuel CMS
现在打开fuel文件夹,用“fuel CMS主索引文件”替换当前index.php文件,然后它就可以工作了。在此index.php中,确保INSTALL\u ROOT正确。从端部取出燃油
应该如此
define('INSTALL_ROOT', str_replace('\\', '/',realpath(dirname(__FILE__))).'/');
将此添加到您的.htaccess
< IfModule mod_rewrite.c >
RewriteEngine on
RewriteCond $0 !^(index\.php|css|js|images|robots\.txt)
RewriteRule .* index.php/$0 [L]
< /IfModule >
编辑您的root.httaccess
然后将RewriteBase的值更改为斜杠。所以应该是这样的
RewriteBase /
opencart文件夹在哪里?欢迎使用Fuel消息?通过运行localhost//fuel??正在工作,但现在如何从url中删除index.php…我遵循了所有步骤,现在它变得有点混乱,您可以使用.htaccessnow将此.htaccess文件放在localhost\ci\u cms\fuel\modules或localhost\ci\u cms\fuel\或localhost\ci\u cms中的何处\
$config['index_page'] = "";
RewriteBase /