MyBB Community Forums
Making a test system before ftp'ing edits? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Making a test system before ftp'ing edits? (/thread-141710.html)



Making a test system before ftp'ing edits? - MikeInToshx - 2013-06-28

Hey guys,

How do I create a test system on my local machine, as my website/forum is right now?

do I need to copy the databases ect? I don't know how to start.

Thanks.


RE: Making a test system before ftp'ing edits? - .m. - 2013-06-28

if you are using windows environment then using XAMPP server would be easy.
install it, take backups of MyBB files and database and use them with XAMPP server


RE: Making a test system before ftp'ing edits? - MikeInToshx - 2013-07-01

I've been installing XAMPP, but I have no idea where to import my database in?
although I imported it in a lot of places ( lol ), still can't connect.


RE: Making a test system before ftp'ing edits? - .m. - 2013-07-01

^ run XAMPP server. start Apache , MySQL
visit localhost/phpmyadmin , click on databases tab and create a new database
click on that database at left side column, click on import tab (at right side) and import your MyBB database backup
copy MyBB forum files to xampp/htdocs/mybb
modify mybb/inc/config.php with localhost database details
& modify mybb/inc/settings.php with localhost forum url, cookie settings

you can visit your local mybb forum at localhost/mybb


RE: Making a test system before ftp'ing edits? - MikeInToshx - 2013-07-01

Thanks it worked Big Grin


RE: Making a test system before ftp'ing edits? - MikeInToshx - 2013-09-15

hmm.. replaced my files , edited my database info again etc,.. but I cant seem to get past the login? Im using the correct password, because its not giving me an error. And if I do give a wrong password, it doesnt.


RE: Making a test system before ftp'ing edits? - Cameron:D - 2013-09-17

You'll need to change some settings.

Open inc/settings.php and find the settings related to your domain and change them to refer to localhost, then log in to the admin panel, go straight to the settings and update them all there too, so they are saved in the database (and settings file properly rebuilt).

The ones that need changing are:

$settings['bburl'] = "//localhost";
$settings['cookiedomain'] = ".localhost";
$settings['cookiepath'] = "/";



RE: Making a test system before ftp'ing edits? - MikeInToshx - 2013-09-20

Yes, I had these correct