Welcome Guest, Not a member yet? Register   Sign In
Search Results
  Heart Thread: Problems with Auto Routing and URI Segments
Post: RE: Problems with Auto Routing and URI Segments

kenjis Wrote: (01-07-2023, 09:00 PM) -- hieuhiti Wrote: (01-07-2023, 08:07 PM) -- Before set $autoRoutesImproved to true, My Project works fine, -- Do you mean when you set $autoRoutesImproved to ...
1,656 Views
5 Replies
01-09-2023, 04:25 AM
hieuhiti
    Thread: Problems with Auto Routing and URI Segments
Post: RE: Problems with Auto Routing and URI Segments

kenjis Wrote: (01-07-2023, 05:22 AM) -- See https://codeigniter4.github.io/CodeIgniter4/installation/troubleshooting.html#i-have-to-include-index-php-in-my-url https://codeigniter4.github.io/CodeIgni...
1,656 Views
5 Replies
01-07-2023, 08:07 PM
hieuhiti
    Thread: Problems with Auto Routing and URI Segments
Post: Problems with Auto Routing and URI Segments

Hi All, I have set the "setAutoRoute" to true and also set $autoRoutesImproved to true in "app/Config/Feature.php" When I try to reach http://localhost/MyProjects/index.php/Home/Test ->  I get s...
1,656 Views
5 Replies
01-07-2023, 02:35 AM
hieuhiti
    Thread: Problem cachePage with paging
Post: Problem cachePage with paging

Hi All, I use cachePage for paginated content, but the system caches only the first page. Anyone know the solution to be able to cachePage but still paginate, please guide me Thanks all
604 Views
1 Replies
12-25-2022, 03:58 PM
hieuhiti
    Thread: Generating large Excel with Ci4 and PHPExcel
Post: Generating large Excel with Ci4 and PHPExcel

At the moment I'm using PHPExcel for export file, but After data above 5000 rows, the memory consumption and loading times become untolerable, and can't be solved by indefinitely increasing PHP's maxi...
3,693 Views
2 Replies
11-07-2021, 05:16 AM
hieuhiti
    Thread: Why RESTful?
Post: RE: Why RESTful?

paliz Wrote: (09-10-2021, 02:28 AM) -- 1 Rest ful reaponse is json object 2 restful  controller input data could be formdata or json object 3 restful methods get put post delete -- Thanks yo...
4,825 Views
3 Replies
09-10-2021, 05:44 PM
hieuhiti
    Thread: Why RESTful?
Post: Why RESTful?

Hi All, I'm use CI4 to build Web server for App Mobile. WebServer return result for App Mobile as My Format Json String. I have learned about "RESTful Resource Handling", I don't understant the dif...
4,825 Views
3 Replies
09-09-2021, 09:55 PM
hieuhiti
    Thread: Problem run via the command-line [SOLVED]
Post: RE: Problem run via the command-line

@paulbalandan, with your suggestion. After Check Php Version, I found different between "php -v" and php_info(), I fixed it. My Problem has been fixed. Thanks you very much! For "Problem run via t...
4,235 Views
5 Replies
09-08-2021, 01:41 AM
hieuhiti
    Thread: Problem run via the command-line [SOLVED]
Post: RE: Problem run via the command-line

paulbalandan Wrote: (09-07-2021, 09:08 AM) -- Please show what code is in line 49 -- PHP Code: -- if (! function_exists('app_timezone')) { /** * Returns the timezone the application has b...
4,235 Views
5 Replies
09-07-2021, 03:22 PM
hieuhiti
    Thread: Problem run via the command-line [SOLVED]
Post: Problem run via the command-line [SOLVED]

Hi All, I create a simple controller for run via the command-line. But When run: Code: -- php index.php tools/messages/to -- error reporting system PHP Parse error:  syntax error in /Users/roc...
4,235 Views
5 Replies
09-07-2021, 01:23 AM
hieuhiti
    Thread: Ci4 orderBy Float Value
Post: RE: Ci4 orderBy Float Value

Thanks for everyone's help, I tried: $this->orderBy('CAST(FieldFloat as DECIMAL(10,5))','DESC',FALSE); and got the desired result.
2,130 Views
4 Replies
08-23-2021, 09:09 PM
hieuhiti
    Thread: Ci4 orderBy Float Value
Post: Ci4 orderBy Float Value

Hi All, I have a little problem with sort values (Float type) from database mysql. I use -> orderBy("FieldFloat","desc"),  But incorrect result, Please helpme
2,130 Views
4 Replies
08-22-2021, 07:27 AM
hieuhiti
    Thread: Query DataBase in Filter
Post: Query DataBase in Filter

In filter, helper, controller, model, I repeatedly, call:  $db = \Config\Database::connect(); Does that affect the performance of the program? Can someone explain it to me? Thanks!
1,219 Views
1 Replies
06-03-2021, 06:49 PM
hieuhiti

Theme © iAndrew 2016 - Forum software by © MyBB