Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lost in an Install Loop
#5
Ran check.php and all is well Smile

Figured I may have a database miss-connection and ran this
Code:
<?php
include('adodb/adodb.inc.php');

$db = ADONewConnection($driver); # eg. 'mysql' or 'oci8'
$db->debug = true;
$db->Connect($server, $user, $password, $database);
$rs = $db->Execute('select * from some_small_table');
print "<pre>";
print_r($rs->GetRows());
print "</pre>";
?>
All is well. Smile

Went through all the config files and put full path to everything I could find.

Quote:Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /path/domain/html/folder/adodb/drivers/adodb-mysql.inc.php on line 365

Warning: join() [function.join]: Invalid arguments passed in /path/domain/html/folder/Core/inc.ClassDMS.php on line 223

Warning: include(languages/English/lang.inc) [function.include]: failed to open stream: No such file or directory in /path/domain/html/folder/inc/inc.Language.php on line 41

Warning: include() [function.include]: Failed opening 'languages/English/lang.inc' for inclusion (include_path='/home/24728/data/pear/php') in /path/domain/html/folder/inc/inc.Language.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /path/domain/html/folder/adodb/drivers/adodb-mysql.inc.php:365) in /path/domain/html/folder/inc/inc.Authentication.php on line 20

Any thoughts?
Huh
Reply


Messages In This Thread
Lost in an Install Loop - by yerg - 03-18-2012, 11:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)