首页 文章
  • 4 votes
     answers
     views

    代码点火器,未找到404错误

    我的网站有问题 . 在升级到mySQL 5.6之后,主机povider重新编译了Apache和PHP . 显然他们也升级了WHM cPanel . 至于现在我的网站可以正常显示,但是当试图登录时,它找不到所请求的特定页面 . 错误消息: 在此服务器上找不到请求的URL / main / cek_login . 此外,尝试使用ErrorDocument处理请求时遇到404 Not Found错误 ....
  • 1 votes
     answers
     views

    angular2 deps 以外的导入会破坏 webapp 编译

    在我的 angular 2 应用程序中,我遇到了导入除 angular 或我的应用程序组件之外的依赖项的问题。 (e.g. angular2-moment) 我有<base href="/"> 应用程序通过 main 运行(compilation.js 包含所有应用程序模块): <script src="/app/compilation.js&quo...
  • 0 votes
     answers
     views

    在localhost上使用Codeigniter

    我是codeigniter的新手 . 我最近开始研究一个用codeigniter开发的项目 . 我已下载该项目并在本地进行处理,然后将更新上传到实时 . 问题是当我在本地运行它以检查例如http://localhost/example/index.php/home或http://localhost/example/它直接转到实时网站www.example.com/index.php/home in...
  • 141 votes
     answers
     views

    Laravel:获取基本网址

    简单的问题,但答案似乎很难得到 . 在Codeigniter中,我可以加载url helper,然后就可以了 echo base_url(); 获取我网站的网址 . Laravel有同等的东西吗?
  • 1 votes
     answers
     views

    通过控制器访问视图时,CSS无法正常工作

    我正在使用codeigniter . 但即使我使用base url()函数,CSS也无法正常工作 . <link href =“<?php echo base_url();?> application / views / vehicle / css / bootstrap.min.css”rel =“stylesheet”media =“screen”/> 如果我只是回...
  • -1 votes
     answers
     views

    Codeigniter base_url()将index.php添加到我的路径中

    我有这个代码,我想在我的CI项目中将样式表文件添加到我的页面 . 我已将配置文件设置为 $config['base_url'] = 'localhost/project/'; 但是,尝试获取此文件的链接包括index.php,作为回报,我无法链接样式表 . 我的代码出了什么问题? <link href="../<?php base_url();?>vendor/boo...
  • 0 votes
     answers
     views

    Codeigniter,base_url总是在url中返回https协议

    我已经在codeigniter编码我的网站和fb应用程序,目前正在 生产环境 和按预期工作,但我无法弄清楚 . 当我使用base_url时,它始终返回带有https协议的url,无论我目前正在使用http . 我在config.php中有这个 /* |--------------------------------------------------------------------------...
  • 1 votes
     answers
     views

    Codeigniter base_url in plesk

    最近我上传了一个使用codeigniter框架创建的网站到plesk . 在c-panal中,我将文档根目录更改为httpdocs / public_html / cliftonhotel.ae,然后使用FTP将文件上传到相同的文件中 . 我把base_url改成了 $config['base_url'] = 'http://cliftonhotel.ae/'; 问题是如果我输入网址它加载正常(...

热门问题