Welcome Guest, Not a member yet? Register   Sign In
Search Results
    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.
298 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.
1,546 Views
1 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...
1,546 Views
1 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...
3,695 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...
3,695 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?
3,389 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...
1,377 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
3,820 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!
12,101 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...
3,121 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:
3,048 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,000 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...
1,703 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" ); --
875 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(...
4,456 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.
3,016 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 "...
1,515 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 "&".
1,515 Views
3 Replies
09-22-2020, 06:51 AM
nicojmb
    Thread: date auto getter in Entity ignore my date format
Post: RE: date auto getter in Entity ignore my date form...

InsiteFX Wrote: (09-18-2020, 01:10 PM) -- nicojmb Wrote: (09-18-2020, 11:06 AM) -- hi, i try to do the same but does't work, can you share you working code? Regards! -- PHP Code: -- The $useTi...
3,016 Views
9 Replies
09-18-2020, 01:27 PM
nicojmb
    Thread: date auto getter in Entity ignore my date format
Post: RE: date auto getter in Entity ignore my date form...

hi, i try to do the same but does't work, can you share you working code? Regards!
3,016 Views
9 Replies
09-18-2020, 11:06 AM
nicojmb

Theme © iAndrew 2016 - Forum software by © MyBB