Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to a member function get() on a non-object in /home/.../public_html/.../admin/index.php on line 84 #1424

Closed
sairaj21 opened this issue May 12, 2014 · 7 comments

Comments

@sairaj21
Copy link

Hi,

i am trying to fix error my one of my website. So that i am using dump in another my server but when i config it shows Fatal error: Call to a member function get() on a non-object in /home/.../public_html/../admin/index.php on line 84

in admin index.php file i have this code

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

@mdsavan
Copy link

mdsavan commented May 12, 2014

Hi, It seems like file "config.php" does not exists on admin directory. That's why $config = new Config(); object becomes null. Can you check that?

@sairaj21
Copy link
Author

i have config.php file

@mdsavan
Copy link

mdsavan commented May 12, 2014

Hi, can you check for logs?

@sairaj21
Copy link
Author

i not gettings logs

@sairaj21
Copy link
Author

can you tell me how we find logs

@jamesallsup
Copy link
Contributor

Can you please use the forums for general issues - this isn't a global issue.

http://forum.opencart.com/

You are welcome to comment with the forum link once you have created it.

@NewLifeMan
Copy link

NewLifeMan commented Aug 27, 2016

Problem was in permissions to log file /system/logs/error.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants