GithubHelp home page GithubHelp logo

Comments (12)

samsonasik avatar samsonasik commented on July 19, 2024

have you tried zf 2.3.1 ? I'm using zf 2.3.1 and it's working

from zftool.

settermjd avatar settermjd commented on July 19, 2024

After it working for some time, I've received the same error. This is with the phar file and after using the composer install.

from zftool.

settermjd avatar settermjd commented on July 19, 2024

I've found the source of the issue and would like to commit a patch for it, but I've not contributed to the project before and am not sure how to get the tests to run. Odd question, yes. But I would have thought that all I'd need to do is to cd to the test directory and run phpunit. Is anything else required?

from zftool.

samsonasik avatar samsonasik commented on July 19, 2024

I usually fix typo/copyright in this module :D . I have run composer install while clone and install via ZFTool directory, and realise that it's using ZF2 2.2.5. but I think, if you're using ZendSkeletonApplication, it's not be an issue ( usually, I used ZendDeveloperTools to just run php public/index.php. About testing, yes, you can go to tests directory and run phpunit . you can follow : https://github.com/zendframework/zf2/blob/master/CONTRIBUTING.md it's quite similar.

from zftool.

settermjd avatar settermjd commented on July 19, 2024

Thanks Abdul.

Matt

Sent from Mailbox for iPhone

On Wed, Apr 30, 2014 at 8:30 PM, Abdul Malik Ikhsan
[email protected] wrote:

I usually fix typo/copyright in this module :D . I have run composer install while clone and install via ZFTool directory, and realise that it's using ZF2 2.2.5. but I think, if you're using ZendSkeletonApplication, it's not be an issue. About testing, yes, you can go to tests directory and run phpunit . you can follow : https://github.com/zendframework/zf2/blob/master/CONTRIBUTING.md it's quite similar.

Reply to this email directly or view it on GitHub:
#92 (comment)

from zftool.

avatasia avatar avatasia commented on July 19, 2024

I have find a solution, after install the zftool, change composer.json:
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.3.*"
}

then run 'composer install', and run 'php bin\create-phar', you can use zftool.phar to create your new project.

from zftool.

aadswebdesign avatar aadswebdesign commented on July 19, 2024

Hi all, when learning to work with composer and zftool , I came across 'PHP Fatal error: Class 'Zend\Log\ProcessorPluginManager' too. I managed to get all loaded 'zendframework/zftool' and all the other needed 'zendframework/-' classes, except one '-/zend-log' and I founded that out later on. Then I tried to compose it separately and of many zf2 versions still I did not get it composed at no way.
So 'and that is me, I looked for another way to get it solved and I did :)
First I had a close look of how that 'zendframework/-' was done, then I created it the same way for 'zend-log'.
Here is how.

  1. in 'zendframework' I created this new folders 'zend-log/Zend/'
    2 in 'Zend' I pasted a copy of 'Log' from a 'ZF2-2.3.1' stack.
  2. then I added a line ' 'Zend\Log' => array($vendorDir . '/zendframework/zend-log'),' in 'composer/autoload_namespaces.php'
    Problem solved, all is working fine now!
    Cheers

from zftool.

bilelwebdev avatar bilelwebdev commented on July 19, 2024

Hi Folks,

To resolve this issue, I added the following requirement in composer.json:
"zendframework/zend-log": ">=2.3.0"

Then just restart "composer install" (don't forget to remove composer.lock if file exists) and launch:
php bin\create-phar

Everything should work fine !

Bilel

from zftool.

leeivan avatar leeivan commented on July 19, 2024

I follow bilewebdev's method, but I execute "php composer.phar update" at last step instead.

from zftool.

paladini avatar paladini commented on July 19, 2024

To fix that I justf follow the instructions above (from @bilelwebdev and @leeivan ).

What I exactly did is following:

  1. Added "zendframework/zend-log": ">=2.3.0" to composer.json.
  2. Run composer update or php composer.phar update.

Thanks!

from zftool.

Doev avatar Doev commented on July 19, 2024

Same here. ZFTool was not working before I added "zendframework/zend-log": ">=2.3.0" to composer.json.

from zftool.

ezimuel avatar ezimuel commented on July 19, 2024

I fixed this in the last merge, there was missing dependencies with Zend\Log and Zend\I18n due to the last update on zend-mvc.

from zftool.

Related Issues (20)

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.