CodeIgniter Forums

Full Version: Trouble getting started
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I downloaded CI4, extracted the files and renamed the folder to ci4.
Then i added a virtual host:

DocumentRoot "C:\Program Files (x86)\Ampps\www\ci4\public"

And "" to the Windows hosts file.

When i go to i get:
Quote:The page isn’t working is currently unable to handle this request.

And the following in the error log:
Quote:[Tue Jun 28 07:13:08.222286 2016] [:error] [pid 4596:tid 1300] [client] 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.
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 " 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!
[Image: i4HGleJ.png]
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☺
Yes, i did.
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.
I installed xampp and it works.

DocumentRoot "C:\xampp\htdocs\ci4\public"
Great! Glad you got it working!