Results 1 to 6 of 6

Thread: Warning: mysql_pconnect()

  1. #1
    Join Date
    Jul 2002
    Posts
    2

    Default Warning: mysql_pconnect()

    Warning: mysql_pconnect() has been disabled for security reasons. in /home/virtual/site29/fst/var/www/html/home/lib/adodb/adodb-mysql.inc.php on line 85

    Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site29/fst/var/www/html/home/lib/adodb/adodb-mysql.inc.php:85) in /home/virtual/site29/fst/var/www/html/home/admin/index.php on line 18



    What does that mean?

  2. #2
    Join Date
    Jul 2002
    Posts
    2

    Default

    help me please....

  3. #3
    Join Date
    Aug 2001
    Location
    Toronto, Ontario
    Posts
    678

    Default

    Not sure what the problem is. I suggest you do a fresh install or purchase an indexu installation kit.

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Your hosting provider do not allow you to use persistent connection. You should edit
    - /lib/category.class.php
    - /lib/link.class.php
    - /lib/users.class.php
    - /lib/mailing_list.class.php

    Search function InitDB($server,$host,$username,$pwd,$db) {

    edit
    PHP Code:
    $this->db_connect->PConnect($this->db_hostname,$this->db_username,$this->db_password,$this->db_name); 
    to
    $this->db_connect->Connect($this->db_hostname,$this->db_username,$this->db_password,$this->db_name);
    [/PHP]

  5. #5
    Join Date
    Jan 2003
    Posts
    14

    Default I'm also getting the same problem

    I fixed those 4 files, one of the 2 error messages was fixed but im still getting this one:

    Warning: mysql_pconnect() has been disabled for security reasons in /usr/local/psa/home/vhosts/anime-links.com/httpdocs/lib/adodb/adodb-mysql.inc.php on line 85

    Any help on how to fix this will be appreciated.

    Thanks!
    Reiangel

  6. #6
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    211

    Default

    Try to edit lib/adodb/adodb-mysql.inc.php on line 85. Change "mysql_pconnect" with "mysql_connect".

    Sofiah

Similar Threads

  1. Problem With Install.php
    By hysteriaweb in forum v5.x
    Replies: 32
    Last Post: 09-21-2005, 02:28 AM
  2. Seeking all the kickbutt programmers to
    By solmio in forum v5.x
    Replies: 5
    Last Post: 03-04-2004, 03:28 PM
  3. Moved indexU to a new server
    By SinisterX3 in forum v5.x
    Replies: 2
    Last Post: 02-01-2004, 08:41 AM
  4. local install on linux mdk 9.1
    By deathcore in forum v5.x
    Replies: 3
    Last Post: 09-04-2003, 05:04 PM
  5. Replies: 1
    Last Post: 08-10-2003, 07:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •