• 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Myth:Auth

#21
Hello there,

I can access to the registration page.

But when I'm trying to register a new account;

This error occurs
[Image: fZfucdQ.png]

I'm using PostgreSQL. Is it because the module trying to make a where statement using a string value for datatype Int?

Update
I made a modification from this file to this
[Image: nnJAOEi.png]

and it works.

Please help.


Thank you.
Reply

#22
Just a quick question here, does Myth:Auth support automatically adding a user to a default group or default permission?
Reply

#23
(02-03-2020, 08:56 AM)InsiteFX Wrote: Just call login or register in the browsers window and it should bring up those views.

Could you give a bit more detail on that please? What are login / register & how are they called? Are they same as the views mentioned on the GitHub README?

Thanks!
Reply

#24
Code:
https://admin.local/login
https://admin.local/register

Both work fine for me but I' am using the latest version of Myth:Auth and the Developer version
of CodeIgniter.

The above work fine here and it even remembers me.

I use HTTPS and VHOSTS in case your wondering about the above links.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#25
Thanks for reply InsiteFX. I can see the login & register screens now - I had to change the routing (app/Config/Routes.php) which was why they weren't showing. I've joined a project someone else has set up, am new to CI (& haven't done serious web development for a long time!) so am finding my way...
Reply

#26
The routing should have been setup under the Myth::Auth Config/Routes.php

I did not change any routing on my system, even CodeIgniter is the default.

So it sounds like your not setup correct with Myth::Auth.

Just a NOTE I manually installed Myth/Auth
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#27
@InsiteFX thanks for your post. The routing had been set by a colleague before I started working with Myth:Auth. That rouitng directed all traffic to one page since that was all that was needed at the time. Don't worry, Myth:Auth is working fine but...

Does anyone have advice how to set up my project / system so that Myth:Auth can use email?  I'm using Windows localhost using php spark serve & was thinking of sending via gmail. I've seen the CodeIgniter Email Class in the docs but could do with a simple example  

Grateful for any help - thanks!
Reply

#28
(08-18-2020, 04:26 AM)jim1001 Wrote: @InsiteFX thanks for your post. The routing had been set by a colleague before I started working with Myth:Auth. That rouitng directed all traffic to one page since that was all that was needed at the time. Don't worry, Myth:Auth is working fine but...

Does anyone have advice how to set up my project / system so that Myth:Auth can use email?  I'm using Windows localhost using php spark serve & was thinking of sending via gmail. I've seen the CodeIgniter Email Class in the docs but could do with a simple example  

Grateful for any help - thanks!

I'm going to try using these settings with these instructions. Will post update later.
Reply

#29
You can try the Mercury Mail Server:

Mercury Mail Server Setup

It also has a link to download different versions.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#30
@jim1001 et al: I've posted an example of integrated Myth:Auth with the CodeIgniter Playground:

Repo: https://github.com/MGatner/playground/tree/auth
Diff: https://github.com/MGatner/playground/co...4564930980
Accounts: https://github.com/MGatner/playground/bl...Seeder.php
URL: https://auth.igniter.be

That ought to give some idea of one way you can use the module. Please note that I haven't activated this domain for verified email so if you register an account you're unlikely to be able to activate it. There are some example credentials in the seeder linked as "Accounts" above.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.