08-21-2017, 05:39 AM
(This post was last modified: 08-21-2017, 06:40 AM by SDavisworth.)
Hello all... Last week I was getting "Fatal error: Cannot use Config\Services as Services because the name is already in use in..." was advised as follows: we've found that PHP versions under 7.0.15 (especially on Windows) have a problem. Upgrade your PHP version and try again.
I upgraded to PHP 7.1.8 and the error was resolved. I've been following the tutorial posted at https://bcit-ci.github.io/CodeIgniter4/t...pages.html but seem to get "404 - File Not Found Controller or its method is not found" no matter what I do. I've kept everything as downloaded apart from editing my baseURL as prescribed and implemented the tutorial controllers and views etc.
I then thought to try the "News" tutorial with pretty much the same results. No matter what i "Tweak" i can't get the code to work
I was wondering why I'm getting this. .... any suggestions? and could it possibly be caused by PHP version being untested at V7.1.8?
Apologies if I've posted to the incorrect forum
I upgraded to PHP 7.1.8 and the error was resolved. I've been following the tutorial posted at https://bcit-ci.github.io/CodeIgniter4/t...pages.html but seem to get "404 - File Not Found Controller or its method is not found" no matter what I do. I've kept everything as downloaded apart from editing my baseURL as prescribed and implemented the tutorial controllers and views etc.
I then thought to try the "News" tutorial with pretty much the same results. No matter what i "Tweak" i can't get the code to work
I was wondering why I'm getting this. .... any suggestions? and could it possibly be caused by PHP version being untested at V7.1.8?
Apologies if I've posted to the incorrect forum