[英]CodeIgniter Database Migration Error
while I am migrating my database in codeigniter by url : hostname/project-name/api/migrate/ error shows as shown in the figure 当我通过URL在codeigniter中迁移数据库时:hostname / project-name / api / migrate /错误显示,如图所示
Please help me to fix 请帮我解决
try adding this code to .htaccess file . 尝试将此代码添加到.htaccess文件。 i think it should help 我认为这应该有所帮助
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /hafer
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
AddDefaultCharset UTF-8
AddType text/x-component .htc.
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.