FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
Install ok, using causes MySql-problem in core.inc
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33285&th=6940#msg_33285
installation of Fudforum in eGW version 1.2.104 went well.
On the other hand I can't use it after installation.
The following error message appears.
Warning: mysql_pconnect(): 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
Also, when trying to access the link "about fudforum" another error message appears:
Fatal error: Call to undefined function: fud_use() in /home/intranet/fudforum/inc/class.fud_sidebox_hooks.inc.php on line 18
Suggestions?
Linux 2.6.9-34.ELsmp
PHP Version 4.3.9
Server API Apache 2.0 Handler
Apache Version Apache/2.0.52 (Red Hat)
mysql 4.1.12
]]>xslam2006-08-23T16:36:11-00:00Re: Install ok, using causes MySql-problem in core.inc
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33304&th=6940#msg_33304
Ilia2006-08-24T15:44:22-00:00Re: Install ok, using causes MySql-problem in core.inc
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33307&th=6940#msg_33307
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;
]]>xslam2006-08-24T16:58:25-00:00Re: Install ok, using causes MySql-problem in core.inc
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33318&th=6940#msg_33318
Ilia2006-08-25T15:27:31-00:00