Code Monkey home page Code Monkey logo

zfcuserimpersonate's People

Contributors

danielss89 avatar lenada avatar mtudor avatar personman avatar till avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zfcuserimpersonate's Issues

Replace closures in config/service with factories

when playing around with sysdig and php opcode cache,
I discovered that the 3 service config files are being read from the file system on every request.
The opcode cache does not hit because they all contain closures.
By using factories we will add a bunch of new files but it will perform better with opcode cache enabled.

clarify license

Can you clarify the license this code is released under?

A LICENSE file could be in the repository, file and/or class header could reference it and it would be good to have this in composer.json as well. I can contribute one or all of the above if you let me know what it is. :)

Setup documentation needed

I have successfully installed this module via composer, but I'm not sure how to set it up and get it working in my app. Can you give some instructions?

Missing templates

After getting the module enabled, I get this message when I try to go to the change password page:

Zend\View\Renderer\PhpRenderer::render: Unable to render template "zfc-user-impersonate/user/changepassword"; resolver could not resolve to a file

I got a similar message about the login page and was able to clear it up by copying the template to view/zfc-user-impersonate/user/login.phtml, but is this really intended to be necessary? Shouldn't it just use the default zfcUser templates?

Can't save user entity while impersonating

I'm not sure this is related to your module, but I'm currently only having the issue while impersonating. If I edit a user entity while impersonating, I get this error:

Catchable fatal error: Object of class __PHP_Incomplete_Class could not be
converted to string in 
/Applications/MAMP/htdocs/mrss/vendor/zendframework/zend-developer-
tools/src/ZendDeveloperTools/Exception/SerializableException.php on line 180

This happens regardless of whether I'm editing the original user, impersonated user or some other user. But if I'm not impersonating, I can edit any user with no trouble. Any ideas?

Missing argument 1 in construct

After enabling the module, i get this error on the login page:

Missing argument 1 for ZfcUser\Controller\UserController::__construct(), called in /vendor/zendframework/zendframework/library/Zend/ServiceManager/AbstractPluginManager.php on line 170 and defined in /vendor/zf-commons/zfc-user/src/ZfcUser/Controller/UserController.php .

Any ideas? Thanks!

Getting Class 'ZfcUserImpersonate\Module\AbstractModule' not found error

I am trying to set up a zf2 project that uses ZfcUserImpersonate, but I am getting stuck with this error:

Fatal error: Class 'ZfcUserImpersonate\Module\AbstractModule' not found in module\ZfcUserImpersonate\Module.php on line 16

I am not sure what I am missing, I have all the files in the vendor folder but the "use" doesn't seem to be able to include the AbstractModule.php file!

Any suggestions on what I might have missed out??

Thanks,
Dee

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.