Welcome Guest, Not a member yet? Register   Sign In
trying to jumpstart a discontinued CI 3.1 project
#1

(This post was last modified: 11-12-2020, 09:22 AM by gelson.)

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

Attached Files Thumbnail(s)
   

.txt   config(that came with CI3.1).txt (Size: 18.54 KB / Downloads: 3)
.txt   config.txt (Size: 19.31 KB / Downloads: 3)
Reply
#2

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.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(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
Reply




Theme © iAndrew 2016 - Forum software by © MyBB