Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Cannot access protected property CodeIgniter\HTTP\IncomingRequest::$uri
Post: RE: Cannot access protected property CodeIgniter\H...

ramonpuig Wrote: (04-09-2024, 06:34 AM) -- Hello I followed the steps to upgrade from 4.4.8 to 4.5.0 , but i get this error Cannot access protected property CodeIgniter\HTTP\IncomingRequest::...
188 Views
3 Replies
04-09-2024, 06:52 AM
rmcdahal
    Thread: Open the view in browser as html page, not as pdf using DOMPDF
Post: RE: Open the view in browser as html page, not as ...

nadeem14375 Wrote: (04-04-2023, 12:11 AM) -- Hi, I am using Codeigniter 4, with DOMPDF. My controller works, but open the view in browser as html page, not as pdf page, I want to download the pd...
1,469 Views
4 Replies
04-04-2023, 09:45 AM
rmcdahal
    Thread: Custom Blog / Website Based On Codeigniter4
Post: RE: Custom Blog / Website Based On Codeigniter4

Some practices I have done to this site are, using almost possible bootstrap default class, minified CSS and js files to a single one, minified HTML output, lazyloading in images, using Cloudflare fre...
2,328 Views
4 Replies
12-15-2022, 07:56 PM
rmcdahal
    Thread: Custom Blog / Website Based On Codeigniter4
Post: Custom Blog / Website Based On Codeigniter4

I have developed a light fast blog/ website for my friends using the latest Codeigniter, performance is just wow, Pagespeed Screenshot https://i.ibb.co/6F9DMGK/Screenshot-2022-12-14-at-12-06-26....
2,328 Views
4 Replies
12-13-2022, 11:25 PM
rmcdahal
    Thread: plz, show me to run minify in codeigniter 4
Post: RE: plz, show me to run minify in codeigniter 4

This is working for HTML output minification in the production environment. Code: --
2,785 Views
4 Replies
11-25-2022, 06:19 AM
rmcdahal
    Thread: How to delete multiple images
Post: RE: How to delete multiple images

Code: -- $media = new UploadModel();         $file = $media->find($id);         if (empty($file)) {             return redirect('uploader');         }         $file_path = 'uploads/' . $file['up...
1,771 Views
3 Replies
03-27-2022, 09:13 PM
rmcdahal
    Thread: Commented routes still working
Post: RE: Commented routes still working

$routes->setAutoRoute(true); To $routes->setAutoRoute(false); Will solve your problems i think.
1,173 Views
1 Replies
07-16-2021, 09:47 AM
rmcdahal
    Thread: M1 Chip MacOS php intl extension error
Post: RE: M1 Chip MacOS php intl extension error

I have installed intl extensions using https://www.macports.org ,check once it may help
19,439 Views
14 Replies
07-05-2021, 04:46 AM
rmcdahal
    Thread: Error Put method from App in reactNative an RESTAPI CI4
Post: RE: Error Put method from App in reactNative an RE...

If you are on shared hosting, then put, delete verbs may be disabled, I have got the same issue, after switching to cloud all working fine.
2,962 Views
5 Replies
06-14-2021, 09:46 PM
rmcdahal
    Thread: Codeigniter Nepal
Post: RE: Codeigniter Nepal

WOW, Waiting
2,552 Views
2 Replies
04-19-2021, 07:24 AM
rmcdahal
    Thread: Pagination with Custom model
Post: RE: Pagination with Custom model

This is how I am doing and working perfectly  Code: -- public function index($keyword = null)     {         $keyword = trim($this->request->getVar('keyword'));         $Product = new Product()...
7,259 Views
13 Replies
01-04-2021, 06:29 AM
rmcdahal
    Thread: Image optimiser inside CI4 (such as TinyPNG)
Post: RE: Image optimiser inside CI4 (such as TinyPNG)

Try this  https://github.com/DTQ2020/tinypng-codeigniter4 (https://github.com/DTQ2020/tinypng-codeigniter4)
2,918 Views
3 Replies
11-06-2020, 07:38 AM
rmcdahal
    Thread: Use title in URL
Post: RE: Use title in URL

Here is what I am doing with my current projects. Code: -- $title = $this->request->getVar("title"); $current_title = url_title($title, '-', true); -- $current_title is stored in the slug col...
10,184 Views
15 Replies
02-19-2020, 08:18 AM
rmcdahal
    Thread: shopping cart on CI4
Post: RE: shopping cart on CI4

You can use  https://github.com/jason-napolitano/CodeIgniter4-Cart-Module (https://github.com/jason-napolitano/CodeIgniter4-Cart-Module) This is ci4 port of cart class
6,187 Views
2 Replies
02-10-2020, 08:30 AM
rmcdahal
    Thread: Memory Exhausted Errors In Development ENV After RC4 Update
Post: RE: Memory Exhausted Errors In Development ENV Aft...

Previously I have used codeigniter4/framework files for building, yesterday project was overridden with files from codeigniter4/codeigniter4 rc4 Now I have again cloned and override files from code...
2,759 Views
4 Replies
02-07-2020, 09:32 PM
rmcdahal
  Wink Thread: Memory Exhausted Errors In Development ENV After RC4 Update
Post: Memory Exhausted Errors In Development ENV After R...

Hello, I am getting Memory Exhausted Errors In Development ENV After RC4 Update here is a screenshot of PHP spark serve
2,759 Views
4 Replies
02-07-2020, 09:17 AM
rmcdahal
    Thread: Codeigniter Slug
Post: Codeigniter Slug

Hello friends, I am having problems with slug in codeigniter4, I have a table called city which stores slug in slug columns Controller code  Code: -- public function details($slug)     {   ...
1,791 Views
1 Replies
12-21-2019, 11:18 PM
rmcdahal
    Thread: Unlink Images and styles foreach loop
Post: Unlink Images and styles foreach loop

Here is my delete controller function  Code: -- public function DeleteById($id) { $file = $this->MediaModel->find($id); if (empty($file)) return redirect()->back(); $file_path = $...
1,106 Views
0 Replies
12-17-2019, 04:46 AM
rmcdahal
    Thread: CodeIgniter 4 Logo
Post: RE: CodeIgniter 4 Logo

@loopzzz's versions of logos are far better than any other mentioned in these threads, wow
91,688 Views
63 Replies
11-15-2019, 04:12 AM
rmcdahal
    Thread: Search With Pagination ?
Post: Search With Pagination ?

I am having an issue with search with pagination ..  My Controller Code is  Code: -- public function search($keyword= null){ $keyword = $this->request->getVar('search'); if ($keyword==null)...
1,709 Views
1 Replies
09-20-2019, 09:57 AM
rmcdahal

Theme © iAndrew 2016 - Forum software by © MyBB