Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parse error inc.DBAccess.php on line 30
#9
(01-07-2011, 06:46 PM)Doudoux Wrote: Your folder is mydms and not letodms
Your system is Windows


PHP Code:
// path to where mydms is located
var $_rootDir "/var/www/letoDMS-2.0.2/";

// The relative path in the URL, after the domain part. Do not include the
// http:// prefix or the web host name. e.g. If the full URL is
// http://www.example.com/mydms/, set $_httpRoot = "/mydms/".
// If the URL is http://www.example.com/, set $_httpRoot = "/".
var $_httpRoot "/letoDMS-2.0.2/";

// Where the uploaded files are stored (best to choose a directory that
// is not accessible through your web-server)
var $_contentDir "/var/www/letoDMS-2.0.2/data/"

==>

PHP Code:
// path to where mydms is located
var $_rootDir "C:/wamp/www/mydms/";

// The relative path in the URL, after the domain part. Do not include the
// http:// prefix or the web host name. e.g. If the full URL is
// http://www.example.com/mydms/, set $_httpRoot = "/mydms/".
// If the URL is http://www.example.com/, set $_httpRoot = "/".
var $_httpRoot "/mydms/";

// Where the uploaded files are stored (best to choose a directory that
// is not accessible through your web-server)
var $_contentDir "C:/wamp/www/mydms/data/"

doudoux

Thanks, I should have spotted that! Sad
Got the login page OK, but logging in as admin / admin get this error:

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error."

More information about this error may be available in the server error log.


(01-07-2011, 07:44 PM)robshim Wrote:
(01-07-2011, 06:46 PM)Doudoux Wrote: Your folder is mydms and not letodms
Your system is Windows


PHP Code:
// path to where mydms is located
var $_rootDir "/var/www/letoDMS-2.0.2/";

// The relative path in the URL, after the domain part. Do not include the
// http:// prefix or the web host name. e.g. If the full URL is
// http://www.example.com/mydms/, set $_httpRoot = "/mydms/".
// If the URL is http://www.example.com/, set $_httpRoot = "/".
var $_httpRoot "/letoDMS-2.0.2/";

// Where the uploaded files are stored (best to choose a directory that
// is not accessible through your web-server)
var $_contentDir "/var/www/letoDMS-2.0.2/data/"

==>

PHP Code:
// path to where mydms is located
var $_rootDir "C:/wamp/www/mydms/";

// The relative path in the URL, after the domain part. Do not include the
// http:// prefix or the web host name. e.g. If the full URL is
// http://www.example.com/mydms/, set $_httpRoot = "/mydms/".
// If the URL is http://www.example.com/, set $_httpRoot = "/".
var $_httpRoot "/mydms/";

// Where the uploaded files are stored (best to choose a directory that
// is not accessible through your web-server)
var $_contentDir "C:/wamp/www/mydms/data/"

doudoux

Thanks, I should have spotted that! Sad
Got the login page OK, but logging in as admin / admin get this error:

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error."

More information about this error may be available in the server error log.

Sorry forgot to attach error log
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)