Giter Site home page Giter Site logo

fmi's Introduction

ZendSkeletonApplication

Introduction

This is a simple, skeleton application using the ZF2 MVC layer and module systems. This application is meant to be used as a starting place for those looking to get their feet wet with ZF2.

Installation

Using Composer (recommended)

The recommended way to get a working copy of this project is to clone the repository and use composer to install dependencies:

cd my/project/dir
git clone git://github.com/zendframework/ZendSkeletonApplication.git
cd ZendSkeletonApplication
php composer.phar install

Using Git submodules

Alternatively, you can install using native git submodules:

git clone git://github.com/zendframework/ZendSkeletonApplication.git --recursive

Virtual Host

Afterwards, set up a virtual host to point to the public/ directory of the project and you should be ready to go!

Installing Fmi

Please, use the fmi.sql to import the database. Don't use the Doctrine tool to build the DB from the Entities.

source <path/to/my/project>/fmi.sql

If you still want to use the Doctrine tool keep in mind: There are User Entities in 3 modules AuthDoctrine, CsnUser, Fmi. You have to comment in application.conf.php CsnUser, Fmi modules in order Doctrine tool to work. Create the DB schema fmi (or wgatever you want) and run the tool

<path to my project>vendor\bin\doctrine-module.bat orm:schema-tool:create. 

You still have to populate the tables manuly

To Login

Use one of the preset accounts:

username: stoyan

password: password

Or use the registration to register a new account. Click on Login from the top menu. E-mail confirmation is required.

To Config

Please, add the resources you want to access to the /config/autoload/acl.global.php. The resources should be in format CsnUser\Controller\UserDoctrinePaginator. use the file acl.global.php as a referance.

fmi's People

Contributors

coolcsn avatar edguybg avatar kostadind avatar meshanea avatar stoyan-atanasoff avatar wingman007 avatar zhgzhg 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

Watchers

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

fmi's Issues

Navigation problem

Dear Friends,

I have download your source code and setup. Also I have created virtual host.
When I hit in URL. I was getting error like this
Fatal error: Uncaught exception 'Zend\Navigation\Exception\BadMethodCallException' with message 'Bad method call: Unknown method Zend\Navigation\Navigation::setAddClassToListItem' in C:\xampp\htdocs\fmi\vendor\zendframework\zendframework\library\Zend\Navigation\AbstractContainer.php:354 Stack trace: #0 [internal function]: Zend\Navigation\AbstractContainer->__call('setAddClassToLi...', Array) #1 [internal function]: Zend\Navigation\Navigation->setAddClassToListItem(true) #2 C:\xampp\htdocs\fmi\vendor\zendframework\zendframework\library\Zend\View\Helper\Navigation\AbstractHelper.php(447): call_user_func_array(Array, Array) #3 C:\xampp\htdocs\fmi\module\Application\view\layout\layout.phtml(35): Zend\View\Helper\Navigation\AbstractHelper->__call('setAddClassToLi...', Array) #4 C:\xampp\htdocs\fmi\module\Application\view\layout\layout.phtml(35): Zend\View\Helper\Navigation\Menu->setAddClassToListItem(true) #5 C:\xampp\htdocs\fmi\vendor\zendframework\zendframework\library\Zend\View\Renderer\PhpRenderer.php(507): include('C:\xa in C:\xampp\htdocs\fmi\vendor\zendframework\zendframework\library\Zend\Navigation\AbstractContainer.php on line 354.

Please can you give me the any suggestion for What can I do.

Looking forward to hear from you.

Thank you
Navin Patel

new password

hello
in function below how to use the //or condition, which to retain and remove. i dont want to generate password but want user to give new password

public function forgottenPasswordAction()

{


// $usersTable->changePassword($auth->usr_id, $password);

}
}
return new ViewModel(array('form' => $form));
}

auth moduel

sir,
i got this error while using module 'Auth' in my zf2 ver zend studio 10.1.
i have created the respective sql table and made changes in global.php.
i have all the relevant code by replicating same folder structure.

error
Zend\Mvc\Exception\RuntimeException
No AuthenticationService instance provided

Socket transport "https"

.. (Unable to find the socket transport "https" - did you forget to enable it when you configured PHP?)

Project from scratch in xampp server

Index = Retrieve

Create
usr_id usr_name usr_email
usr_id; // The row is an ArrayObject $row->usr_id and $row['usr_id'] with both work?> Edit Delete

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.