Click here to Skip to main content
14,732,983 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi, I'm new at creating & editing websites. I have opened a new website:

I installed vqmod to install an extension. But it didn't help. Also it gave some problems to the website and now I can't access to admin panel. Also I get this error:

Fatal error: Call to a member function get() on a non-object in .../index.php on line 97

if ($config->get('config_error_display')) {
		echo '' . $error . ': ' . $errstr . ' in ' . $errfile . ' on line ' . $errline . '';

What can I do about this? Thanks a lot.
Updated 31-Jul-15 11:59am

1 solution

have you load the model and data base in controller ?

like $this->load->database();//data base load
[no name] 1-Aug-15 14:27pm
Thanks man but I don't really understand what you mean. Should I add this code to index.php?
Salman _Memon 2-Aug-15 4:24am
are u working on codeigniter ?
[no name] 2-Aug-15 4:59am
No, this website is based on Opencart.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900