Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (14 April 2014 - 05:28 PM) By The Way, This Could Be An Interesting Subject For A Topic, What About Posting This Question? Let's See If Other People Have The Same Feeling Concerning Bootlists!
@  yordan : (13 April 2014 - 09:36 AM) Boot Order : Cd, [Usb,] Hard Drive :D
@  yordan : (11 April 2014 - 07:23 PM) I Simply Let The Bios Do That
@  Ritesh : (11 April 2014 - 10:23 AM) Is It Possible To Launch Fedora Live Cd Or Installation Disk From Hard Drive On Windows Platform Using Grub Mbr File.
@  Ritesh : (11 April 2014 - 10:21 AM) No U Are Not.. Btw.. I Have Question For You.
@  yordan : (10 April 2014 - 08:02 AM) You Are Partially Right.
I Was Not.
Nevertheless, I Am Again :)
@  Ritesh : (09 April 2014 - 07:33 PM) :P
@  Ritesh : (09 April 2014 - 07:33 PM) I Think U R Not..
@  yordan : (09 April 2014 - 09:28 AM) I'm The Master Of The Shoutbox!
@  yordan : (05 April 2014 - 10:32 PM) He-He
@  Ritesh : (04 April 2014 - 06:59 PM) Ha Ha Ha ....
@  yordan : (04 April 2014 - 11:15 AM) Welcome Back, Starscream!
@  yordan : (03 April 2014 - 02:31 PM) And I Hope That He Will Come Back Soon :)
@  yordan : (01 April 2014 - 02:53 PM) Nice, Ritesh Came, I'm Not Home Alone Today.
@  Ritesh : (01 April 2014 - 08:51 AM) Oh!!! Poor Dear Yordan..
@  yordan : (31 March 2014 - 10:02 AM) I'm A Poor Lonesome Cow-Boy
@  yordan : (27 March 2014 - 02:22 PM) He Is Unpatient Due To His Patients!
@  Ritesh : (27 March 2014 - 10:46 AM) :(
@  Ritesh : (27 March 2014 - 10:46 AM) He Is Busy With His Patients.
@  yordan : (26 March 2014 - 08:12 PM) Ahsani, Where Are You?

Photo
- - - - -

Issues To Get IPB Running On Home System to learn how to skin IPB


No replies to this topic

#1 moonwitch

moonwitch

    Demonic Enforcer

  • [HOSTED]
  • 598 posts
  • Gender:Female
  • Location:Belgium
  • Interests:I used to have too many to list here, now I can honestly say one of my interests is finding those annoying spammers on the forums and hunting them down. Ok, I also enjoy skinning IPB and just general webdesign. You may seduce me with some XUL or XML as well :)

Posted 04 May 2005 - 08:17 PM

Well, I am running Win 2k Pro, on a PII 333MHz, server software is Apache2 running on port 5000. Php is PHP 5 and MySQL is a clean/fresh install of MySQL 4.1.

I unzipped IPB, followed the instructions that came with it, when I get to the point where I have to enter the data to connect to the DB (DB is made with user and all that - thank you m^3) this is the error I get

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query in C:\Program Files\Apache Group\Apache2\htdocs\forum\ips_kernel\class_db_mysql.php on line 120

Fatal error: Maximum execution time of 30 seconds exceeded in C:\Program Files\Apache Group\Apache2\htdocs\forum\ips_kernel\class_db_mysql.php on line 117

Any ideas??

EDIT -> found solution

Ok so this was the original code in class_db_mysql.php

   	if ($this->obj['persistant'])
    	{
         $this->connection_id = mysql_pconnect( $this->obj['sql_host'] ,
               $this->obj['sql_user'] ,
               $this->obj['sql_pass'] 
            );
        }
        else
        {
  	$this->connection_id = mysql_connect( $this->obj['sql_host'] ,
              $this->obj['sql_user'] ,
              $this->obj['sql_pass'] 
            );
  }
  
  if ( ! $this->connection_id )
  {
  	$this->fatal_error();
  	return FALSE;
  }
  
        if ( ! mysql_select_db($this->obj['sql_database'], $this->connection_id) )
        {
        	$this->fatal_error();
        	return FALSE;
        }
        
        return TRUE;
    }

The piece that gave me the error was
if ($this->obj['persistant'])

I solved it by changing the 'persistant' to 'default'!! And it works :(



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users