Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Shared Models between multiple applications
Post: RE: Shared Models between multiple applications

I finally got this to work. What I did was to create a SHARED_PATH constant in Common.php PHP Code: -- $d = explode(DIRECTORY_SEPARATOR,ROOTPATH); $d[count($d) -2] = "shared"; define('SHARED_...
1,083 Views
4 Replies
09-26-2022, 02:58 AM
vimkaf
    Thread: Shared Models between multiple applications
Post: RE: Shared Models between multiple applications

This is what i have tried created a shared folder in the rootpath shared    \Models        \OrderModel.php    \Libraries ... The contents of OrderModel.php PHP Code: --
1,083 Views
4 Replies
09-25-2022, 06:35 AM
vimkaf
    Thread: Shared Models between multiple applications
Post: Shared Models between multiple applications

I have multiple applications running on a single installation of CI. These apps share the same database. Project Structure /app1     app     public /app2     app     public /vendor but i want...
1,083 Views
4 Replies
09-25-2022, 05:15 AM
vimkaf
    Thread: Problem Upgrading from 4.1.9 to 4.2.6
Post: Problem Upgrading from 4.1.9 to 4.2.6

After upgrading my app from v4.1.9 to 4.2.6 i noticed that the debug toolbar is missing. How can i fix this?
455 Views
1 Replies
09-12-2022, 09:13 AM
vimkaf
    Thread: Using Viewi and CI4
Post: RE: Using Viewi and CI4

SubrataJ Wrote: (08-22-2022, 07:29 AM) -- PHP Code: -- app/Config/Routes.php //.. Other routes // Add this to Footer // Including all module routes $modules_path = ROOTPATH . 'Modules/'; ...
4,411 Views
13 Replies
08-22-2022, 08:52 AM
vimkaf
    Thread: Using Viewi and CI4
Post: Using Viewi and CI4

I recently came across Viewi https://viewi.net/ (https://viewi.net/) A package to add interactivity to an app using PHP. It's similar to Laravel's Livewire. I gave it a go and try to see if it will wo...
4,411 Views
13 Replies
08-22-2022, 07:03 AM
vimkaf
    Thread: CSRF Except not working on multiple URI Paths
Post: RE: CSRF Except not working on multiple URI Paths

Yes hope you have solved it too
1,776 Views
3 Replies
05-17-2022, 09:08 PM
vimkaf
    Thread: How to insert thousands of entrys in MySQL
Post: RE: How to insert thousands of entrys in MySQL

Read about insertBatch is the userguide
2,089 Views
3 Replies
05-17-2022, 09:06 PM
vimkaf
    Thread: Concurrency, queues and sockets?
Post: RE: Concurrency, queues and sockets?

Oh yes, I find myself needing some sort of background worker as tasks are becoming time consuming to be handled in a single request. I posted a topic on  this a while back unfortunately I had no feedb...
1,627 Views
2 Replies
05-17-2022, 08:55 PM
vimkaf
  Big Grin Thread: Myth:Auth in search of maintainer
Post: RE: Myth:Auth in search of maintainer

Is CI shield ready for production use?
7,362 Views
9 Replies
04-13-2022, 04:20 PM
vimkaf
    Thread: tabnine
Post: RE: tabnine

vimkaf Wrote: (04-12-2022, 02:12 AM) -- Is tabnine better than github copilot? --
2,440 Views
4 Replies
04-12-2022, 02:35 PM
vimkaf
    Thread: ON DELETE CASCADE for Foreign Keys
Post: RE: ON DELETE CASCADE for Foreign Keys

It would be nice if someone from the dev team could answer this. @"kenjis" @"includebeer" any thoughts on this?
2,374 Views
5 Replies
04-04-2022, 12:10 AM
vimkaf
    Thread: ON DELETE CASCADE for Foreign Keys
Post: RE: ON DELETE CASCADE for Foreign Keys

If I understand you, if the soft deletes is set to true AND ON Delete is CASCADE, records will still be kept.
2,374 Views
5 Replies
04-02-2022, 11:22 PM
vimkaf
  Question Thread: ON DELETE CASCADE for Foreign Keys
Post: ON DELETE CASCADE for Foreign Keys

Hello fam, I want to know what would happen to rows that have soft_deletes set to true in the model. Does it set the child rows deleted_at colum to null or it deletes all rows regardless?
2,374 Views
5 Replies
03-31-2022, 01:21 AM
vimkaf
    Thread: Header may not contain more than a single header, new line detected
Post: RE: Header may not contain more than a single head...

iRedds Wrote: (03-17-2022, 01:46 AM) -- Are you setting your headers? -- I have fixed this issue, the problem was the Cache-Control headers were getting repeated which was adding \r to each repitit...
4,748 Views
3 Replies
03-18-2022, 01:04 PM
vimkaf
  Exclamation Thread: CSRF Except not working on multiple URI Paths
Post: CSRF Except not working on multiple URI Paths

I am working on an API and i want to exempt some routes from CSRF check whenever i use the except property on a singe URI like this PHP Code: -- public $globals = [         'before' => [         'csr...
1,776 Views
3 Replies
03-18-2022, 01:00 PM
vimkaf
    Thread: Header may not contain more than a single header, new line detected
Post: Header may not contain more than a single header, ...

I am getting the error below "Header may not contain more than a single header, new line detected" The code sending the request PHP Code: -- try{                 $client = \Config\Services::curlr...
4,748 Views
3 Replies
03-15-2022, 08:18 AM
vimkaf
  Question Thread: Jobs/Queues in CI4
Post: Jobs/Queues in CI4

I'm still new in the world of Async PHP but I find myself needing a jobs queues and dispatcher or worker especially when I'm integrating several APIs in an application.  I want to know if this is in ...
4,215 Views
3 Replies
01-17-2022, 03:13 PM
vimkaf
    Thread: How to add session data without using set_userdata? The docs doesn't have an example.
Post: RE: How to add session data without using set_user...

castle Wrote: (01-14-2022, 05:22 AM) -- Hi, The documentation has an example of how to add data using set_userdata. PHP Code: -- $newdata = array(         'username'  => 'johndoe',         'emai...
1,657 Views
2 Replies
01-14-2022, 06:12 AM
vimkaf
  Question Thread: Subdomain routes to a folder
Post: Subdomain routes to a folder

I am currently developing a web application and i am seperating the frontend and backend.  --app ----Controllers -------Frontend -------Backend ----Views ----Frontend ----Backend I want to hav...
834 Views
0 Replies
01-10-2022, 01:32 AM
vimkaf

Theme © iAndrew 2016 - Forum software by © MyBB