Hello friends, I need your help to solve a problem with my installation, thank you
I have the following problems when installing a script on my website,
A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object Filename: libraries/config_data.php Line Number: 20
An Error Was Encountered Unable to load the requested file: templates//includes/header.php
when amount the sql database I get this error :
Error SQL query: (16, 'THEME_SETTINGS', 'Theme Settings', 'Sec', 'Sec', 0, 'blue', ", 0);
-----------------------------------------------------------------------------------------------------------------
MySQL said: # 1064 - You have an error in your SQL syntax; check the manual (that corresponds to your MySQL server version for the right syntax to use near ' 16, 'THEME_SETTINGS', 'Theme Settings', 'Sec', 'Sec', 0, 'blue', ", 0)'
at line 1 and the first Filename error:
libraries/config_data.php line 20 this this: $query = $CI-> db-> get_where->-> string_value row() ('settings', array ('code' => 'THEME_SETTINGS'));
I hope they help me to solve this problem since I'm a little lost on what is php, many thanks in advance...