Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Error Unable to De-Activate Account when registering a new user
Post: Error Unable to De-Activate Account when registeri...

After updating to Ion-Auth 3, I'm getting the error Code: -- Unable to De-Activate Account -- when trying to register a new user. Here is the code I'm calling. PHP Code: -- $user_id = $this...
1,021 Views
0 Replies
02-25-2019, 11:08 AM
n2fole00
    Thread: Suppress switching the language for the form validation
Post: RE: Suppress switching the language for the form v...

jreklund Wrote: (09-14-2018, 11:33 AM) -- Or just copy the English ones. -- :D What a obvious solution! I can't believe I didn't think of this. Thanks.
1,715 Views
2 Replies
09-14-2018, 11:54 AM
n2fole00
    Thread: Suppress switching the language for the form validation
Post: Suppress switching the language for the form valid...

Hi, I'm setting up a translation for my site and needed to change the system's config language item to use with ion auth's translations. After changing the the config language to Finnish, I get this e...
1,715 Views
2 Replies
09-14-2018, 10:10 AM
n2fole00
    Thread: Can not find the form language for authentication
Post: RE: Can not find the form language for authenticat...

Have you included PHP Code: -- $this->load->library('form_validation'); -- in your controller?
1,177 Views
1 Replies
09-14-2018, 04:24 AM
n2fole00
    Thread: Differences in session variable declaration
Post: RE: Differences in session variable declaration

php_rocs Wrote: (09-13-2018, 03:20 PM) -- @n2fole00, I can't believe I missed this.  The issue is your if condition.  see... https://stackoverflow.com/questions/137487/null-vs-false-vs-0-in-php I w...
4,849 Views
11 Replies
09-13-2018, 09:24 PM
n2fole00
    Thread: Differences in session variable declaration
Post: RE: Differences in session variable declaration

php_rocs Wrote: (09-13-2018, 02:08 PM) -- @n2fole00, What was the exact var_dump for each variable? -- PHP Code: -- $site_lang2 = $_SESSION['site_lang']; $site_lang = $ci->session->site_lang...
4,849 Views
11 Replies
09-13-2018, 02:48 PM
n2fole00
    Thread: Differences in session variable declaration
Post: RE: Differences in session variable declaration

php_rocs Wrote: (09-13-2018, 07:51 AM) -- @n2fole00, They both are null but one causes an errors and the other doesn't?  That can't be right.  There is a difference.  That is the only reason why o...
4,849 Views
11 Replies
09-13-2018, 01:54 PM
n2fole00
    Thread: Differences in session variable declaration
Post: RE: Differences in session variable declaration

php_rocs Wrote: (09-12-2018, 02:22 PM) -- @n2fole00 It could be what value is returned between the two.  You could do a var_dump on both values and see what is returned that should give you the an...
4,849 Views
11 Replies
09-12-2018, 03:53 PM
n2fole00
    Thread: Differences in session variable declaration
Post: RE: Differences in session variable declaration

InsiteFX Wrote: (09-12-2018, 02:20 PM) -- When using: PHP Code: -- $CI =& get_instance(); -- Your getting CodeIgniter's Controller Class. Are you loading the Session library in the Controller ...
4,849 Views
11 Replies
09-12-2018, 03:40 PM
n2fole00
    Thread: Differences in session variable declaration
Post: Differences in session variable declaration

Hi, I have the following hook PHP Code: -- class LanguageLoader {  function initialize() {    $ci =& get_instance();    $ci->load->helper('language');    $site_lang = $_SESSION['site_l...
4,849 Views
11 Replies
09-12-2018, 01:22 PM
n2fole00
    Thread: Setting sess_save_path correctly
Post: RE: Setting sess_save_path correctly

Hey, thanks. Minus the typo, it works fine.
36,453 Views
12 Replies
05-28-2018, 04:25 AM
n2fole00
    Thread: Setting sess_save_path correctly
Post: RE: Setting sess_save_path correctly

Oh, I see BASEPATH points to the system folder and APPPATH points to the application folder. I assumed BASEPATH would be one level up from the application folder (so the root folder). It's probably wi...
36,453 Views
12 Replies
05-26-2018, 03:40 PM
n2fole00
    Thread: Setting sess_save_path correctly
Post: RE: Setting sess_save_path correctly

Hey, I just wanted to add this as a reminder to myself, as I had trouble with it again on shared hosting... Creating a sessions folder and doing this Code: -- $config['sess_save_path'] = 'sess...
36,453 Views
12 Replies
05-25-2018, 03:38 PM
n2fole00
    Thread: Is input->post meant to strip tabs?
Post: RE: Is input->post meant to strip tabs?

Ok, thanks. I think it's coming together now. Actually, the input->post by itself is fine now. I must have been doing something weird to get that original output when I tested it.
5,767 Views
5 Replies
09-05-2017, 08:15 AM
n2fole00
    Thread: Is input->post meant to strip tabs?
Post: RE: Is input->post meant to strip tabs?

InsiteFX Wrote: (09-04-2017, 09:35 AM) -- You could try this, not tested. PHP Code: -- $this->input->post(htmlspecialchars('tabbed_content')); -- -- Yes, that worked, but it's still confusing beca...
5,767 Views
5 Replies
09-04-2017, 11:52 PM
n2fole00
    Thread: Is input->post meant to strip tabs?
Post: Is input->post meant to strip tabs?

I have a textarea field that allows the user to insert tabs. I need to preserve those tabs as part of the processing of the textarea data, but I noticed they don't seem to make it through the call to ...
5,767 Views
5 Replies
09-04-2017, 08:24 AM
n2fole00
    Thread: Version/System update notifications
Post: RE: Version/System update notifications

Paradinight Wrote: (08-21-2017, 02:45 AM) -- https://github.com/bcit-ci/CodeIgniter/releases.atom -- Thanks, I made this little script to keep me updated. PHP Code: --
5,097 Views
3 Replies
08-21-2017, 09:14 AM
n2fole00
    Thread: Multilingual site
Post: RE: Multilingual site

I need to find a solution for this too. Doing some preliminary research, there is this https://phraseapp.com/blog/posts/php-how-to-translate-php-apps/ although there is this https://github.com/Marko-M...
4,944 Views
4 Replies
08-21-2017, 05:13 AM
n2fole00
    Thread: Version/System update notifications
Post: Version/System update notifications

Hi folks, Is there any way I can receive notifications (perhaps via email) when there is a CI system update? Thanks.
5,097 Views
3 Replies
08-21-2017, 01:30 AM
n2fole00
    Thread: Pagination with search
Post: RE: Pagination with search

Thanks for the new perspective. I had never thought about doing pagination on the front end.
9,678 Views
8 Replies
02-24-2017, 12:09 AM
n2fole00

Theme © iAndrew 2016 - Forum software by © MyBB