Giter Club home page Giter Club logo

frameworkless's People

Contributors

jaakkytt avatar mmeyer724 avatar waxim 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  avatar  avatar  avatar  avatar  avatar

frameworkless's Issues

PHP MySQL driver missing

Hello, and many thanks for the effort :)

I'm implementing this framework for some practising, and I have the following problem:

When I perform the Database connection, following the steps described in the readme file:

$cfg->addConnection('mysql', 'mysql://user:password@localhost/database_name');

An error prompts saying 'An exception occured in driver: could not find driver'
This is because there are not mysql driver added for php (I checked that in phpinfo())

Could I access somehow to the locally installed ubuntu server created by vagrant, in order to add some driver?
Currently, if I try ti acces it, it shows:
vagrant-ubuntu-trusty-64 login:
but I don't have the login data.

Thank you in advance, and thanks again for the work!

Running the app via WAMP server

I am still learning the ropes in PHP. Now I'm trying to run this app via WAMP server. I know I need to use .htaccess and mod_rewrite. But I can't seem to figure out just what rule will enable me access both the home page and todos. I have settled on

RewriteEngine on RewriteRule .* public/index.php
but I keep getting 404 Not Found error. Any help will be appreciated.

Getting started with MAMP/WAMP

Hi there! I wanted to run frameworkless without docker or vagrant, by using good ol' MAMP and looks like I succeeded. Here is what I had to do, maybe someone will find it useful.

Edit base.html.twig to look for CSS in the right place:

<link rel="stylesheet" href="../public/assets/css/style.css">

Create a .htaccess in root directory and add:

Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /public/
RewriteCond %{REQUEST_URI} !/public [NC]
RewriteRule ^(.*)$ index.php/$1 [L]

Oops, not working. Looks like .htaccess overrides are disabled.

In /Applications/MAMP/conf/apache/httpd.conf find this:

<Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
</Directory>

...and replace with

<Directory />
    Options Indexes FollowSymLinks
    AllowOverride All
</Directory>

Now, I'm wondering if there is a simpler way of doing this and is it possible that somewhere down the road this might interfere with router somehow?

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.