DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • August 29, 2016, 06:10:30 PM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1]   Go Down
  Print  
Author Topic: lotgd  (Read 2175 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
Welcome to DragonPrime - The LoGD Resource Community!

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