Posts: 6
Threads: 1
Joined: Aug 2010
Reputation:
0
Hi,
I have looking to install and have the following error when pointing to install.php in browser. Any ideas?
Fatal error: Call to undefined function adonewconnection() in .../inc/inc.DBAccess.php on line 74
Thanks,
AB.
Posts: 68
Threads: 8
Joined: Aug 2010
Reputation:
0
looks like the database connection is broken in the script, have you modified it?
which version of LetoDMS are you using?
Posts: 6
Threads: 1
Joined: Aug 2010
Reputation:
0
Hi,
I haven't modified any connection script. I am using version 1.9. I have created a database, with user and used create_tables.sql in MYSQL to create the tables. It almost appears like global variables not visible (or adodb package is not loading).
Could it be something to do with settings variables (see below where dataroom is folder for letodms)? Should I change the default page?
// Default page on login. Defaults to out/out.ViewFolder.php
var $_siteDefaultPage = "";
// Path to where mydms is located
var $_rootDir = "http://www.XYZ.com/dataroom/";
// Where the uploaded files are stored (best to choose a directory that
// is not accessible through your web-server)
var $_contentDir = "/drdocs/";
// Path to adodb
var $_ADOdbPath = "http://www.XYZ.com/dataroom/adodb/";
Thanks,
AB.
Posts: 68
Threads: 8
Joined: Aug 2010
Reputation:
0
well, your paths are not correct.. you are using URL instead of a path
should be something like:
// Path to where mydms is located
var $_rootDir = "/home/user/public_html/dataroom/";
// Where the uploaded files are stored (best to choose a directory that
// is not accessible through your web-server)
var $_contentDir = "/home/user/public_html/dataroom/drdocs/";
// Path to adodb
var $_ADOdbPath = "/home/user/public_html/dataroom/adodb/";
Posts: 6
Threads: 1
Joined: Aug 2010
Reputation:
0
I changed all the variables as above and still had the error at out/out.ViewFolder.php.
When I manually went to /out/out.Login.php ... the Login page was as expected (whereas last time there were errors so this is a good sign!), but when entering 'admin' 'admin' I received the error below when redirected to: op/op.Login.php
Fatal error: Call to undefined function adonewconnection() in /home/XYZ/public_html/dataroom/inc/inc.DBAccess.php on line 73
Any more thoughts? this is appreciated!
Posts: 68
Threads: 8
Joined: Aug 2010
Reputation:
0
can you please attach your settings file here?