flexi auth - A user authentication library for CodeIgniter |
[eluser]raveboy23[/eluser]
I've got the same problem as Magus here. I've set up the rewrite rules as explained in installation instructions but still getting no positive results. If I change my base_url in all FlexiAuth controllers to Code: http://localhost/CodeIgniter_2.1.3/index.php/ Code: http://localhost/CodeIgniter_2.1.3/index.php/localhost/CodeIgniter_2.1.3/index.php/localhost/CodeIgniter_2.1.3/index.php/auth Before, when I emptied the value of Code: $config['index_page'] = 'index.php'; Code: $config['index_page'] = ''; Code: http://localhost/CodeIgniter_2.1.3/auth_lite/demo What am I doing wrong? Thanks Honza
[eluser]raveboy23[/eluser]
I solved it, the case was that I hadn't copied the .htaccess file... But the reason I have overseen that was that in installation instructions is stated: Quote:If installing the flexi auth demo to a new CodeIgniter installation, you may wish to also copy the '.htaccess' file to the root CodeIgniter directory. I hadn't wished to do so but in the end I HAD TO... the link translations don't work without that... But it's an excellent extension anyway! Honza
[eluser]haseydesign[/eluser]
@Hermann007 Your email template files need to be included somewhere within the 'application/views/' directory. Make sure you update $config['email']['email_template_directory'] within the flexi auth config file. See: http://haseydesign.com/flexi-auth/user_g...ail_config ----------------------------------------------------- @gileo1975 In Windows, If you copy a folder to another directory that contains a folder of the same name, you will be prompted with the warning you mention. For files being copied that DO NOT already exist in the destination folder, they will simply be copied there. For files being copied that DO already exist in the destination folder, Windows will prompt you as to, which version you wish to keep. The files that you are copying from the flexi auth library are highly unlikely to already exist within your destination folder unless you have coincidentally created your own files in there with the same names - which I'm doubting. Therefore, the files will simply be merged with your existing directory rather than replacing the contents. To be sure, just check that there are no files with clashing file names. HTH
[eluser]estevo[/eluser]
Hi We tested flexi_auth and found it to be great. It is working perfectly on our server. We only had a small problem. On another server running SuPHP, the email does not get sent out. We can neither send reactivation email nor reset password. Both are using PHP5 (5.3) The one which is not working is on 5.3.3-7+squeeze15 Has anyone encountered the same problem before? We would appreciate if someone could share with us their solution. Thank you. Best regards Ashar
[eluser]haseydesign[/eluser]
@estevo I can't say I've heard of anyone trying to run flexi auth on SuPHP. The flexi auth library only uses the native CodeIgniter email library, it doesn't do anything particularly tricky. Therefore, I would check that you can use CI's email library within a standalone demo run on the same server.
[eluser]estevo[/eluser]
Hi Haseydesign, thank you for the reply and suggestion. We've got a plain contact form on the same server and it works i.e. we've managed to receive a reply in email. That's the strange thing about it. Correct me if i am wrong, for the activation link or re-activation the links comprise of the page plus some characters (token) Could it be that is the one causing it? cheers
[eluser]haseydesign[/eluser]
@estevo The function that handles all emails send via flexi auth can be location in the send_email() function within 'application/models/flexi_auth_model.php'. Have a look around in this function how data is being passed around. Also try out the CI email function Code: $this->email->print_debugger(); You seem to suggest from your first comment that it works as expected on your dev setup, but not your SuPHP setup. If this is the case, it still suggests it's a conflict between CI's config and the server. However, try having a look in the about mentioned function and see if you can track down the issue.
[eluser]estevo[/eluser]
Hi Haseydesign, thank you for your pointers. We have setup a barebone system with Flexi Auth just to rule out other stuff. We came to the same situation. On the deployment server there is no issue sending emails through a contact form built with codeiginter. The only ones which do not work are those coming from Flexi Auth. We've gone through the functions in detail and as well as check the points. Here are our findings. 1. When a user registers, the registeration details do get capture in database but no emails are sent out. 2. When a resend actvation emailis clicked, the "activity token" reset in db does take place but shows on front end "unable to send email". I've tried $this->email->print_debugger(); as well and there is no issue with emails with the core system. What i've noticed Based on Codeigniter $this->load->library('email'); $this->email->from('[email protected]', 'Your Name'); $this->email->to('[email protected]'); $this->email->cc('[email protected]'); $this->email->bcc('[email protected]'); $this->email->subject('Email Test'); $this->email->message('Testing the email class.'); $this->email->send(); echo $this->email->print_debugger(); In the php document flexi_auth_model, there is no $this->load->library('email'); I believe you would have loaded the email library somewhere else. From the same file I've noticed that you called the templates that are being used. Although on our development server, everything seem to work on the deployment server it does. I've come to a conclusion that the code was not able to call the templates hence generating the "unable to send" If you are interested to see i can send you the link privately. We are currently debugging. Thank you for your help thus far. Best regards Ashar
[eluser]Unknown[/eluser]
Hi, the pure presence of MY_Form_validation.php in the library folder screws up my other forms utilizing the standard form validation library. Any thoughts?
[eluser]haseydesign[/eluser]
@estevo If you think it may be an issue with your templates, then ensure you have specified the correct template path within the flexi auth config file. This path MUST be within the 'application/views/' directory. Other than that, you can PM me your files if you want, but I can't guarantee that I'll have the time to give them a look. ---------------------------------------------------- @ert30969 You'll need to give me a bit more info on how its screwing things up for you before I can help. |
Welcome Guest, Not a member yet? Register Sign In |