anchor-cms icon indicating copy to clipboard operation
anchor-cms copied to clipboard

Bug: User Creation Issue on Develop Branch

Open sebastianingino opened this issue 10 years ago • 10 comments

When I try to create any type of user, I get an Uncaught Exception:

Uncaught Exception

Undefined variable: form in /home/cabox/workspace/anchor-cms/app/views/users/create.phtml:23

Stack Trace

#0 /home/cabox/workspace/anchor-cms/app/views/users/create.phtml(23): Errors->native(8, 'Undefined varia...', '/home/cabox/wor...', 23, Array)
#1 /home/cabox/workspace/anchor-cms/app/src/View.php(51): require('/home/cabox/wor...')
#2 /home/cabox/workspace/anchor-cms/app/src/Controllers/Admin/Backend.php(52): View->render('users/create', Array)
#3 /home/cabox/workspace/anchor-cms/app/src/Controllers/Admin/Users.php(53): Controllers\Admin\Backend->renderTemplate('layout', 'users/create', Array)
#4 /home/cabox/workspace/anchor-cms/app/src/Kernel.php(90): Controllers\Admin\Users->getCreate(Object(Http\ServerRequest))
#5 /home/cabox/workspace/anchor-cms/app/src/Kernel.php(71): Kernel->handleController('controllers\\adm...')
#6 /home/cabox/workspace/anchor-cms/app/start.php(89): Kernel->getResponse()
#7 /home/cabox/workspace/anchor-cms/web/index.php(8): require('/home/cabox/wor...')
#8 {main}

Seems to be an issue with the user creation view

sebastianingino avatar Mar 03 '16 17:03 sebastianingino

Sorry, found the issue. When the password is less than 8 characters, the flow breaks.

sebastianingino avatar Mar 03 '16 17:03 sebastianingino

I'm just going to close this and fix the issue.

sebastianingino avatar Mar 03 '16 17:03 sebastianingino

@saucytomato got not problems with making an issue and then providing a pull request fix :smile:.

We can't be opening issues for the dev branch when it's still being worked on though.

daviddarnes avatar Mar 03 '16 17:03 daviddarnes

I got that message when you replied to my issue with the missing CSS, so I just closed it and tried to find the source

sebastianingino avatar Mar 03 '16 18:03 sebastianingino

@saucytomato ah cool. Just make sure to reference this issue when you make the pull request :ok_hand:

daviddarnes avatar Mar 03 '16 18:03 daviddarnes

Just one question: Where are the full logs stored?

sebastianingino avatar Mar 03 '16 18:03 sebastianingino

@saucytomato not sure, maybe @CraigChilds94 knows?

daviddarnes avatar Mar 03 '16 18:03 daviddarnes

@saucytomato I don't know much about the develop version. @rwarasaurus Should be able to help you.

CraigChilds94 avatar Mar 03 '16 20:03 CraigChilds94

@saucytomato, are you still having an issue? Or do you know if this has been fixed somewhere? If you're still keen on keeping this open, I'll be glad to help out, just... what logs are you talking about? :joy:

TheBrenny avatar Jul 10 '16 09:07 TheBrenny

Im fixing this today

saltandvinegarcrisps avatar Jul 10 '16 12:07 saltandvinegarcrisps