> For the complete documentation index, see [llms.txt](https://blog.log4think.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.log4think.com/phpmyadmin-login-error.md).

# 2013-11-11  phpMyAdmin login error to remote server

I have a fresh install of Ubuntu 13.10 and phpMyAdmin version 4:4.0.6-1 . I add a remote server in config.inc.php for multiple server management. But phpMyAdmin failed to login to remote server.

there are following error logs in `/var/log/apache2/error.log`

```
PHP Fatal error:  Call to a member function getPresence() on a non-object in /usr/share/phpmyadmin/libraries/navigation/NavigationTree.class.php on line 1046
```

The code of `NavigationTree.class.php` at 1046 are

```
1039         } else if (($node->type == Node::CONTAINER
1040             && (   $node->real_name == 'tables'
1041                 || $node->real_name == 'views'
1042                 || $node->real_name == 'functions'
1043                 || $node->real_name == 'procedures'
1044                 || $node->real_name == 'events')
1045             )
1046             && $node->realParent()->getPresence($node->real_name) >= (int)$GLOBALS['cfg']    ['NavigationTreeDisplayItemFilterMinimum']
1047         ) {
```

I am not sure the root cause of this issue. But I can fix this error by adding a check for if statment

```
1039         } else if (($node->type == Node::CONTAINER
1040             && (   $node->realParent )
1041             && (   $node->real_name == 'tables'
1042                 || $node->real_name == 'views'
1043                 || $node->real_name == 'functions'
1044                 || $node->real_name == 'procedures'
1045                 || $node->real_name == 'events')
1046             )
1047             && $node->realParent()->getPresence($node->real_name) >= (int)$GLOBALS['cfg']['NavigationTreeDisplayItemFilterMinimum']
1048         ) {
```

That's it.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.log4think.com/phpmyadmin-login-error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
