FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Install ok, using causes MySql-problem in core.inc
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Install ok, using causes MySql-problem in core.inc [message #33307 is a reply to message #33304] Thu, 24 August 2006 16:58 Go to previous messageGo to previous message
xslam is currently offline  xslam   Sweden
Messages: 2
Registered: August 2006
Karma:
Junior Member
Nothing really changed, unfortunately.

Warning: mysql_connect(): Lost connection to MySQL server during query in /home/www/files/fudforum/3814588639/include/core.inc on line 253

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/www/files/fudforum/3814588639/include/core.inc on line 254

This is the code unchanged:
$db =& $GLOBALS['phpgw']->db;
$server =& $GLOBALS['phpgw_info']['server'];

if (!empty($server['use_adodb']) || empty($db->Link_ID) || !is_resource($db->Link_ID)) {
// open your own connection, as ADOdb does not export the use Link_ID
switch ($server['db_type']) {
case 'mysql':
$func = $server['db_persistent'] ? 'mysql_pconnect' : 'mysql_connect';
define('fud_sql_lnk',$func($db->Host, $db->User, $db->Password));
mysql_select_db($db->Database,fud_sql_lnk);
break;
[Message index]
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Previous Topic: SQL error when logging out
Next Topic: It wont let me install no matter what, HELP!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 19:36:05 GMT 2024

Total time taken to generate the page: 0.03951 seconds