![]() |
Fatal error: Call to undefined function... - 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: Fatal error: Call to undefined function... (/showthread.php?tid=140) |
Fatal error: Call to undefined function... - bacubanja - 08-15-2010 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. RE: Fatal error: Call to undefined function... - alekseyn - 08-16-2010 looks like the database connection is broken in the script, have you modified it? which version of LetoDMS are you using? RE: Fatal error: Call to undefined function... - bacubanja - 08-16-2010 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. RE: Fatal error: Call to undefined function... - alekseyn - 08-16-2010 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/"; RE: Fatal error: Call to undefined function... - bacubanja - 08-16-2010 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! RE: Fatal error: Call to undefined function... - alekseyn - 08-16-2010 can you please attach your settings file here? RE: Fatal error: Call to undefined function... - bacubanja - 08-17-2010 (08-16-2010, 03:40 PM)alekseyn Wrote: can you please attach your settings file here? Hi, Thanks for This. See attached. Could it be the "_" in the database name and user? This is done automatically in MySql through CPanel. AB RE: Fatal error: Call to undefined function... - alekseyn - 08-17-2010 ok, no... "_" are OK.. I have the host with Cpanel too... your settings file looks good. Now make sure you have the following: 1. adodb folder should be here: /home/xyz/public_html/dataroom/adodb/ (should be readable to the server) 2. error lines changed (was line 74 and now line 73), maybe you have changed your inc/inc.DBAccess.php ?? take the original file from the letoDMS archive and try again. 3. the URL use use to access the site is http://www.xyz.com/dataroom/ RE: Fatal error: Call to undefined function... - bacubanja - 08-17-2010 (08-17-2010, 03:32 PM)alekseyn Wrote: ok, alekseyn, thank you very much for working with me on this! I followed the steps above and it is now working! It must have been a culmination of my debugging efforts screwing up any future fixes. Fully resolved and working. Thanks again! RE: Fatal error: Call to undefined function... - alekseyn - 08-17-2010 you are welcome! )) |