Failed to open stream |
Hi there!
After php spark serve run, i open localhost:8080 and there is an error like this Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Fatal error: Unknown: Failed opening required 'A:\xampp\htdocs\ci4app\vendor\codeigniter4\framework\system\Commands\Server/rewrite.php' (include_path='\xampp\php\PEAR') in Unknown on line 0 How to solve this error? CodeIgniter 4 version develop latest Context OS: Windows Web server: Apache PHP version: 7.3
Did you setup your base_url
You run index.php out of the public folder. We need more information on what you have done. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(04-04-2021, 08:51 PM)InsiteFX Wrote: Did you setup your base_urlI don't know where is it But in ./app/config/App.php i found : public $baseURL = 'http://localhost:8080/'; and i found this in .env #-------------------------------------------------------------------- # APP #-------------------------------------------------------------------- app.baseURL = 'http://localhost:8080/' Sorry i'm new in Codeigniter (04-05-2021, 06:19 PM)Fauzanarth Wrote:(04-04-2021, 08:51 PM)InsiteFX Wrote: Did you setup your base_urlI don't know where is it i my case i just copy and paste rewrite.php in system\Commands\Server/rewrite.php' from original zip and work like magic
Why A: drive?
|
Welcome Guest, Not a member yet? Register Sign In |