Comments (3)
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.
@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.
@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)
- register form shows links to terms of use and so on although not enabled in settings HOT 2
- Cookiebar does not work on routed pages HOT 5
- Unused file? HOT 1
- The important notice is not valid for zk1.4 HOT 2
- Enable cookie warning for EU Compliance could not be switched off
- Adding Support for Webshim and Polyfill HOT 1
- Translations not working in Zikula 1.4.0 HOT 2
- [2.0.2] Changing the settings does not work HOT 1
- the legal version shipped with 1.4.2 gives error during installation HOT 1
- Migrate to 2.0 spec
- Exception when editing a user
- Policy acceptance after initial login is not saved HOT 1
- Twig_Error_Runtime: Key "termsOfUse" does not exist as the array is empty
- not all translations are used HOT 6
- Custom URL for each language
- User-Registration: Policies should not be accepted by default
- GDPR EU regulation? HOT 11
- inlineLink twig extension - few improvements
- Policies "easy" option accepting without tickbox
- EUCookie translations missing for the Legal module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from legal.