Giter Club home page Giter Club logo

Comments (3)

craigh avatar craigh commented on September 23, 2024

I have just learned that this is the result of using the wrong "instance" of php on my local machine. (I'm not sure if "instance" is the correct term here).

I use MAMP locally on my Mac and if I ran the CLI like

php app/console

then I got the same error as shown in this ticket (PHP Fatal error: Class Zikula\LegalModule\Listener\UsersUiListener' not found).

running

which php

returned

/usr/bin/php

Since this is not the instance of php that I use to run my local zikula install through MAMP, I edited my .tcshrc file to include the following alias:

alias phpm /Applications/MAMP/bin/php/php5.6.2/bin/php

(note the phpm)
then which phpm results in

phpm:    aliased to /Applications/MAMP/bin/php/php5.6.2/bin/php

and then running

phpm app/console

works as expected.

closing this ticket since it is an environment problem, not a core/legal problem.

from legal.

craigh avatar craigh commented on September 23, 2024

@shefik - to be more precise with this: I believe the problem is an autoloading issue with PHP. see zikula/core#2094 for more information.

from legal.

craigh avatar craigh commented on September 23, 2024

@shefik - to add even more information: It was not an autoloading problem. It was a simple php.ini mistake where I had not properly set the timezone. This was triggering a non-fatal error but halting/hanging other processes which triggered the Not Found error. after I had corrected the timezone setting, this error disappeared.

from legal.

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.