Welcome Guest, Not a member yet? Register   Sign In
Search Results
  Big Grin Thread: Upgrade instructions 4.1.4 to latest 4.2.6
Post: RE: Upgrade instructions 4.1.4 to latest 4.2.6

kenjis Wrote: (09-28-2022, 05:00 PM) -- See https://jaironlanda.com/blog/CodeIgniter/how-to-install-codeigniter-4-in-xampp-windows-10 -- Thank you. The local site is loading now. Now I have the reso...
3,247 Views
10 Replies
09-28-2022, 08:09 PM
reesethebeast
    Thread: Upgrade instructions 4.1.4 to latest 4.2.6
Post: RE: Upgrade instructions 4.1.4 to latest 4.2.6

kenjis Wrote: (09-28-2022, 02:37 PM) -- You don't have codeigniter4/framework, so you did not install CI4 via Composer. -- OK, think I am set now. Now trying to configure Apache, mysite.local is th...
3,247 Views
10 Replies
09-28-2022, 03:30 PM
reesethebeast
    Thread: Upgrade instructions 4.1.4 to latest 4.2.6
Post: RE: Upgrade instructions 4.1.4 to latest 4.2.6

I downloaded 4.2.6 and am installing under another local domain, I will just start new and then use composer for Shield. I am trying to find the correct .htaccess for the install. I am receiving a 403...
3,247 Views
10 Replies
09-28-2022, 11:45 AM
reesethebeast
    Thread: Upgrade instructions 4.1.4 to latest 4.2.6
Post: RE: Upgrade instructions 4.1.4 to latest 4.2.6

kenjis Wrote: (09-28-2022, 01:21 AM) -- Can you show the output of `composer show`? Maybe you installed CI4.1.4 from Zip file. -- Output below: cboden/ratchet v0.4.4 ...
3,247 Views
10 Replies
09-28-2022, 08:44 AM
reesethebeast
    Thread: Upgrade instructions 4.1.4 to latest 4.2.6
Post: RE: Upgrade instructions 4.1.4 to latest 4.2.6

kenjis Wrote: (09-27-2022, 04:26 PM) -- You need to read the following to get breaking changes for you: https://codeigniter4.github.io/CodeIgniter4/installation/upgrade_415.html https://codeigniter...
3,247 Views
10 Replies
09-27-2022, 09:14 PM
reesethebeast
    Thread: Upgrade instructions 4.1.4 to latest 4.2.6
Post: Upgrade instructions 4.1.4 to latest 4.2.6

Hello, The upgrade instructions are not clear as to how to go from 4.1.4, etc to the latest version which is 4.2.6. I used composer upgrade to get to version 4.1.4, when I run composer upgrade agai...
3,247 Views
10 Replies
09-27-2022, 11:06 AM
reesethebeast
    Thread: Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11
Post: RE: Codeigniter 3.1.11 - Session regenerate and da...

InsiteFX Wrote: (12-16-2019, 01:17 PM) -- Why not save the users cart on there system using a secure cookie or to the database? -- I am using session in DB, I do not want to post to another databa...
9,157 Views
6 Replies
12-16-2019, 02:14 PM
reesethebeast
    Thread: Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11
Post: RE: Codeigniter 3.1.11 - Session regenerate and da...

I guess I will answer this myself then. I got this partially working by applying a solution from another thread where the REGEX was incorrect when checking the cookie. However this only partially w...
9,157 Views
6 Replies
12-16-2019, 12:06 PM
reesethebeast
    Thread: Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11
Post: Codeigniter 3.1.11 - Session regenerate and data l...

I am using Codeigniter 3.1.11 on my localhost with XAMPP PHP version 7.3.11. I am using database sessions, not file. I wrote some simple code to put user cart data into the session. On the initial ...
9,157 Views
6 Replies
12-12-2019, 07:28 AM
reesethebeast
    Thread: Community Auth Token Name
Post: RE: Community Auth Token Name

