Welcome Guest, Not a member yet? Register   Sign In
Oracle OCI8 support for CI 4
#12

(This post was last modified: 11-30-2021, 12:50 AM by andoyoandoyo.)

I just tested Oracle Driver, and work well after I edited this code SYSTEMPATH\Debug\Toolbar\Collectors\Database.php at line 144.

I got an error like the below:

PHP Code:
ErrorException
Use of undefined constant VENDORPATH assumed 'VENDORPATH' (this will throw an Error in a future version of PHP)
SYSTEMPATH\Debug\Toolbar\Collectors\Database.php at line 144 

Then I delete (comment) this code (the file is this SYSTEMPATH\Debug\Toolbar\Collectors\Database.php at line 144):

PHP Code:
$traceLine['file'] = str_ireplace(VENDORPATH'VENDORPATH/'$traceLine['file']); 

And then Oracle Driver works well.

(11-30-2021, 12:48 AM)andoyoandoyo Wrote: I just tested Oracle Driver, and work well after I edited this code SYSTEMPATH\Debug\Toolbar\Collectors\Database.php at line 144.

I got an error like the below:

PHP Code:
ErrorException
Use of undefined constant VENDORPATH assumed 'VENDORPATH' (this will throw an Error in a future version of PHP)
SYSTEMPATH\Debug\Toolbar\Collectors\Database.php at line 144 

Then I deleted (commented) this code (the file is this SYSTEMPATH\Debug\Toolbar\Collectors\Database.php at line 144):

PHP Code:
$traceLine['file'] = str_ireplace(VENDORPATH'VENDORPATH/'$traceLine['file']); 

And then Oracle Driver works well.
Reply


Messages In This Thread
Oracle OCI8 support for CI 4 - by ajk - 05-07-2020, 04:03 PM
RE: Oracle OCI8 support for CI 4 - by kilishan - 05-07-2020, 09:03 PM
RE: Oracle OCI8 support for CI 4 - by ajk - 04-15-2021, 11:57 AM
RE: Oracle OCI8 support for CI 4 - by kenjis - 10-13-2021, 12:11 AM
RE: Oracle OCI8 support for CI 4 - by b126 - 10-30-2021, 01:28 PM
RE: Oracle OCI8 support for CI 4 - by gurthang75 - 10-25-2021, 01:08 PM
RE: Oracle OCI8 support for CI 4 - by kenjis - 10-30-2021, 04:16 PM
RE: Oracle OCI8 support for CI 4 - by gurthang75 - 10-26-2021, 01:44 PM
RE: Oracle OCI8 support for CI 4 - by gurthang75 - 11-23-2021, 09:07 AM
RE: Oracle OCI8 support for CI 4 - by rocksvern - 11-29-2021, 07:51 AM
RE: Oracle OCI8 support for CI 4 - by gurthang75 - 12-09-2021, 05:24 AM
RE: Oracle OCI8 support for CI 4 - by kenjis - 11-28-2021, 06:16 PM
RE: Oracle OCI8 support for CI 4 - by andoyoandoyo - 11-30-2021, 12:48 AM
RE: Oracle OCI8 support for CI 4 - by kenjis - 11-30-2021, 01:01 AM
RE: Oracle OCI8 support for CI 4 - by kenjis - 12-29-2021, 02:48 AM
RE: Oracle OCI8 support for CI 4 - by kenjis - 01-25-2022, 04:54 PM
RE: Oracle OCI8 support for CI 4 - by b126 - 02-11-2022, 06:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB