Skip to content
Advertisement

codeigniter oc_ prefex database problem in server

i have created a website in codeignter, the website is working fine my local, i uploaded it to my server, then its showing the following error:

JavaScript

coz my table names doesn’t start with _oc, i don’t know where this oc is coming from, below is a few code from the session.php where the error is showing.

JavaScript

can anyone please tell me what is wrong here? thanks in advance

Advertisement

Answer

please check your config database file you can add there prefix for db prefix

JavaScript

you can check it from applicationconfigdatabase.php

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement