Coder Social home page Coder Social logo

slim-image-archive's People

Contributors

ksdev-pl 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

Watchers

 avatar  avatar  avatar

slim-image-archive's Issues

Please provide Database connection example

Good Day

this is a amazing project, and i cannot test it yet, i try use this to configure db, i think i miss something

$app->container->singleton('db', function () {
            return new PDO('mysql:host=localhost;port=8889;dbname=images', 'user', 'password');
        });

but i get a blank page, then when i try to see log files..

[28-Sep-2014 22:07:14 America/Bogota] PHP Parse error:  syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /Applications/MAMP/htdocs/Slim-Image-Archive/app/app.php on line 61
[28-Sep-2014 22:07:14 America/Bogota] PHP Stack trace:
[28-Sep-2014 22:07:14 America/Bogota] PHP   1. {main}() /Applications/MAMP/htdocs/Slim-Image-Archive/public/index.php:0

also i got error 500 on the browser..

screen shot 2014-09-28 at 10 19 37 pm

i really appreciate any help

Point web root to /public folder, the rest should be protected

Hi,

First of all, great job on this app. I really need something like this.

I can't get the project up and runing because I'm unable to point the web root to the /public folder.

I added an .htaccess file in the root dir with:
RewriteEngine On
RewriteBase /mpl/mh/votacoes2/
RewriteCond %{REQUEST_URI} !public/
RewriteRule (.*) public/$1 [L]

But I always get redirected to http://localhost/dashboard/ instead of http://localhost/mpl/mh/votacoes2

Can you please enlighten me?
Thanks

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.