如何配置 Fuelphp?

发布于 2024-12-14 02:11:58 字数 245 浏览 2 评论 0原文

我正在学习Fuel php。我不知道如何配置 Fuelphp。我是从 Fuelphp.com 下载的。我参考了很多教程,但我仍然对此感到困惑。我从公共文件夹复制了index.php和.htaccess文件并更改了APPPATHPKGPATHCOREPATH的路径

但我收到警告:Warning:require (bootstrap.php)

请帮助我......

I am learning Fuel php. I don't know how to configure Fuelphp. I downloaded it from Fuelphp.com. And I refer lot's of tutorial but still I am confuse about it. I copied index.php and .htaccess file from public folder and change path of APPPATH, PKGPATH, COREPATH

But I got warning :Warning: require(bootstrap.php)

Please help me......

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

三生殊途 2024-12-21 02:11:58

您的第一个错误似乎是编辑常量。您不需要这样做,除非您正在自定义文件夹结构,并且如果您是使用该框架的新手,那么这可能不是一个好主意。

C:\wamp\www\FuelPhp\fuel\app\fuel\core\lasses\bootstrap.php

让我们来剖析一下:

C:\wamp\www\FuelPhp\

这是你的应用程序的根。在这里你应该看到“核心”和“应用程序”。相反,您有:

C:\wamp\www\FuelPhp\fuel\app\fuel\core\

您已复制燃料文件夹并将核心放入其中?这是故意的吗?

我会从一份干净的副本开始。什么也不做,只需加载

http://localhost/FuelPhp/public

看看会发生什么。您可能会看到欢迎页面。

Your first mistake seems to have been editing the constants. You don't need to do that unless you are customizing the folder structure and if you are brand new to using the framework that's probably not a good idea.

C:\wamp\www\FuelPhp\fuel\app\fuel\core\lasses\bootstrap.php

Let's disect this:

C:\wamp\www\FuelPhp\

This is the root of your app. Inside here you should see "core" and "app". Instead you have:

C:\wamp\www\FuelPhp\fuel\app\fuel\core\

You have replicated the fuel folder and put core inside it? Was this intentional?

I'd start with a clean copy. Do nothing to it at all, just load up

http://localhost/FuelPhp/public

See what happens. You'll probably see the welcome page.

唠甜嗑 2024-12-21 02:11:58

仔细检查 APPPATH、PKGPATH、COREPATH 设置,可能是错误的。

Doublecheck the APPPATH, PKGPATH, COREPATH settings, probably the are wrong.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文