Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Deploy CodeIgniter and VueJS applications under same virtualhost/hostname
Post: Deploy CodeIgniter and VueJS applications under sa...

Hi I've a VueJS application that consumes a REST API built with CodeIgniter This is the folder structure (d = folder) d - ciapp (codeIgniter) d - dist d - node_modules d - public d - src bab...
742 Views
1 Replies
08-19-2022, 05:59 AM
kabeza
    Thread: Access form-data parameters from a ResourceController method
Post: Access form-data parameters from a ResourceControl...

Hi I've the following route group configured Code: -- $routes->group('api/project', ['namespace' => 'App\Controllers\Api', 'filter' => 'apikey'], function ($routes) {     $routes->get('/', 'Proj...
885 Views
2 Replies
08-09-2022, 11:36 AM
kabeza
    Thread: Trait 'CodeIgniter\View\ViewDecoratorTrait' not found
Post: RE: Trait 'CodeIgniter\View\ViewDecoratorTrait' no...

kenjis Wrote: (06-22-2022, 02:23 PM) -- It is strange. Is there system/View/ViewDecoratorTrait.php in vendor/codeigniter4/framework/ ? -- Indeed It was very strange. Never seen it Solution: ...
1,535 Views
4 Replies
07-01-2022, 01:11 PM
kabeza
    Thread: Trait 'CodeIgniter\View\ViewDecoratorTrait' not found
Post: Trait 'CodeIgniter\View\ViewDecoratorTrait' not fo...

Hi I'm getting an error after updating CodeIgniter (through composer) I've went through upgrading process, copying public/index.php and spark files from vendor\codeigniter4\framework to my app folde...
1,535 Views
4 Replies
06-22-2022, 01:20 PM
kabeza
    Thread: Upgrading from 4.1.8 to 4.2.0
Post: Upgrading from 4.1.8 to 4.2.0

Hi I went through the process of upgrading codeigniter from 4.1.8 to 4.2.0 I've the framework installed through composer I executed the following commands Code: -- rm public/index.php rm ./s...
1,125 Views
3 Replies
06-09-2022, 07:49 AM
kabeza
    Thread: How should I implement x-api-key and api rate limit in CodeIgniter 4 ?
Post: RE: How should I implement x-api-key and api rate ...

Thanks @"iRedds" @"kenjis"
912 Views
3 Replies
05-26-2022, 05:41 AM
kabeza
    Thread: How should I implement x-api-key and api rate limit in CodeIgniter 4 ?
Post: How should I implement x-api-key and api rate limi...

Hi I have a bunch of ResourceController controllers which build a simple api rest Then I have a filter with this before code (which is assigned only to api routes) Code: -- S...
912 Views
3 Replies
05-24-2022, 05:32 PM
kabeza
    Thread: visual composer or Elementor
Post: RE: visual composer or Elementor

There's no block editor like VC or Elementor available in CodeIgniter You should implement a standalone block editor (most of them are JS based) in your CodeIgniter views Example: https://githu...
954 Views
1 Replies
05-24-2022, 05:18 PM
kabeza
    Thread: Resource Controller problem with show method and uri param
Post: Resource Controller problem with show method and u...

I have the following route configured in app/Config/Routes.php Code: -- $routes->resource(     '/api/project',     [         'only' => ['index', 'show'],         "controller" => "Api\Project"     ] ...
1,113 Views
0 Replies
05-05-2022, 09:31 AM
kabeza
    Thread: Datatables and ORM Model
Post: RE: Datatables and ORM Model

JustJohnQ Wrote: (04-07-2022, 11:38 PM) -- // Output $output = array ("sEcho" => intval ($_POST['sEcho']), "whichorders" => $member, "iTotalRecords" => $iTotal, "iTotalDisplayRecords" => $iFilteredT...
2,038 Views
2 Replies
04-08-2022, 04:41 AM
kabeza
    Thread: Datatables and ORM Model
Post: Datatables and ORM Model

Hi I'm building a new ORM Model, which uses sqlsrv driver and works PHP Code: --
2,038 Views
2 Replies
04-07-2022, 08:49 AM
kabeza
    Thread: Creating controller both for CRUD and API REST
Post: RE: Creating controller both for CRUD and API REST

Thanks a lot It worked great
1,954 Views
2 Replies
04-05-2022, 05:59 AM
kabeza
    Thread: Creating controller both for CRUD and API REST
Post: Creating controller both for CRUD and API REST

I'm builing 2 controllers Let's say Project entity One controller will handle the CRUD, Views, etc. app\Controllers\Projects.php PHP Code: --
1,954 Views
2 Replies
04-04-2022, 03:39 PM
kabeza
    Thread: Codeigniter API + Vue Front project in same folder
Post: RE: Codeigniter API + Vue Front project in same fo...

Hi @ignitedcms This repo will contain a private local application, so I won't upload to Internet, no need SEO stuff, etc. I've loaded Vue from CDN in CodeIgniter views for testing, and that worked...
1,421 Views
3 Replies
03-30-2022, 01:09 PM
kabeza
    Thread: Codeigniter API + Vue Front project in same folder
Post: Codeigniter API + Vue Front project in same folder

Hi guys I have 2 separate folders One contains a CI4 AppStarter project, which will be mainly a Resourceful API with basic panel, auth, etc. Accessible through http://localhost/project/api T...
1,421 Views
3 Replies
03-30-2022, 03:49 AM
kabeza
    Thread: Argument 1 passed to CodeIgniter must be an instance of Config\App, null given
Post: RE: Argument 1 passed to CodeIgniter must be an in...

captain-sensible Wrote: (11-26-2021, 12:10 PM) -- would be nice to see your virtual code, but did you chmod 777 -R writable check inside for permissions inside writable since structure is: ...
6,583 Views
3 Replies
11-26-2021, 04:26 PM
kabeza
    Thread: Argument 1 passed to CodeIgniter must be an instance of Config\App, null given
Post: Argument 1 passed to CodeIgniter must be an instan...

Hi guys I'm cloning a private repository from github, which contains a CodeIgniter App I've created a virtualhost, pointing to public folder, Then threw composer update command, and all went fin...
6,583 Views
3 Replies
11-26-2021, 08:24 AM
kabeza
    Thread: Trying to use a barcode library with Composer and CI4
Post: RE: Trying to use a barcode library with Composer ...

Paradinight Wrote: (06-26-2020, 06:19 AM) -- If you use "use" you can do: use Picqer\Barcode\BarcodeGeneratorPNG; $generator = new BarcodeGeneratorPNG(); or use Picqer\Barcode\BarcodeGenera...
6,853 Views
7 Replies
06-26-2020, 06:25 AM
kabeza
    Thread: Trying to use a barcode library with Composer and CI4
Post: RE: Trying to use a barcode library with Composer ...

Paradinight Wrote: (06-26-2020, 05:52 AM) -- PHP Code: -- $generator = new \Picqer\Barcode\BarcodeGeneratorPNG(); -- It miss \ -- Wow, it was just that ... It worked! Thanks @Paradinight
6,853 Views
7 Replies
06-26-2020, 05:59 AM
kabeza
    Thread: Trying to use a barcode library with Composer and CI4
Post: RE: Trying to use a barcode library with Composer ...

InsiteFX Wrote: (06-26-2020, 03:32 AM) -- its also use Exceptions. So you would also have to load the Exceptions before the other two classes. -- Where did you notice/find that? and how do you kno...
6,853 Views
7 Replies
06-26-2020, 05:12 AM
kabeza

Theme © iAndrew 2016 - Forum software by © MyBB