Welcome Guest, Not a member yet? Register   Sign In
Search Results
  Question Thread: Room booking system?
Post: Room booking system?

I am not sure it is the right place to ask, but I will give it a shot. I need to build a simple room reservation system in my CI app. There are six rooms, that are shared by a a bunch of people for ...
153 Views
2 Replies
05-15-2022, 01:50 PM
dgvirtual
    Thread: CI4 as backend for React.js and authentication
Post: RE: CI4 as backend for React.js and authentication

murugappan Wrote: (05-13-2022, 03:57 PM) -- dgvirtual Wrote: (01-29-2022, 04:08 AM) -- I am trying to learn React framework using Codeigniter as backend. Therefore I am trying to use Codeigniter as ...
1,553 Views
13 Replies
05-15-2022, 01:31 PM
dgvirtual
    Thread: Any tutorials on Unit testing in CI4?
Post: RE: Any tutorials on Unit testing in CI4?

Thanks guys, good resources, enough to read and learn!
506 Views
9 Replies
05-10-2022, 12:39 PM
dgvirtual
    Thread: Any tutorials on Unit testing in CI4?
Post: RE: Any tutorials on Unit testing in CI4?

captain-sensible Wrote: (05-05-2022, 11:46 PM) -- well here's a birds eye view : https://www.guru99.com/unit-testing-guide.html https://phpunit.de/getting-started/phpunit-9.html -- Thanks!
506 Views
9 Replies
05-06-2022, 04:09 AM
dgvirtual
    Thread: ZipArchive: class not found
Post: RE: ZipArchive: class not found

For me using Code: -- $zip = new ZipArchive; -- or Code: -- $zip = new \ZipArchive; -- in controller method did not work, untill I added Code: -- use ZipArchive; -- at the t...
4,236 Views
6 Replies
05-05-2022, 10:31 AM
dgvirtual
    Thread: Any tutorials on Unit testing in CI4?
Post: Any tutorials on Unit testing in CI4?

I would like to do some testing before deploying the app updates to the server, some CLI script that would run my controllers with the standard data and make sure there are no critical errors, so user...
506 Views
9 Replies
05-05-2022, 07:33 AM
dgvirtual
    Thread: getting array of uri segments excluding subdirectory in base_url()
Post: RE: getting array of uri segments excluding subdir...

JustJohnQ Wrote: (05-02-2022, 11:59 PM) -- Why not use: PHP Code: -- $segments = $uri->getSegments(); -- -- Well, because in case the url is https://mywebsite.com/appsubdir/firstseg/secondseg  ...
198 Views
2 Replies
05-03-2022, 12:19 AM
dgvirtual
    Thread: getting array of uri segments excluding subdirectory in base_url()
Post: getting array of uri segments excluding subdirecto...

I am trying to find an optimal way to get an array of segments of the uri of my application that would not include the subdirectory where my app resides, if I use such (I do in production, but not in ...
198 Views
2 Replies
05-02-2022, 07:12 AM
dgvirtual
    Thread: [SOLVED] renaming, storing and accessing files: name problem
Post: [SOLVED] renaming, storing and accessing files: na...

I suspect what I am going to write is not related to Codeigniter as such, and perhaps it is possible to Google it, but I lack what to google for :) So please help me out :) In my application I allo...
208 Views
1 Replies
05-01-2022, 09:53 AM
dgvirtual
    Thread: CI 4 - installation with composer showing errors
Post: RE: CI 4 - installation with composer showing erro...

If you change the environment to DEVELOPMENT in the main folder .env file, you will get a detailed error report. If you dont have that file, do copy env to .env first.
356 Views
3 Replies
03-30-2022, 02:11 PM
dgvirtual
    Thread: Running session garbage collection with a cron on CI3
Post: RE: Running session garbage collection with a cron...

ignitedcms Wrote: (03-28-2022, 10:49 AM) -- If that is indeed the issue and you have set the correct file permissions, I would raise that as bug. -- Strange, I looked at my development server and I s...
3,277 Views
12 Replies
03-30-2022, 08:34 AM
dgvirtual
    Thread: How to access images under writable folder
Post: RE: How to access images under writable folder

jreklund Wrote: (08-04-2020, 12:09 PM) -- You need to upload them to /public/uploads or make a PHP-reader that reads the image from writable/uploads and outputs it to the user, with a correct mime ty...
13,999 Views
13 Replies
03-30-2022, 08:11 AM
dgvirtual
    Thread: CI4 as backend for React.js and authentication
Post: RE: CI4 as backend for React.js and authentication

ignitedcms Wrote: (03-29-2022, 12:31 AM) -- If you store the JWT in session storage you can just use regular javascript to inspect the token and use that to validate the controllers I believe, it is ...
1,553 Views
13 Replies
03-29-2022, 02:42 AM
dgvirtual
    Thread: CI4 as backend for React.js and authentication
Post: RE: CI4 as backend for React.js and authentication

I am back to learning React with Codeigniter as REST API. I have revieved the Myth:Auth and Codeigniter Shield projects and I cannot see any REST API controllers (controllers that receive and send jso...
1,553 Views
13 Replies
03-29-2022, 12:17 AM
dgvirtual
    Thread: Running session garbage collection with a cron on CI3
Post: RE: Running session garbage collection with a cron...

ignitedcms Wrote: (03-28-2022, 10:49 AM) -- If that is indeed the issue and you have set the correct file permissions, I would raise that as bug. -- Yeh, perhaps I should. I successfully run this c...
3,277 Views
12 Replies
03-28-2022, 11:18 AM
dgvirtual
    Thread: Running session garbage collection with a cron on CI3
Post: RE: Running session garbage collection with a cron...

ignitedcms Wrote: (03-28-2022, 10:16 AM) -- Have a look at sessionRegenerateDestroy in the config file make sure that directory has the appropriate write permissions as per the documentation. -- Do...
3,277 Views
12 Replies
03-28-2022, 10:35 AM
dgvirtual
    Thread: Running session garbage collection with a cron on CI3
Post: RE: Running session garbage collection with a cron...

MereDev Wrote: (07-28-2021, 09:24 AM) -- I've still not been able to get Garbage collection to fire at all. So for now I'm going to use my own CRON to manually delete session files from `/var/www...
3,277 Views
12 Replies
03-28-2022, 10:09 AM
dgvirtual
    Thread: CI4 as backend for React.js and authentication
Post: RE: CI4 as backend for React.js and authentication

sammyskills Wrote: (01-31-2022, 04:57 AM) -- Have you tried myth/auth (https://github.com/lonnieezell/myth-auth) OR codeigniter-shield (https://github.com/lonnieezell/codeigniter-shield) ? -- Hi, did...
1,553 Views
13 Replies
02-01-2022, 03:19 AM
dgvirtual
    Thread: The framework needs the following extension(s) installed and loaded: intl.?
Post: RE: The framework needs the following extension(s)...

Brew should not know about the php in the MAMP package.... but anyway, unless you find someone using Mac in this forum, willing to explore those issues with you, I suggest you try a more general php d...
1,629 Views
9 Replies
01-31-2022, 08:58 AM
dgvirtual
    Thread: The framework needs the following extension(s) installed and loaded: intl.?
Post: RE: The framework needs the following extension(s)...

When you run "php spark serve" in command line, you run the same php that is in your system or user PATH variable (or a php executable in the same directory - which is not your case clearly). In the s...
1,629 Views
9 Replies
01-31-2022, 01:14 AM
dgvirtual

Theme © iAndrew 2016 - Forum software by © MyBB