DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • June 26, 2016, 10:45:40 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 2130 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
Please take the time to read the FAQ and browse the DragonPedia

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