CodeIgniter Forums
Uploadin Codeigniter 3 HMVC Live - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Uploadin Codeigniter 3 HMVC Live (/showthread.php?tid=70915)



Uploadin Codeigniter 3 HMVC Live - firas_jerbi - 06-16-2018

Hello CI community,

It's been 4 months since I was trying to upload my website in 000webhost.
All the configurations are correct even the .htaccess, but, I'm getting an errors, that says My controllers cannot be found. 
I renamed all my controllers and Models to Uppercase(first letter) but did not work.
if anyone is getting the same problem or already encountered it,  can help me!

https://ibb.co/iXPOkJ


RE: Uploadin Codeigniter 3 HMVC Live - tomexsans - 06-18-2018

(06-16-2018, 05:56 AM)firas_jerbi Wrote: Hello CI community,

It's been 4 months since I was trying to upload my website in 000webhost.
All the configurations are correct even the .htaccess, but, I'm getting an errors, that says My controllers cannot be found. 
I renamed all my controllers and Models to Uppercase(first letter) but did not work.
if anyone is getting the same problem or already encountered it,  can help me!

https://ibb.co/iXPOkJ

Try renaming them to lowercase all, then when you call your model/library call it in lower case as well


RE: Uploadin Codeigniter 3 HMVC Live - php_rocs - 06-18-2018

@firas_jerbi

Some questions...
What version of CI are you using?
Are the OS of the servers the same (Windows or Unix)?
Apache or IIS? If Apache is the mod_rewrite module activated?
Do your controllers follow the CI naming conventions? (Actual code example?)


RE: Uploadin Codeigniter 3 HMVC Live - firas_jerbi - 06-19-2018

(06-18-2018, 05:46 AM)php_rocs Wrote: @firas_jerbi

Some questions...
What version of CI are you using?  
Are the OS of the servers the same (Windows or Unix)?
Apache or IIS? If Apache is the mod_rewrite module activated?
Do your controllers follow the CI naming conventions? (Actual code example?)

CI 3
OS: Unix
I didn't get the apache thing* please explain*
of course all my controllers and models are in Uppercase for the first letter


RE: Uploadin Codeigniter 3 HMVC Live - firas_jerbi - 06-19-2018

(06-18-2018, 12:46 AM)tomexsans Wrote:
(06-16-2018, 05:56 AM)firas_jerbi Wrote: Hello CI community,

It's been 4 months since I was trying to upload my website in 000webhost.
All the configurations are correct even the .htaccess, but, I'm getting an errors, that says My controllers cannot be found. 
I renamed all my controllers and Models to Uppercase(first letter) but did not work.
if anyone is getting the same problem or already encountered it,  can help me!

https://ibb.co/iXPOkJ

Try renaming them to lowercase all, then when you call your model/library call it in lower case as well

I will try your solution