Giter Site home page Giter Site logo

Can't load the models about mini HOT 7 CLOSED

panique avatar panique commented on May 17, 2024
Can't load the models

from mini.

Comments (7)

panique avatar panique commented on May 17, 2024

Thanks! What kind of weird Ubuntu setup are you using ? I've installed and tested this 10.000.000 times and everything worked fine...

from mini.

grrnikos avatar grrnikos commented on May 17, 2024

LOL, I never changed anything. This $songs_model = $this->loadModel('SongsModel'); and this $stats_model = $this->loadModel('StatsModel'); are obviously in CamelCase, not by me. That's on line 25 and line 30 of songs.php. I am on Ubuntu 13.10 using the LAMP stack but that has nothing to do with the problem. My filenames are in lowercase one by one.

from mini.

panique avatar panique commented on May 17, 2024

@grrnikos Sorry I've overread something and already deleted/corrected my stuff. I just got another mail with similar stuff, but that time the person had changed the filename.

Anyway, can you say why "your" Ubuntu/Apache/PHP is so case-sensitive and all my tested setups are not ?

from mini.

grrnikos avatar grrnikos commented on May 17, 2024

Never mind man, good work and bugs always live together! As far as I'm concerned every linux OS is case-sensitive. I've never heard of the opposite, except for Windows systems. Did you test it on a VM?

from mini.

panique avatar panique commented on May 17, 2024

@grrnikos Sure! Different Ubuntus (10, 12.04), Debian 7.1 (and Mac OS X and Win 7 for people who like to develop locally). I'm a little bit confused as what you say makes totally sense, but i've never experienced (or heard of) case-sensitive filename issues in all the years...

I'm implement your fix into the code right now. But if you like (and want to see your fix going into this project) then feel free to commit this into the develop branch within the next 30mins (because it's your fix and I don't want to "steal" it) ;)

from mini.

panique avatar panique commented on May 17, 2024

Thanks a lot, this has been merged and noticed in the now-added CHANGELOG file.

from mini.

grrnikos avatar grrnikos commented on May 17, 2024

You are more than welcome.

from mini.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.