Trouble getting started - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Trouble getting started (/showthread.php?tid=65578) |
Trouble getting started - george--fb - 06-27-2016 I downloaded CI4, extracted the files and renamed the folder to ci4. Then i added a virtual host: Code: <VirtualHost 127.0.0.1:80> And "127.0.0.1 ci4.dev" to the Windows hosts file. When i go to ci4.dev i get: Quote:The ci4.dev page isn’t working And the following in the error log: Quote:[Tue Jun 28 07:13:08.222286 2016] [:error] [pid 4596:tid 1300] [client 127.0.0.1:64646] PHP Fatal error: Uncaught Error: Class 'Config\\App' not found in C:\\Program Files (x86)\\Ampps\\www\\ci4\\public\\index.php:237\nStack trace:\n#0 {main}\n thrown in C:\\Program Files (x86)\\Ampps\\www\\ci4\\public\\index.php on line 237 I also changed RewriteBase to "/ci4". PHP version is 7. RE: Trouble getting started - kilishan - 06-27-2016 Hmm.. it looks like it should work. I know we caught something with Config\App not being found earlier in development on Windows but that was resolved. And you've made the document root to public so that's not the issue. What is the HTTP status code being returned with the "ci4.dev is currently unable to handle this request." error? Unfortunately, I just recently had to replace my hard drive, so I lost my Parallel's Window install, so it will be a couple of days until I can get a working Windows environment set back up. Hopefully, someone else can help you out faster! RE: Trouble getting started - george--fb - 06-27-2016 RE: Trouble getting started - jaynarayan - 06-27-2016 Have u restart the apache after creating vhost. Yesterday i tried ci4 first time end it was not working. But then i realised that i forgot to restart my Wamp after creating vhost. Silly mistake☺ RE: Trouble getting started - george--fb - 06-27-2016 Yes, i did. RE: Trouble getting started - InsiteFX - 06-28-2016 One problem I see alot of here is that users place the servers under Program Files(x86) etc; Most packages do not like this you should place the package in the C:\ root. RE: Trouble getting started - george--fb - 06-28-2016 I installed xampp and it works. Code: <VirtualHost 127.0.0.1:80> RE: Trouble getting started - kilishan - 06-28-2016 Great! Glad you got it working! |