-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI 4 #1270
Comments
That sounds good to me! |
Started. |
Hello @benedmunds , As you can see, I make e new 4 branch on my repository : https://github.com/bvrignaud/CodeIgniter-Ion-Auth/tree/4 Can you create a new '4' branch please ? |
@bvrignaud done, I branched it from the 3 branch. |
The composer installer doesn't works. |
@bvrignaud sorry just saw the comment above. Still having issues with composer? |
Hello @benedmunds , Sorry for my late response, I do not have much free time at this time. I quickly try to install IonAuth (4) with composer, but that does not seem to work. I'm not familiar with making Composer package, so I'm not sure about all of that. Thanks. |
@bvrignaud this should be fixed now, made a documentation change. Can you test as well to make sure it works for you as well. |
Hi `$ php spark migrate:latest -n IonAuth CodeIgniter CLI Tool - Version 4.0.0-beta.1 - Server-Time: 2019-03-21 14:11:07pm Migrating to latest version... SQLite3::exec(): near "COLLATE": syntax error CodeIgniter CLI Tool - Version 4.0.0-beta.1 - Server-Time: 2019-03-21 14:15:25pm Migrating to latest version... |
@robertkendrick thanks for this! Would you mind sending a PR to the 4 branch with the change? Makes it easier to merge and will track your contribution for the future. |
@benedmunds It'doesn't work for me. |
CI team has removed email library from main branch (https://forum.codeigniter.com/thread-72976.html) :-(. |
@bvrignaud try the install again, I added a command for setting up the repo |
@bvrignaud as far as email is concerned... maybe we use the one from the feature branch? |
Hi, Once I try installing Ion Auth 4 via composer, I get this error:
I noticed in composer.json file the requirement is set like this: While on packagist the name is different: |
This are 2 differents packages : |
So how come I can not find it on packagist? |
Any solution on this? |
@aryaei2000 I just pushed an update that has CodeIgniter's current namespacing/package name. Can you pull and try again please. |
@benedmunds Thanks for the update. But the problem seems to persist. Here is the error I get. `./composer.json has been updated Problem 1 Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems. Installation failed, reverting ./composer.json to its original content. |
Been debugging this, if you do a git pull and composer install from the codebase it will work now. Requiring it based on the tag is still broken, I'll work on it more next week. |
@arif2009 figured it out. Try these updated install instructions: composer init
composer config minimum-stability dev
composer config repositories.ionAuth vcs [email protected]:benedmunds/CodeIgniter-Ion-Auth.git
composer require benedmunds/CodeIgniter-Ion-Auth:4.x-dev |
@benedmunds checked it and it works. Thanks. |
Hi,I struggled to install the Ion-Auth 4 . |
@datamweb can you post your directory structure? |
CI4 # → Root Directory(http://localhost/daminP/)
├── app/
│ ├── config/
│ │ └── IonAuth.php
│ ├── controllers/
│ │ └── Auth.php
│ ├── libraries
│ │ └── IonAuth.php
│ ├── models
│ │ └── IonAuthModel.php
│ └── views/
│ └── auth/
│ └── Messages/
├──public/
├── system/
├──writable/
├── and other CI base files |
@bvrignaud any ideas here? |
What's the namespace of your Auth controller ? |
Hi @bvrignaud. Well I've used the default files unchanged. |
Can you add this line to your .env file : "CI_ENVIRONMENT = development" ; to have more information please. |
@bvrignaud ,
|
@datamweb Have you try to add this line to your .env file : "CI_ENVIRONMENT = development" ; (to have more information) ? |
Email lib is back for CI4 🎉 codeigniter4/CodeIgniter4#2092 /cc @bvrignaud |
Great news. I will work on it as soon as possible. If somebody is free to work on it, go one, I'm so busy actually. |
Hey, i have checked out ion auth trough the composer and he load all automaical but. When i try to open now http://myurl/auth #0 /var/www/kuendigung/html/system/View/View.php(224): CodeIgniter\Exceptions\FrameworkException::forInvalidFile('IonAuth\Views\a...') |
@wingdu can you expand and post those first couple lines of the stack trace |
Hey, take a look: https://www.kuendigung.site/auth/login |
Can you make sure that the $viewsFolder path is correct? Maybe var dump that whole view file path |
Hey Ben, honestly i have only find some entrys in the config file for that. I have it directly checked out over the composer so all files are located under vendor/ |
Did you follow the instructions here https://github.com/benedmunds/CodeIgniter-Ion-Auth/blob/4/INSTALLING.md ? Specifically, make sure you have setup the autload path in your config correctly. |
thanks it working now ! |
Well it is definitely working in my test installation im using for porting a web application of mine. So I'm quite convinced someone got an auth working. |
include_once(C:\xampp\htdocs\kumarijob\vendor\benedmunds\codeigniter-ion-auth): failed to open stream: Permission denied |
What user are you running composer as? Does that user have permission to create directories there? |
This is almost certainly a config issue rather than IonAuth. |
Issue is resolved. Thank you |
the issue got fixed. Thank you
…On Tue, 14 Jul 2020 at 19:11, Yashvant Suthar ***@***.***> wrote:
ErrorException
include_once(/var/www/html/vendor/benedmunds/codeigniter-ion-auth): failed
to open stream: Success
- when I run auth controller.
https://prnt.sc/thl9ke
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1270 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCUZOON6MHIX45JCBN4VUTR3ROCBANCNFSM4FVOS3EA>
.
|
please somebody know how to integrate ion auth in codeIgniter 4 form begining up to resgistering users? |
please need your help guys |
@willcox Hey. The Github repo is not for general support requests. I suggest you post a detailed message of what you've tried and what's not working on either StackOverflow or the CI Forums. If you're strictly looking for a tutorial than here is one for CI3, the process will be similar: |
thanks! |
Does this support any sort of authorisation? I've read all of the above comments and installation guide and could not found anything regarding authorisation. |
@musaddiq-pk there is group based authentication but nothing built in for ACL or more fine grained solutions |
Okay, thanks for quick reply. Any suggestion how we can easily embed ACL with this? |
@musaddiq-pk I’ve seen this around but never used it myself: |
Thanks for sharing the info link. I will check this. |
Hello,
CodeIgniter 4 is currently in alpha phase.
I think it's time to launch a new '4' branch of Ion-auth.
I have no mission at this time, so I have time to start it.
What did you think?
The text was updated successfully, but these errors were encountered: