Coder Social home page Coder Social logo

niden / phalcon-angular-harryhogfootball Goto Github PK

View Code? Open in Web Editor NEW
48.0 12.0 23.0 809 KB

Application written with phalconphp and angularjs to record and display the Kicks and Game balls of Harry Hog Football

License: MIT License

PHP 63.00% JavaScript 37.00%

phalcon-angular-harryhogfootball's Introduction

phalcon-angular-harryhogfootball

Application written with PhalconPHP (http://phalconphp.com) and AngularJS (http://angularjs.org) to record and display the Kicks and Game balls of Harry Hog Football (http://harryhogfootball.com), the ultimate podcast for Redskins Fans.

Requirements

To run this application on your machine, you need at least:

PHP >= 5.3.6
Apache Web Server with mod rewrite enabled
Latest Phalcon Framework extension enabled (>= 0.9.0)

Installation

You need to have PhalconPHP installed on your web server as an extension. For installation instructions, please follow this guide : http://phalconphp.com/documentation/install. mod_rewrite must be enabled for IIS/Apache (or try_files for nginx). The mysql extension must also be enabled.

Download or clone the application and upload it to your web server.

Database Setup

echo "CREATE DATABASE hhf CHARACTER SET utf8 COLLATE utf8_general_ci;" |mysql -u root -p

echo "GRANT ALL PRIVILEGES ON hhf.* TO hhf_user@localhost IDENTIFIED BY '12345';" |mysql hhf -u root -p

Please change the username and password on the line above to meet your requirements.

Schema

You can import the schema using the following command:

mysql -u root -p hhf < app/schema/schema.sql

Make sure the path of the schema file matches your setup.

The default username is "[email protected]" and the default password is "a" (without the quotes)

Configuration

Edit the configuration file with your information.

app/config/config.ini

Apache configuration

Here is a sample configuration for Apache. Note that the DocumentRoot points to the public folder

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName hhf.ld

        DocumentRoot /home/www/hhf.ld/public
        <Directory /home/www/hhf.ld>
                Options -Indexes FollowSymLinks
                AllowOverride All
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>

phalcon-angular-harryhogfootball's People

Contributors

niden 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

Watchers

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

phalcon-angular-harryhogfootball's Issues

Error when generating the CRUD

return $this->dispatcher->forward(array("controller" => "pages", "action" => "edit", "params" => array(.$pages->id)));

  1. Is the point that causes the error .$pages->id
  2. Search does not work
    SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':id: AND title LIKE :title: AND name LIKE :name: AND info=:info: ORDER BY id' at line 1

Notice: Undefined property: Phalcon\Session\Adapter\Files::$conditions in /var/www/phalcon.nekulin.ru/visitka/app/controllers/PagesController.php on line 28

  1. On the page /pages I don't see my list of the added pages and only search (
    To see a list of entries which I added I can only search through it bad(

Error running the app

Hi,

I am trying to run your app (ubuntu server, php 5.3, phalconphp 0.9) and I receive the following error:
Fatal error: Call to undefined method Phalcon\Logger\Adapter\File::setFormat() in /var/www/phang/app/library/NDN/Bootstrap.php on line 323 Fatal error: Call to undefined method Phalcon\Logger\Adapter\File::setFormat() in /var/www/phang/app/library/NDN/Bootstrap.php on line 323

Maibe this app is not working with phalconphp 0.9?

Greetings,
Todor

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.