skunkbad Wrote: (01-20-2018, 10:16 PM) -- reesethebeast Wrote: (01-20-2018, 08:20 PM) -- Thanks Skunkbad. I have the same code but it currently is not updating the hidden input field value. I modifi...
13,703 Views
14 Replies
01-21-2018, 06:17 AM
reesethebeast
    Thread: Community Auth Token Name
Post: RE: Community Auth Token Name

Thanks Skunkbad. I have the same code but it currently is not updating the hidden input field value. I modified the Auth form helper to include ID on the hidden token field as there was just name prev...
13,703 Views
14 Replies
01-20-2018, 08:20 PM
reesethebeast
    Thread: Community Auth Token Name
Post: RE: Community Auth Token Name

Skunkbad, After some trial and error, I just decided to change all of my AJAX code to use token versus my_token. This seems to work, for the first submission. In a previous forum post of mine you st...
13,703 Views
14 Replies
01-18-2018, 11:18 PM
reesethebeast
    Thread: Community Auth Token Name
Post: RE: Community Auth Token Name

Thanks. I will implement these changes and test.
13,703 Views
14 Replies
01-18-2018, 02:21 PM
reesethebeast
    Thread: Community Auth Token Name
Post: RE: Community Auth Token Name

reesethebeast Wrote: (01-18-2018, 09:29 AM) -- skunkbad Wrote: (01-18-2018, 09:04 AM) -- reesethebeast Wrote: (01-18-2018, 08:14 AM) -- Modifying /community_auth/helpers/MY_form_helper.php for now ...
13,703 Views
14 Replies
01-18-2018, 09:46 AM
reesethebeast
    Thread: Community Auth Token Name
Post: RE: Community Auth Token Name

skunkbad Wrote: (01-18-2018, 09:04 AM) -- reesethebeast Wrote: (01-18-2018, 08:14 AM) -- Modifying /community_auth/helpers/MY_form_helper.php for now has resolved the issue. I added $form .= ''."...
13,703 Views
14 Replies
01-18-2018, 09:29 AM
reesethebeast
    Thread: Community Auth Token Name
Post: RE: Community Auth Token Name

Modifying /community_auth/helpers/MY_form_helper.php for now has resolved the issue. I added $form .= ''."\n"; right before return $form;. If this needs to be a permanent solution, I will add ...
13,703 Views
14 Replies
01-18-2018, 08:14 AM
reesethebeast
    Thread: Community Auth Token Name
Post: RE: Community Auth Token Name

skunkbad Wrote: (01-18-2018, 12:27 AM) -- I think this needs a look, but if I recall correctly, the login token is different because if it was the same as your other forms CA might think you other fo...
13,703 Views
14 Replies
01-18-2018, 06:42 AM
reesethebeast
    Thread: Community Auth Token Name
Post: Community Auth Token Name

I am using Codeigniter 3 and Community Auth. My login was working fine until I recently turned off CI CSRF due to AJAX issues and I am now using the tokens helper. All of my JQuery code references...
13,703 Views
14 Replies
01-17-2018, 07:17 PM
reesethebeast
    Thread: CSRF and Browser Cookie Settings
Post: RE: CSRF and Browser Cookie Settings

skunkbad Wrote: (11-19-2017, 02:43 PM) -- 1) When you use the form_open function or generate a new token using $this->tokens->token(), the token is automatically added to the tokens cookie. See the "...
17,361 Views
14 Replies
01-16-2018, 02:50 PM
reesethebeast
    Thread: CSRF and Browser Cookie Settings
Post: RE: CSRF and Browser Cookie Settings

Resolved. In MY_Controller I was previously checking if the tokens matched like if($this->tokens->match == FALSE){}, I changed to if(!$this->tokens->match){} and this removed the URL prefix on my J...
17,361 Views
14 Replies
11-22-2017, 09:01 PM
reesethebeast

Theme © iAndrew 2016 - Forum software by © MyBB