Community Forums

ATutor Bug Reports

Unable to access database error!


You must be signed-in to post.

AuthorSubject
 
Page: 1 | 2
tooniceted
Subject: Re: Unable to access database error!Quote this post in your reply
I'm just frustrated and nobody seems to want to help
Posted: 2013-07-05 19:21:29
greg

Avatar for greg
Subject: Re: Unable to access database error!Quote this post in your reply
The trouble is, until we can reproduce the problem ourselves, its difficult to help. Free help by the way, in addition to the free software. Help us reproduce the problem.

We're here to help, but you've got to be able to help yourself. And, you can't talk like that to the person kindly helping you, and expect any sympathy from the rest of us Canadians.
Posted: 2013-07-05 19:37:56
tooniceted
Subject: Re: Unable to access database error!Quote this post in your reply
I can give you access to a server that would produce the problem, over and over again. It's on HostGator.
Posted: 2013-07-05 20:10:47
tooniceted
Subject: Re: Unable to access database error!Quote this post in your reply
Guess I'm getting the silent treatment
Posted: 2013-07-06 16:44:33
tooniceted
Subject: Re: Unable to access database error!Quote this post in your reply
Come on guys, I need help, this is not funny
Posted: 2013-07-08 21:30:02
surathmukherjee
Subject: Re: Unable to access database error!Quote this post in your reply
Hello,

I am able to install atutor successfully and database and tables got created sucessfully. But when I visit login page I hit the "Not able to access database error". The following is the URL.

ameeyaart.com/onlineacademy/login.php

Please help in this regard.

Thanks,
Surath M.
Posted: 2016-05-18 10:08:08
musoke256
Subject: Re: Unable to access database error!Quote this post in your reply
Hi Greg, I have made a clean install of atutor, everything was moving smoothly until on completion when I got the error "ATutor was unable to access the database. If the problem persists, please report this to an Administrator with this date reference (10/27/2017 04:14:59 am)
That account has been disabled." I have no clew what this means. Please check out this link acadri.org/atutor/atutor/login.php.

Thanks.
Posted: 2017-10-27 05:24:41
greg

Avatar for greg
Subject: Re: Unable to access database error!Quote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on -
ATutor version -
Patch #s applied -
ATutor theme name -
PHP version -
MySQL version -
Webserver & version -
Copies of error messages -
Changes to default settings -
Web browser being used -
...and anything else relevant -
Posted: 2017-10-27 08:59:55
musoke256
Subject: Re: Unable to access database error!Quote this post in your reply
Thanks Greg, below are the details as requested:

Operating system ATutor is installed on - My webserver is running
ATutor version - 2.2.2
Patch #s applied - none
ATutor theme name - default theme
PHP version - 5.5.37
MySQL version - 5.5.51
Webserver & version - Apache 2.2.0
Copies of error messages -
Changes to default settings - Just changed permissions on include/config.inc.php to 777
Web browser being used - Chrome and Firefox

Error message is: "ATutor was unable to access the database. If the problem persists, please report this to an Administrator with this date reference (10/27/2017 04:14:59 am)
That account has been disabled."

So grateful for your assistance.
Posted: 2017-10-27 09:36:56
greg

Avatar for greg
Subject: Re: Unable to access database error!Quote this post in your reply
I'll guess it is on a linux server. I do not see anything about your server that might be a problem.

You may need to do some debugging. You can enable debugging bt setting AT_DEVEL to value 1, near the top of include/vital.inc.php, then use the debug() function to see what might be causing the error. Place the following line just before the line indicated in the error message.

debug($rows);

for details see:
www.atutor.ca/development/documentation/guidelines.html#fn-debug

The other thing you might try, if debug() does not provide clues, is disable error reporting in your php.ini file for your system.

See:
https://superuser.com/questions/527296/how-do-i-disable-all-error-messages-via-php-ini
Posted: 2017-10-27 10:00:04
 
Page: 1 | 2

You must be signed-in to post.

Related Articles