Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CodeIgniter\Cache\Exceptions\CacheException in Codeigniter 4
Post: RE: CodeIgniter\Cache\Exceptions\CacheException in...

i have same question PHP Code: -- Cache unable to write to /home/wwwroot/www.xunrui.com/cache/file/. -- cd to the webroot path   and cmd  "ll".  check the folder user and usergroup
1,292 Views
3 Replies
03-11-2022, 06:55 PM
wuuyun
    Thread: Generating large Excel with Ci4 and PHPExcel
Post: RE: Generating large Excel with Ci4 and PHPExcel

one file split to some files , at last with zip files
2,054 Views
2 Replies
11-07-2021, 05:25 PM
wuuyun
    Thread: Cookie vs Session? Did I got wrong?
Post: RE: Cookie vs Session? Did I got wrong?

session and cookie all can use in ci4
1,409 Views
3 Replies
08-24-2021, 12:17 AM
wuuyun
    Thread: how to create dynamic navbar
Post: RE: how to create dynamic navbar

use recursive function
3,531 Views
5 Replies
08-24-2021, 12:09 AM
wuuyun
    Thread: better auto routing for controllers inside folders
Post: RE: better auto routing for controllers inside fol...

[quote pid="389482" dateline="1629662131"] i think is difficult to solve . suggest create your own core router class   https://codeigniter.com/user_guide/extending/core_classes.html#extending-core-...
2,641 Views
3 Replies
08-22-2021, 07:28 PM
wuuyun
    Thread: My site does not work on firefox
Post: RE: My site does not work on firefox

[quote pid="388775" dateline="1626973560"] i was you, i'll check the website in 80 and 443 port  if it worked ,  most problem is your port sets . [/quote]
2,964 Views
10 Replies
08-19-2021, 07:30 PM
wuuyun
    Thread: Error 404 on things after "/"
Post: RE: Error 404 on things after "/"

first public is your webroot if want include statics   
2,370 Views
8 Replies
08-09-2021, 08:03 PM
wuuyun
    Thread: Play Audio file in writable folder
Post: RE: Play Audio file in writable folder

premise : the public is the webroot two ways 1, add new folder example 'uploads' in public/ . then upload files in it (public/uploads) 2, make the (your writable/uploads full path) softlink to p...
1,315 Views
5 Replies
08-09-2021, 07:52 PM
wuuyun
    Thread: How handle errors when inserting data?
Post: RE: How handle errors when inserting data?

also can use $res = $this->db->error(); echo $res['message']; in model
1,422 Views
6 Replies
07-26-2021, 05:47 PM
wuuyun
    Thread: My site does not work on firefox
Post: RE: My site does not work on firefox

eellookkeeaa Wrote: (07-21-2021, 07:21 AM) -- wuuyun Wrote: (07-18-2021, 06:49 PM) -- go to check SSL cert -- Hello, my SSL is generate by Cloudflare. The first page works, but after look one a...
2,964 Views
10 Replies
07-21-2021, 06:15 PM
wuuyun
    Thread: My site does not work on firefox
Post: RE: My site does not work on firefox

go to check SSL cert
2,964 Views
10 Replies
07-18-2021, 06:49 PM
wuuyun
  Wink Thread: M1 Chip MacOS php intl extension error
Post: RE: M1 Chip MacOS php intl extension error

xampp in mac do this: if you php version is 8+ 1, open mac terminal  Code: -- sudo port install php80-intl -- 2,find file go to  Code: -- /opt/local/lib/php/extensions/ your some folder -- ...
7,225 Views
12 Replies
07-14-2021, 01:09 AM
wuuyun
    Thread: Different database and URL configurations
Post: RE: Different database and URL configurations

superior Wrote: (07-06-2021, 11:59 PM) -- This question is closed, have found a solution myself by writing and reading JSON formatted info. -- I write a config file like  site_a_db.php then requir...
1,092 Views
3 Replies
07-07-2021, 07:17 PM
wuuyun
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

in basecontroller i do this: $this->renderer = \Config\Services::renderer(); $this->renderer->setData(['siteinfo'=>$siteinfo]); so in views html file
4,200 Views
16 Replies
06-16-2021, 11:54 PM
wuuyun

Theme © iAndrew 2016 - Forum software by © MyBB