Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Prevent cookie deleted when browser close
Post: RE: Prevent cookie deleted when browser close

superior Wrote: (01-12-2023, 11:27 AM) -- You are telling the cookie function to expire after 0 seconds. (3th parameter) See: https://codeigniter.com/user_guide/helpers/cookie_helper.html#set_cookie...
1,243 Views
3 Replies
01-12-2023, 12:54 PM
nicojmb
    Thread: Prevent cookie deleted when browser close
Post: Prevent cookie deleted when browser close

Hi, I've a simple funcion to set a coookie to save GPDR status. PHP Code: -- set_cookie('myweb_gpdr', 'accepted', 0); -- This work great but if a close browser and reopen, the cookie not exists. ...
1,243 Views
3 Replies
01-12-2023, 02:18 AM
nicojmb
    Thread: Prevent Excepcion when model save is not modified
Post: Prevent Excepcion when model save is not modified

Hi, How prevent the "DataException::forEmptyDataset" on save? i've a import system than it's possible that the data no change.
690 Views
1 Replies
06-20-2022, 06:47 AM
nicojmb
    Thread: CI4 on AppService Azure with PHP 8 & nginx
Post: RE: CI4 on AppService Azure with PHP 8 & nginx

Hi all, I find the problem!!! I've a internal error 500 in CI and in the nginx file have a redirect to page that do not exists. Fixed commented nginx redirecto 500 error.
3,695 Views
3 Replies
12-15-2021, 04:54 AM
nicojmb
    Thread: CI4 on AppService Azure with PHP 8 & nginx
Post: CI4 on AppService Azure with PHP 8 & nginx

Hi, I'm trying to install CI4 (composer) on Azure AppService with Linux and PHP 8.0. I saw that with this combination: AppService + PHP8 --> Azure use nginx instead of apache. I've read thi...
3,695 Views
3 Replies
12-15-2021, 02:43 AM
nicojmb
    Thread: Support SameSite cookie
Post: RE: Support SameSite cookie

InsiteFX Wrote: (03-12-2021, 05:56 PM) -- You can do it yourself for the time being. Secure better your website with SameSite cookies (https://dev.to/vzuburlis/secure-better-your-website-with-same...
6,402 Views
5 Replies
03-17-2021, 09:24 AM
nicojmb
    Thread: Support SameSite cookie
Post: Support SameSite cookie

Hi, I've a web that's run latest CI3 version, it's impossible to us upgrade to 4.X now and we need support for SameSite cookie. I think than the CI3 Developers must publish a minor version of CI...
6,402 Views
5 Replies
03-12-2021, 07:45 AM
nicojmb
    Thread: codeigniter4-authentication
Post: RE: codeigniter4-authentication

Great!!, waiting to docs to test!!! this has JWT support?
5,387 Views
5 Replies
02-05-2021, 05:11 AM
nicojmb
    Thread: update views+1 doesn't work
Post: RE: update views+1 doesn't work

Hi, try using "increment" method: PHP Code: -- $this->postModel->where('id', $post->id)->increment('views'); -- https://codeigniter.com/user_guide/database/query_builder.html?highlight=increment#i...
2,899 Views
4 Replies
01-28-2021, 06:50 AM
nicojmb
    Thread: REST API one-to-many resource relationships
Post: RE: REST API one-to-many resource relationships

Have you seen this addin? https://github.com/tattersoftware/codeigniter4-relations
5,596 Views
5 Replies
01-23-2021, 08:55 AM
nicojmb
    Thread: Codeigniter 4 SimpleAuth library
Post: RE: Codeigniter 4 SimpleAuth library

Good Job, support for JWT would be great!
18,762 Views
18 Replies
01-23-2021, 05:39 AM
nicojmb
    Thread: Undefined property: CodeIgniter\View\View::$db
Post: RE: Undefined property: CodeIgniter\View\View::$db

This function not its optimal, always get  all rows in category tables though the $category_id is set. I would trade it for this: PHP Code: -- public function getCategoriesNine($category_id = 0...
5,524 Views
5 Replies
01-19-2021, 07:51 AM
nicojmb
    Thread: News section
Post: RE: News section

You must replace the second index function with oldone, here an image explication:
4,967 Views
6 Replies
01-15-2021, 01:37 AM
nicojmb
    Thread: Add the edit option
Post: RE: Add the edit option

I think you must request support to template's owner @codewand in condecanyon page: https://codecanyon.net/user/codewand
1,613 Views
2 Replies
01-07-2021, 07:15 AM
nicojmb
    Thread: Routing Advice
Post: RE: Routing Advice

demyr Wrote: (01-07-2021, 03:29 AM) -- Hi all, I would like to ask your suggestions about an issue on which I am working: Imagine a website which has been prepared in a few languages, such as e...
2,688 Views
4 Replies
01-07-2021, 07:10 AM
nicojmb
    Thread: Form validation problem in Codeigniter 4
Post: RE: Form validation problem in Codeigniter 4

Try adding "permit_empty" rule. Example: PHP Code: -- $fields = array(     "id" => "permit_empty|numeric" ); --
1,402 Views
2 Replies
01-03-2021, 04:17 AM
nicojmb
    Thread: Using Codeigniter as RestAPI (using Axios)
Post: RE: Using Codeigniter as RestAPI (using Axios)

Hi, in my app i use this code: PHP Code: -- if ($this->request->getMethod() === 'patch')   {        $form = $this->request->getPost(); $validation = \Config\Services::validation(...
6,283 Views
5 Replies
10-14-2020, 01:03 PM
nicojmb
    Thread: date auto getter in Entity ignore my date format
Post: RE: date auto getter in Entity ignore my date form...

Yes, i can confirm that empty $date array the display is correct.
5,108 Views
9 Replies
09-23-2020, 08:05 AM
nicojmb
    Thread: CI4 Model Return "&" Instead of "&"
Post: RE: CI4 Model Return "&" Instead of "&"

mlurie Wrote: (09-22-2020, 07:30 AM) -- nicojmb Wrote: (09-22-2020, 06:51 AM) -- Have you looked in the database how the string is saved? if you use in form a wyswyg, all html are encoded like the "...
2,362 Views
3 Replies
09-22-2020, 08:21 AM
nicojmb
    Thread: CI4 Model Return "&" Instead of "&"
Post: RE: CI4 Model Return "&" Instead of "&"

Have you looked in the database how the string is saved? if you use in form a wyswyg, all html are encoded like the "&".
2,362 Views
3 Replies
09-22-2020, 06:51 AM
nicojmb

Theme © iAndrew 2016 - Forum software by © MyBB