CodeIgniter Forums
trying to jumpstart a discontinued CI 3.1 project - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: trying to jumpstart a discontinued CI 3.1 project (/showthread.php?tid=77971)



trying to jumpstart a discontinued CI 3.1 project - gelson - 11-12-2020

hi managed to replace the CI 4.4 framework folders with CI 3.1 which as a quick reminder it was highlighted by you that

I was using a project that was built for CI 3 and it would not work with CI4 files(which is what i was doing)

However the project I am working on the "config.php" has a few more aditional "define" functions lines than that of the standard config.php
because it a couple of "define('ci_constant', purchase_code);" and define('gagalget', 'errorpurchase'); for the project which apparently
is not longer comercialised in CodeCanyon and the authors emails "[email protected]" isnĀ“t responsive and the Evato url relating to the project is no longer live "'https://api.envato.com/v3/market/author/sale?code='"
Is there a way i can use this project as a null without the "define('ci_constant', purchase_code);" restricting the AdminPanel? kinda unemployed need this project to fly lol .

I have attached an existing config.php for the project below and then the standard config.php that came with ci3 framework


Anyways thanks in advance for shedding some light


RE: trying to jumpstart a discontinued CI 3.1 project - InsiteFX - 11-12-2020

For one make sure you know what version of CodeIgniter 3 it is, open up ./system/core/Codeigniter.php

A little ways down you should see something like this.

PHP Code:
const CI_VERSION '3.2.0-dev'

That will be the version of CodeIgniter that you are running.

You can download the correct version of the files your missing from here.

Downloading CodeIgniter

If you change the default installation folders then you will also need to edit index.php
and tell it where the application and system folders are now.


RE: trying to jumpstart a discontinued CI 3.1 project - gelson - 11-12-2020

(11-12-2020, 01:08 PM)InsiteFX Wrote: For one make sure you know what version of CodeIgniter 3 it is, open up ./system/core/Codeigniter.php

A little ways down you should see something like this.

PHP Code:
const CI_VERSION '3.2.0-dev'

That will be the version of CodeIgniter that you are running.

You can download the correct version of the files your missing from here.

Downloading CodeIgniter

If you change the default installation folders then you will also need to edit index.php
and tell it where the application and system folders are now.


That makes sense because the index.php is where you specify the path folders