Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: query with very large where_not_in array
Post: RE: query with very large where_not_in array

(04-01-2021, 11:20 AM)InsiteFX Wrote: Read this on CodeIgniter 3 but should be the same. ERROR preg_match Yes this is the same, thank you InsiteFX, please excuse my Newbiness :/ moderator can delet...
tomasoma CodeIgniter 3.x 2 214 04-01-2021, 01:40 PM
    Thread: preg_match(): Compilation failed: regular expression is too large
Post: RE: preg_match(): Compilation failed: regular expr...

(09-24-2015, 08:00 AM)Narf Wrote: (09-24-2015, 07:29 AM)blasto333 Wrote: I was able to write my own method and use simple_query...Is this the right method to use for RAW queries without regex issu...
tomasoma Issues 10 20,943 04-01-2021, 01:38 PM
    Thread: query with very large where_not_in array
Post: query with very large where_not_in array

Hello I have a query with a very large where_not_in array (containing more than 4000 ids) and the query builder return an ERROR Code:ERROR - 2021-04-01 14:48:51 --> Severity: Warning --> preg_...
tomasoma CodeIgniter 3.x 2 214 04-01-2021, 06:14 AM
    Thread: date auto getter in Entity ignore my date format
Post: RE: date auto getter in Entity ignore my date form...

Ok sorry for the delay here is my working code : Model : PHP Code:<?php namespace App\Models ;use CodeIgniter\Model ;class UserModel extends Mod...
tomasoma CodeIgniter 4 Support 9 975 09-21-2020, 01:13 AM
    Thread: date auto getter in Entity ignore my date format
Post: RE: date auto getter in Entity ignore my date form...

Perhaps it is a dumb newbie ideas but i dare : Wouldn't that be more logic to check the method at the end of the __get() so if it is a date it would be already mutated ? Or to directly return the r...
tomasoma CodeIgniter 4 Support 9 975 09-18-2020, 03:10 AM
    Thread: date auto getter in Entity ignore my date format
Post: RE: date auto getter in Entity ignore my date form...

(09-18-2020, 01:04 AM)InsiteFX Wrote: You need to add them to the models allow fields array. PHP Code:$allowedFields = ['created_at', 'updated_at'] // etc;  Thanks...
tomasoma CodeIgniter 4 Support 9 975 09-18-2020, 02:01 AM
    Thread: date auto getter in Entity ignore my date format
Post: date auto getter in Entity ignore my date format

Hello, I just followed the documentation about the Entity getCreatedAt() function (on this page https://codeigniter4.github.io/userguide...ness-logic)  but it don't understand why the date format i s...
tomasoma CodeIgniter 4 Support 9 975 09-18-2020, 12:04 AM
  Question Thread: CLI::prompt with rules validation
Post: CLI::prompt with rules validation

Hello, I'm trying to build a spark Command but i'm having trouble with CLI::prompt PHP Code:<?php namespace App\Commands ;use CodeIgniter\CLI\BaseCommand ...
tomasoma CodeIgniter 4 Support 0 300 05-27-2020, 04:34 AM
    Thread: request in CLI missing URI
Post: RE: request in CLI missing URI

(01-06-2016, 12:11 PM)Narf Wrote: Is "php5.5" the php-cli binary? You may be using another SAPI. you are right "php5.5" is not the php-cli binary, i have to call "php5.5-cli" and it works with CI 3...
tomasoma General Help 2 2,464 01-07-2016, 03:08 AM
    Thread: request in CLI missing URI
Post: request in CLI missing URI

hi, i searched a lot and i'm surprised not to find so i dare request some help here... for my crons i used to do Code:php5.5 -q $HOME/dir/www/index.php contact relance_autowhere contact is the ...
tomasoma General Help 2 2,464 01-06-2016, 09:29 AM
    Thread: active record query caching does not work like in the user guide
Post: RE: active record query caching does not work like...

i'm pretty stupid i can also execute the piece of code above, it solves my problem.... *sigh* sorry
tomasoma General Help 4 4,544 02-17-2015, 11:23 AM
    Thread: active record query caching does not work like in the user guide
Post: RE: active record query caching does not work like...

(02-17-2015, 10:26 AM)mwhitney Wrote: PHP Code:$this->admintab->order_by() Is this code doing something with the session? Since this is the only code not included in your example whic...
tomasoma General Help 4 4,544 02-17-2015, 11:16 AM
    Thread: active record query caching does not work like in the user guide
Post: active record query caching does not work like in ...

Hi i run with CI-2.2.1 on a 1and1 "unlimited" linux web hosting, everything is fine until now, i'm very happy with CI. i wanted to try query caching to save some lines in my code but query caching cre...
tomasoma General Help 4 4,544 02-17-2015, 03:32 AM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.