Comments (10)
v3 is not functional yet. Please use v2.
from codeigniter4.
Which version is it?
from codeigniter4.
ha my bad, I replied to the wrong project
from codeigniter4.
First - you realize this hasn't been released, yet, right? Which means I can't support it a whole lot right now. :)
Additional details are always helpful, though:
- how fresh is the code you're trying to install?
- What OS are you running?
- Have you tried debugging it at all yourself and, if so, what did you find?
from codeigniter4.
latest revision - 852d49f
W10-x64+php-7.0.4RC1-Win32-VC14-x64+httpd-2.4.18-win64-VC14
if before
$config = new \Config\App();
add
require_once APPPATH.'Config/App.php';
is displayed
404 - File Not Found
Sorry! Cannot seem to find the page you were looking for.
from codeigniter4.
Interesting why there is a namespace "Config" and with that classes as Config/App ..
It should be Appnamespace/Config/App.
Those configurations are part of the application and I don't see what point may exist of having them under different namespace ?
One big minus will be if there exists and is used some namespace which is really common word as "Config" . I have met a few times problems related to same namespaces usage in a project and required library loaded with Composer..
How ever.. this is a build in progress so there is no big point of such discussions 👍
from codeigniter4.
@exbit - The autoloader should take care of finding that file for you. Strange that it's not, though I haven't run any tests on Windows yet, as I'm on a Mac. I guess it's finally time to upgrade Parallels so I can run some tests on Windows. :) Any chance you can step through the code with XDebug and see why it's not finding it in the autoloader until I have time to get a working Windows rig setup here again?
@sv3tli0 There is the possibility of a namespace collision, using something simple like Config, true, although I don't know that I've ever seen that one show up. It was done to make it possible to change the App namespace and yet still allow system to know how to find the config files. Seems I tried using the constant and didn't have any luck in system files, but will have to investigate again.
from codeigniter4.
@exbit - did you find a solution for this other than simply requiring the file explicitly? I've finally got a setup up and running where I can start to explore it on Windows. Need to get xdebug installed and step through the code, but I'm out of time for today.
from codeigniter4.
While no solution found, Timeline: Bootstrap
Routing Timer
Controller Timer
Controller Constructor
View: welcome_message.php - not to goes
index.php
require './vendor/autoload.php';
CodeIgniter.php
require APPPATH.'Config/App.php';
require APPPATH.'Config/Logger.php';
I think the problem is in the paths to the files
from codeigniter4.
I believe I found it. Filename sanitizer in Autoloader was doing too good of a job.
from codeigniter4.
Related Issues (20)
- Add to $filters except urls like in globals HOT 1
- Bug: Module/Config/Registrar.php cause infinite loop in codeigniter4\framework\system\Autoloader\FileLocator.php on line 226
- Bug: Boot Order HOT 3
- Bug: Routing groups and in-group routes use filters that are only effective within the group. HOT 1
- [Registrar] Duplicate entries leads to duplicate config properties which leads to duplicated items in the debug toolbar. HOT 6
- DB BaseBuilder Join() - RawSql as table HOT 1
- Bug: speed bug HOT 5
- Bug: Time loses microseconds HOT 8
- ContentSecurityPolicy::setReportURI() shoud accept null values HOT 3
- Bug: valid_email is not working with permit_empty rules HOT 2
- Bug: Validation rule `differs` or `matches` fails if rule applied on array data HOT 3
- Bug: Preload issues HOT 1
- Dev: PHP 8.4 support HOT 12
- "CodeIgniter\Debug\ExceptionHandler::handle" show error condition add "CI_DEBUG" suggest HOT 12
- Bug: failed tests on tests/system/Commands/ConfigurableSortImportsTest.php HOT 8
- Bug: Truncated email subject when contains accented characters HOT 1
- Bug: [Model] `$afterUpdate` callback, returned ID is null. HOT 5
- Bug: `is_unique` rule specification HOT 2
- Bug: return 404 if request only headers HOT 2
- Bug: IDE warnings on static::getSharedInstance() return type mismatch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeigniter4.