erand
(Erandbraho)
February 24, 2015, 8:25am
1
Hi All,
I put my project on server and everything is running except in one of the tables if I open admin.php I get the error:
YiiBase::include(kategory.php) [<a href='function.YiiBase-include'>function.YiiBase-include</a>]: failed to open stream: No such file or directory
How can this happen when the file "Kategory.php" is there, plus I copied the folder from my localhost where everything is working fine?
If it is of any help, the server is using PHP Version 5.1.6
Any idea?
Bizley
(Bizley)
February 24, 2015, 9:05am
2
It looks like case sensitive problem. Make sure every call to this file is the written in the same way ‘kategory’ or ‘Kategory’ based on the name of the file itself.
erand
(Erandbraho)
February 24, 2015, 9:16am
3
Thank you Bizley, you were right…I changed it in the relation (it was not capital letter there…)
I just wonder why did it work in localhost…It should have given the same error!
Anyway it is working now, so thanks.
Bizley
(Bizley)
February 24, 2015, 9:28am
4
One of the common causes is having the local version on Windows (case insensitive) and production on Linux (case sensitive).