Code Monkey home page Code Monkey logo

liberica's Introduction

Liberica

This php mvc framework is a school project.

License

"THE BEERWARE LICENSE" (Revision 42):
Emaro, Joel-Haeberli and david-schor wrote this code. As long as you retain this 
notice, you can do whatever you want with this stuff. If we
meet someday, and you think this stuff is worth it, you can
buy us a beer in return - or a coffee with liberica beans ;)

liberica's People

Contributors

david-schor avatar emaro avatar joel-haeberli avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

liberica's Issues

Bug in verifyUser

Check if the user exists before selecting the hash. (User.php, line 48)

The bug causes an error if a user tries to log on with a username which doesn't exist.

Login Fatal Error

If one logs in with wrong login data, there is a fatal error.

`Fatal error: Uncaught Error: Call to a member function getEmail() on null in C:\xampp\htdocs\Liberica\mvc\model\User.php:218 Stack trace: #0 C:\xampp\htdocs\Liberica\mvc\model\User.php(49): User::userExist('asdaa') #1 C:\xampp\htdocs\Liberica\mvc\Controller\commands.php(20): User::verifyUser('asdaa', 'asd') #2 C:\xampp\htdocs\Liberica\mvc\Controller\Controller.php(39): Xlogin() #3 C:\xampp\htdocs\Liberica\mvc\Controller\Controller.php(26): Controller->run(Array) #4 C:\xampp\htdocs\Liberica\index.php(16): Controller->__construct('login') #5 {main} thrown in C:\xampp\htdocs\Liberica\mvc\model\User.php on line 218`

File-Upload

Can't upload a file, wich is bigger than 1MB. In php.ini I have set the maximum size of a upload-file to 4MB but it still doesn't work.

Parent Model variables

Hey Dave

Ich brauche folgende Variablennamen im Super-Model (Kannst sie 1 zu 1 so kopieren):

private $selectSelectors = array();
private $selectConditions = array();
private $updateSelectors = array();
private $updateConditions = array();
private $updateValues = array();
private $deleteId = -1;
private $setDeleteBy = "";
private $insertSelectors = array();
private $insertValues = array();

Zudem sollte das Model und alle seine Untermodels folgende interfaces implementieren:

implements Insertable,
implements Updateable,
implements Selectable,
implements Deleteable

Merci ;)

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.