Toolbar not visible for Administrators (Group), Group-Permissions Problem

Permalink
Hi!

For some reason nobody except the Super User can see / use the toolbar. A few days ago everything worked fine. The Source-Code tells me the following errors:

page_controls_menu.js

var menuHTML = '';
Syntax error in file: mysite/concrete/libraries/3rdparty/adodb/drivers/adodb-mysql.inc.php
...
<h1>Unable to connect to database.</h1>
...
<div class="ccm-error">A database error occurred while processing this request.</div></div>


error-log:

PHP Fatal error:  Call to a member function query() on a non-object in mysite/concrete/models/permissions.php on line 559


Does anybody know a solution?

Regards

mashups
 
Mnkras replied on at Permalink Reply
Mnkras
Hah, I just got this when playing with a site,

check that the details in /config/site.php are right, if they are check that the db exists and there is data in it.

Mike
mashups replied on at Permalink Reply
mashups
Hi Mike!

Thank you for your answer! The details are correct and it's a working site. The error appeared suddenly and without anybody has changed the code before...

Simon
Mnkras replied on at Permalink Reply
Mnkras
Can you make a simple script to connect to the db
On Jun 26, 2011 5:24 AM, "Concrete5 Community" <discussions@concretecms.com>
wrote:
mashups replied on at Permalink Reply
mashups
Hi Mike,

thanks again for your answer.
The database-connection isn't the problem.

The error-message is the result of the "Call to a member function query" in permissions.php ... it seems that the function setGroupAccess is not working properly.

Does anybody know this problem or has an idea for a solution?

Simon
Mnkras replied on at Permalink Reply
Mnkras
does the rest of your site work?
mashups replied on at Permalink Reply
mashups
yes, there are no other problems.
mashups replied on at Permalink Reply
mashups
Hi! I still got the same problem... :-(