Coder Social home page Coder Social logo

musicbox's People

Contributors

bojanz avatar spolischook avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

musicbox's Issues

wrong directory structure

git clone https://github.com/bojanz/musicbox.git

results in

.git
app
src
web
.gitignore
composer.json
composer.lock
LICENSE
README.md

consequently

Warning: require_once(J:\www\musicbox\web/../vendor/autoload.php): failed to open stream:

Copied vendor from silex-skeleton

Fatal error: Class 'Doctrine\DBAL\Configuration' not found in J:\www\musicbox\vendor\silex\silex\src\Silex\Provider\DoctrineServiceProvider.php

What now?

Likes aren't recorded to the DB

The likes aren't saved by the factory to the DB.

The following patch should fix this:

@@ -31,10 +31,11 @@ class ArtistRepository implements RepositoryInterface
             'name' => $artist->getName(),
             'short_biography' => $artist->getShortBiography(),
             'biography' => $artist->getBiography(),
             'soundcloud_url' => $artist->getSoundCloudUrl(),
             'image' => $artist->getImage(),
+            'likes' => $artist->getLikes(),
         );
 
         if ($artist->getId()) {
             // If a new image was uploaded, make sure the filename gets set.
             $newFile = $this->handleFileUpload($artist);

Hope this helps.

Put app.php and routes.php in app/ folder ?

Hi, first of all I think you did a awesome job with this project. I use it as a blueprint for mine.

As the title says, I wonder why you put the app.php and routes.php files in the src/ folder instead of app/. I am tempted to make this change in my project.

Could you elaborate on that ? Thanks.

mod_rewrite // routing not working ?

The start Site load, but if i want login or other... it doesnt work ("The requested URL /musicbox/web/artists was not found on this server.").

My Configurations :
picture

And yes, i restarted apache^^

Clicking on "My Profile" generates error

First of all, thanks for this project; it makes understanding Silex a lot easier.

When I click on "My Profile" I get the following error:

Twig_Error_Runtime: Impossible to access an attribute ("id") on a boolean variable ("") in "profile.html.twig" at line 29

Any chance you could supply a fix for that?

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.