DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • October 20, 2017, 10:59:57 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: lotgd  (Read 2364 times)
0 Members and 1 Guest are viewing this topic.
Smith
Guest
« on: July 04, 2004, 06:29:05 PM »

ok i just upload a new lotgd site and now its giving me errors on it



Warning: mysql_pconnect() has been disabled for security reasons in /srv/www/htdocs/web91/html/dbwrapper.php on line 82

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /srv/www/htdocs/web91/html/dbwrapper.php on line 54


what is wrong b/c i have everything set up right
Logged
dvd871
Guest
« Reply #1 on: July 04, 2004, 08:29:52 PM »

Try this:
Code:
Open common.php

Find:
$link = db_pconnect($DB_HOST, $DB_USER, $DB_PASS) or die (db_error($link));

Change to:
$link = db_connect($DB_HOST, $DB_USER, $DB_PASS) or die (db_error($link));

Open dbwrapper.php:

Find:
function db_pconnect($host,$user,$pass){
$fname = DBTYPE."_pconnect";
$r = $fname($host,$user,$pass);
return $r;
}

Change to:
function db_connect($host,$user,$pass){
$fname = DBTYPE."_connect";
$r = $fname($host,$user,$pass);
return $r;
}
See if that helps.

Logged
Smith
Guest
« Reply #2 on: July 05, 2004, 06:11:04 AM »

ok nm thanks i works now....
« Last Edit: July 05, 2004, 06:15:50 AM by Smith » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
18 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search