Jump to content


- - - - -

How to install IP.Board on your computer


67 replies to this topic

#41 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 11 April 2008 - 12:01 AM

To import the database you have three options. First one is using PMA, which in your case didn't work.
The second one is using "mysql" in command line, this method is the one I prefer. That way you only have to worry about one application, not three (Apache, PHP & MySQL). And it's therefor not much that can go wrong.
The last on is using yet another 3rd party app. This one i called BigDump. Many people have used it, and it worked for them. To me, and my 1.6GB database it didn't. But with only 15MB to handle it should be no problem. Give that a shot before trying to do it in command line, which I soon will explain.

To use bigdump just place the SQL file and bigdump.php in your htdocs folder, and do the needed changes to bigdump.php. Most of the variables are greatly explained, so that shouldn't be any problem. Then run bigdump.php in your web browser, and it should take care of the rest.


Using mysql in command line is a bit more complicated.
To make the process a bit easier, copy your database file to C:\xampp\mysql\bin\.
Type "cmd" in Start->Run (Win+R), then run the following commands
cd c:\xampp\mysql\bin
mysqlimport --user=user_name --password=password database file_to_import.sql

Your database should now be fully imported, if you don't get any errors during the last step.


To rename the database you can do this in PMA. Select the database you wish to rename, then select the "Operations" tab. There should be a field saying "Rename database to:", then just type in the new name. You should do this step before importing the backup, just to save some load.


The reason why your public host just have one single file, and localhost has three, is because the database at your host is running on the InnoDB engine, while localhost is on MyISAM. You have the option to choose between those two when creating a table.


-Martin

#42 Sandi

    Coder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 799 posts
  • Location:Janesville, Wisconsin
  • Real Name:Sandra
  • IPB Version:v3.2.x
Contributor

Posted 11 April 2008 - 12:48 AM

Already tried bigdump and it doesn't work:

Error at the line 10: ) ENGINE=MyISAM AUTO_INCREMENT=171 DEFAULT CHARSET=latin1;

But both databases are "latin1_swedish_ci"

I will give mysql in command line a try. It doesn't look that complicated if I'm careful.

And thanks for the info on renaming the db. I will let you know how the command line import turns out.

Posted Image


#43 Sandi

    Coder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 799 posts
  • Location:Janesville, Wisconsin
  • Real Name:Sandra
  • IPB Version:v3.2.x
Contributor

Posted 11 April 2008 - 01:29 AM

Ok it almost works Martin. At least it appears to be importing the db (see below), but I'll be darned if I can find what it did with it. It doesn't show up in the PMA db list. Because I can't copy from a CMD, below is a snapshot of the import.

Posted Image

BTW I used my PMA user/password, not for the db which I assume was correct.

*So close now I can almost taste victory* Posted Image

Edit to add: I had to remove database (shown in bold) as it thought that was the database name.

mysqlimport --user=Sandi --password=******** database ibf_dbbackup.sql

Edited by Sandi, 11 April 2008 - 01:32 AM.

Posted Image


#44 Sandi

    Coder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 799 posts
  • Location:Janesville, Wisconsin
  • Real Name:Sandra
  • IPB Version:v3.2.x
Contributor

Posted 11 April 2008 - 03:52 AM

Success!

I finally got it done with BigDimp. I found the previous bigdump problem that was causing the language incompatibility. However I had to remove the following comment lines from the end of the db file using Notepad++ (the only thing that I can find that will read db files).

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

It passes DB checks in APC except one. I now have all of my members and mods working on my localhost. The one remaining problem that I am not going to worry about right now is that some of the skins have the wrong ID. I can probably manually edit those later.

Posted Image


#45 KelF

    Advanced Member

  • Members
  • PipPipPipPip
  • 63 posts
  • Location:Italy
  • Real Name:Kel Flamson
  • IPB Version:v3.1.x

Posted 09 July 2009 - 01:52 PM

I have an issue.

I did all of the SQL stuff correct, I type my SQL username, DB username and username password, and this is what I get in return:

Quote

Warning: Access denied for user 'Sky'@'localhost' (using password: YES)

How nice. Can someone help me please?
<<[ System Specifications ]>>
Posted Image
Machine Name: HIDDEN-PC
Processor: AMD Athlon™ 64 Processor 3200+, ~2.3GHz (OverClocked)
Motherboard: MSI K8NGM2
Hard Drive(s): 80GB (Internal) - 500GB (External)
Display: 1280x1024
Memory: 2816MB RAM (2GB)
Video Card: NVIDIA GeForce 9800GT 1GB

Contact Me:
Steam: Cyber_93
Xfire: Deathpro1
MSN/Windows Live Messenger: kel_myster "@" live.co.uk (Without quotes, and all in one, no spaces)

#46 AndyF

    Cogito ergo sum

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 8,290 posts
  • Location:Derby, UK
  • Real Name:Andy
  • IPB Version:v3.2.x
