Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: how to use this in general senario return $this->formatMessage($line, $args);
Post: RE: how to use this in general senario return $thi...

Use the lang() global function instead.
633 Views
1 Replies
10-27-2022, 10:26 PM
paulbalandan
    Thread: CI_DEBUG environment override
Post: RE: CI_DEBUG environment override

I don't understand why you need to change the value for development.php. Since you're saying you want to turn it off in other environments, why not set "CI_ENVIRONMENT" to, for example, production so ...
2,695 Views
6 Replies
10-27-2022, 10:25 PM
paulbalandan
    Thread: Validation rules of file
Post: RE: Validation rules of file

In your $_FILES array, when you upload the image, the error code is 1, which means "UPLOAD_ERR_INI_SIZE". This means the uploaded file exceeds the upload_max_filesize directive in php.ini. Update that...
1,682 Views
5 Replies
10-11-2022, 08:56 PM
paulbalandan
    Thread: W3C Self-closing tag syntax in text/html documents is widely discouraged
Post: RE: W3C Self-closing tag syntax in text/html docum...

What function of the form_helper are you using?
2,257 Views
4 Replies
10-07-2022, 08:42 AM
paulbalandan
    Thread: running error
Post: RE: running error

What version are you using?
1,201 Views
1 Replies
10-07-2022, 08:38 AM
paulbalandan
    Thread: CodeIgniter\\Session\\Session and Psr\\Log\\LoggerAwareTrait define the same property
Post: RE: CodeIgniter\\Session\\Session and Psr\\Log\\Lo...

Hi! Can you show us the output of Code: -- composer info -D --
767 Views
1 Replies
10-06-2022, 02:02 AM
paulbalandan
    Thread: Factories::models breaks __callStatic function arguments passed to the class
Post: RE: Factories::models breaks __callStatic function...

I don't understand? After array shifting $name and $options from the $arguments array, what remains is the ConnectionInterface object wrapped in an array. So unpacking will still work. See https...
1,991 Views
4 Replies
10-05-2022, 03:06 AM
paulbalandan
    Thread: Support to HTTP/3
Post: RE: Support to HTTP/3

Hi @"chronic" can you check this PR? https://github.com/codeigniter4/CodeIgniter4/pull/6595
4,224 Views
8 Replies
09-27-2022, 01:55 AM
paulbalandan
    Thread: text input truncated in bootstrap modal
Post: RE: text input truncated in bootstrap modal

Try adding double quotes in the value. Like: Code: --
1,425 Views
2 Replies
09-17-2022, 08:35 AM
paulbalandan
    Thread: I can't update via Composer
Post: RE: I can't update via Composer

Can you show the error when you manually copy the system folder?
9,824 Views
16 Replies
08-30-2022, 08:19 PM
paulbalandan
    Thread: I can't update via Composer
Post: RE: I can't update via Composer

Maybe your PHP version is not 7.4 or higher.
9,824 Views
16 Replies
08-30-2022, 02:53 AM
paulbalandan
    Thread: RecursiveDirectoryIterator
Post: RE: RecursiveDirectoryIterator

Maybe you are missing an import statement. Try adding "use RecursiveDirectoryIterator;" after the namespace declaration. Alternatively, you can prepend a namespace separator when you instantiate the c...
7,669 Views
1 Replies
08-27-2022, 11:26 PM
paulbalandan
    Thread: Allowed memory size
Post: RE: Allowed memory size

How about using chunks? https://codeigniter4.github.io/CodeIgniter4/models/model.html#processing-large-amounts-of-data
8,056 Views
9 Replies
07-11-2022, 10:30 PM
paulbalandan
    Thread: Using ::class in Model's $returnType instead of string - bad?
Post: RE: Using ::class in Model's $returnType instead o...

Actually, the Model Generator creates the return types using the "::class" syntax: PHP Code: -- $return = '\\' . trim($return, '\\') . '::class'; $this->call('make:entity', array_merge([$baseClas...
5,042 Views
7 Replies
06-15-2022, 07:56 PM
paulbalandan
    Thread: FIFO / LIFO method in Inventory System
Post: RE: FIFO / LIFO method in Inventory System

If you are developing only an Inventory System, you cannot derive the profit or loss from that. That is because profit or loss means your Sales less Cost of Sales less Operating Expenses add Other Inc...
7,016 Views
11 Replies
06-02-2022, 03:44 AM
paulbalandan
    Thread: spark --help option to show help
Post: RE: spark --help option to show help

This would be nice. `--help` is more intuitive for me.
3,941 Views
5 Replies
05-18-2022, 12:16 AM
paulbalandan
    Thread: How can I activate Suffix without using --suffix?
Post: RE: How can I activate Suffix without using --suff...

That one was added by me so I would answer. PHP Code: -- /** * Whether the `--suffix` option has any effect. * * @internal * * @var bool */ private $enabledSuffixing = true; -- ...
3,938 Views
6 Replies
05-17-2022, 08:31 AM
paulbalandan
    Thread: CLI vs CLI
Post: RE: CLI vs CLI

To be honest, @"iRedds" 's suggestion is what I initially expected of the CLI component when I first looked at the code. Separation of the web route and console route is a +1 for me.
6,701 Views
10 Replies
03-27-2022, 10:24 PM
paulbalandan
    Thread: "valid_date" validation does not prevent submission of spaces
Post: RE: "valid_date" validation does not prevent submi...

Hi! When using the `permit_empty` rule, CI4 checks if the value provided is either an array or a string. If an array, it checks whether it is an empty array. If a string or can be casted to string, it...
2,444 Views
3 Replies
02-27-2022, 10:43 PM
paulbalandan
    Thread: How do i install older version of CI4 using composer
Post: RE: How do i install older version of CI4 using co...

https://stackoverflow.com/questions/40914114/how-to-install-a-specific-version-of-package-using-composer Code: -- composer require codeigniter4/framework:4.1.5 --
11,821 Views
19 Replies
02-21-2022, 09:01 PM
paulbalandan

Theme © iAndrew 2016 - Forum software by © MyBB