Welcome Guest, Not a member yet? Register   Sign In
Model not found - problem with names
#1

[eluser]sl3dg3hamm3r[/eluser]
Hey there

I have encountered following problem: on my developer machine, I have a model, let's call it mdl_myModel. It is found as expected when I load it.

When I use the same model on my ISP, I encounter the 'not found' error, when trying to load it. I figured out that changing the name to mdl_mymodel (not-capital 'm'), the problem is solved on my ISP.

Is this a PHP-configuration issue?

Sl3dg3
#2

[eluser]narkaT[/eluser]
your developer machine runs windows right?

windows ignores the case of filenames.
on Linux systems you can create multiple files with the "same" name
but different casing Wink

CI applies strtolower to the filename before looking for the model on the file-system.
#3

[eluser]sl3dg3hamm3r[/eluser]
ah yeah, forgot to mention, windows of course. I c, now I'm a bit smarter Smile




Theme © iAndrew 2016 - Forum software by © MyBB