LetoDMS Community Forum
Parse error inc.DBAccess.php on line 30 - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Installation Problems (https://community.letodms.com/forumdisplay.php?fid=9)
+--- Thread: Parse error inc.DBAccess.php on line 30 (/showthread.php?tid=217)

Pages: 1 2


RE: Parse error inc.DBAccess.php on line 30 - robshim - 01-07-2011

(01-07-2011, 08:22 PM)Doudoux Wrote: Check your database settings.

Generally, user for mysql is "root" and not "admin"...

PHP Code:
var $_dbUser "admin"

ah! So it is! Another error on my part, thanks for your patience. Unfortunately I still get the same error.




RE: Parse error inc.DBAccess.php on line 30 - Doudoux - 01-07-2011


Your database "mydms", is created ?
Check your password...

Have you an another soft to connect mysql and check your parameters ?



RE: Parse error inc.DBAccess.php on line 30 - robshim - 01-07-2011

(01-07-2011, 08:45 PM)Doudoux Wrote: Your database "mydms", is created ?
Check your password...

Have you an another soft to connect mysql and check your parameters ?

A database called 'mydms' has been created which has 26 tables in it. I can access it through PHPMyADMIN using the user/pword which is on the inc.Settings page. All other applications using MySQL are working.

Rob


RE: Parse error inc.DBAccess.php on line 30 - Doudoux - 01-07-2011

And in your " MYDMS ERROR.txt", the lasts messages are already :

Code:
"[07-Jan-2011 11:50:09] PHP Warning:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\mydms\adodb\drivers\adodb-mysql.inc.php on line 365"

?


RE: Parse error inc.DBAccess.php on line 30 - robshim - 01-07-2011

(01-07-2011, 10:26 PM)Doudoux Wrote: And in your " MYDMS ERROR.txt", the lasts messages are already :

Code:
"[07-Jan-2011 11:50:09] PHP Warning:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\mydms\adodb\drivers\adodb-mysql.inc.php on line 365"

?

That was probably when I was using 'admin' as a username by mistake not 'root'?

Is there anywhere else other than inc.settings that requires MySQL connection data?

As I said I can connect to the mydms data base and view the tables. At least 6 other mysql/php applications are functioning fine.

Attached is a screenshot of the db and the latest error log.


RE: Parse error inc.DBAccess.php on line 30 - Doudoux - 01-10-2011

Hy


Try to delete or rename file : C:\wamp\www\mydms\op\.htaccess


UPDATE : you must activate rewrite_module in apache extension.

doudoux


RE: Parse error inc.DBAccess.php on line 30 - robshim - 01-10-2011

Sorry still get same error, but on the index.php page.
What I am trying to do is find a new DMS for our hospital website, (www.frimleypark.nhs.uk) and your DMS was recommended to me, but I have to test it first. If I gave you FTP access to a test website with MySQL on it would you be able to install it? Might save us a lot of time emailing??
Thanks,
Rob


RE: Parse error inc.DBAccess.php on line 30 - Doudoux - 01-11-2011

Sorry, i can't setting your wamp with FTP.

try
[letoDMS v2.0.2] Check configuration after an installation