php - CODEIGNITER 3 : Page not found, cannot reach controllerGet the solution ↓↓↓
I have a problem with my codeigniter 3 application. The application folder is in a subfolder nammed "grease" : /grease/application/...
The base_url is like that : https://< url >/grease/
I tried to go to this page for example : https://< url >/grease/Auth, I got an error "Page not found, The page you requested could not be found"
My controller name and classe name starts with capital letter
The .htaccess file looks like that :
Options +SymlinksIfOwnerMatch Options -Indexes RewriteEngine on RewriteCond $1 !^(index\.php|assets/|robots\.txt|piwik/|crontab/) RewriteRule ^(.*)$ index.php/$1 [L] php_value post_max_size 300M php_value memory_limit 2048M php_value upload_max_filesize 300M
Can you help me ?
If your app is running in a sub-folder than you need to add RewriteBase directive in your .htaccess file.
Share solution ↓
Link To Answer People are also looking for solutions of the problem: trying to access array offset on value of type null
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.