Contributor

Posted 09 July 2009 - 02:09 PM

Your SQL details are wrong (username / password)

Try leaving the password field blank for the moment and try it again.

View my tutorials

Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!



A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6

#47 KelF

    Advanced Member

  • Members
  • PipPipPipPip
  • 63 posts
  • Location:Italy
  • Real Name:Kel Flamson
  • IPB Version:v3.1.x

Posted 09 July 2009 - 02:48 PM

I fixed it myself, thanks for your reply anyway Andy. ;)
<<[ System Specifications ]>>
Posted Image
Machine Name: HIDDEN-PC
Processor: AMD Athlon™ 64 Processor 3200+, ~2.3GHz (OverClocked)
Motherboard: MSI K8NGM2
Hard Drive(s): 80GB (Internal) - 500GB (External)
Display: 1280x1024
Memory: 2816MB RAM (2GB)
Video Card: NVIDIA GeForce 9800GT 1GB

Contact Me:
Steam: Cyber_93
Xfire: Deathpro1
MSN/Windows Live Messenger: kel_myster "@" live.co.uk (Without quotes, and all in one, no spaces)

#48 Charles C

    Skinner

  • IM Supporters
  • PipPipPipPipPipPip
  • 329 posts
  • Location:New Jersey, United States
  • Real Name:Charles
  • IPB Version:v2.3.x

Posted 29 July 2009 - 03:41 AM

I just installed 3.0 via Xampp on OS X, and received this error: "Could not determine your IP address", any help would be greatly appreciated. ;)
Posted Image

#49 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 29 July 2009 - 06:29 AM

From what I've read on the IPS forums during the beta period, OSX use IPv6, and IPB doesn't support that.

Adding the following to conf_global.php should work
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';


#50 Charles C

    Skinner

  • IM Supporters
  • PipPipPipPipPipPip
  • 329 posts
  • Location:New Jersey, United States
  • Real Name:Charles
  • IPB Version:v2.3.x

Posted 29 July 2009 - 02:30 PM

Perfect, thanks. ;)
Posted Image

#51 riven3d

    Needs to get out more

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 3,908 posts
  • Location:Florida
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 01 September 2009 - 10:29 PM

ok that fixed it for 3.0.

but im trying install lower versions on the local host to work with and im getting the same problem, since the forum isnt even installed yet, no conf_global file to work with

Did you find my support helpful? Feel free to donate!
Posted Image


#52 maruf

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 319 posts
  • Real Name:Maruf
  • IPB Version:v2.3.x

Posted 21 October 2009 - 09:19 PM

Ok, I have an issue ;) Since I have Oracle installed on my machine, I changed HTTP port from 80 to 81 and HTTPS from 443 to 4499 and the Apache server started fine but the web browser failed to connect to http://localhost/xampp. It gave me a website not found error message. Then I used a different HTTP port, 2244, but still the web browser cannot connect to http://localhost/xampp. Why is http://localhost/xampp not reachable?

#53 riven3d

    Needs to get out more

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 3,908 posts
  • Location:Florida
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 22 October 2009 - 12:22 AM

do you have a directory in htdocs for xampp?

Did you find my support helpful? Feel free to donate!
Posted Image


#54 maruf

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 319 posts
  • Real Name:Maruf
  • IPB Version:v2.3.x

Posted 22 October 2009 - 01:01 AM

Yes, I do.

#55 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 22 October 2009 - 06:47 AM

If you change the port number, you have to use "localhost:PORT" instead of just "localhost", which will always go to port 80.

#56 maruf

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 319 posts
  • Real Name:Maruf
  • IPB Version:v2.3.x

Posted 22 October 2009 - 01:56 PM

View Postm4rtin, on Oct 22 2009, 02:47 AM, said:

If you change the port number, you have to use "localhost:PORT" instead of just "localhost", which will always go to port 80.
You mean in the browser I have to type, http://localhost:2244/? I did this just now but didn't work.

#57 maruf

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 319 posts
  • Real Name:Maruf
  • IPB Version:v2.3.x

Posted 23 October 2009 - 11:50 PM

Finally! it worked :) I had to clear the browser caches to get it working. Thank you, M4rtin ;)

#58 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 24 October 2009 - 12:06 AM

Glad you got it working ;)

#59 maruf

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 319 posts
  • Real Name:Maruf
  • IPB Version:v2.3.x

Posted 24 October 2009 - 10:58 PM

Now, I am trying to install ipb board on my local and I typed http://localhost:2224/ipb30/ in the browser, but the installer didn't work. It just showed the parent and upload directory. When I added install.php at the end of the above url, it gave me a 'object not found' error (404) message. So, how should I go about installing the forum? Thanks in advance,

#60 Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,036 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 24 October 2009 - 11:49 PM

If you click on the "upload" folder in your browser, I'm pretty sure you'll see the installer.

You want to move the content of "upload", not the folder itself, into "ipb30".





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users