[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
phpbbace support • View topic - Creating a Test Forum along with "Live Forum".

Creating a Test Forum along with "Live Forum".

Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Sat Dec 14, 2013 7:03 am

phpBB Version; 2.0.? or 3.0.? :
phpBB Type: Standard
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink:

PHP Version: 5.4.22
MySQL Version: 5.5.33

What changes, if any, did you make just before the problem started?
Board works well, though I need to get a "live test board" installed without disturbing the live-board and its database.

What have you already tried to solve the problem?
1. Downloaded the phpBB 3.0.12.
2. Loaded it to root directory of my site and can see the "installation page" now.


Description and Message
I'm trying to get a "live test board" installed without disturbing the live-board and its database. And I think I'd need a bit more help in creating database and setting up path so that in the process, I don't disturb the board.

Regards,
zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Sat Dec 14, 2013 11:16 am

HI,

who is your host?
what is the name of the folder for the test board?

what problems are you having creating your database?

thanks,
robert
*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Sat Dec 14, 2013 2:12 pm

Host Gator is the host.

Folder name is "Test Board".

I'm using phpMyAdmin and have these two questions:

1. I'm not sure how to proceed with creating database with.
2. In the process, I don't want to disturb the the existing db/tables - and I'm not sure how can I avoid that and so seeking guidance.
zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Sat Dec 14, 2013 2:28 pm

ok, you shouldn't be using phpmyadmin for any of this.

hostgator has a version of cpanel for their hosting control panel.

http://www.hostgator.com/tutorials/cpan ... cpanel.htm

http://www.hostgator.com/tutorials/cpan ... tabase.htm

if you follow these two tutorials you will then have a new database for your new board.

first thing you need to do is to rename your new folder.
change the folder name to testboard
you should never use caps in a file/folder name. the only thing that understands that is windows and your server is not windows.

also, you should never use spaces in a file/folder name for the same reasons.

the best thing is always lowercase and no spaces etc.

also, your current Test Board folder does not have proper permissions set. using your ftp, right click on the folder and change the chmod/permissions to 755 from whatever you have it set to .


Now, in your browser, go to your new testboard folder and add install to the url

yourdomain.com/testboard/install

follow the steps,
put the new database name, username and password in the boxes

keep clicking buttons until you are done.

you now have a brand new phpbb board that is not connected in any way to your existing live board and you can play with it to your hearts content.

once you have this up and working let me know and I will tell you how to backup your live board database and import it to your new testboard so you will see the same things on it as you have on your live board.


robert
*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Sat Dec 14, 2013 5:16 pm

Yo! Yo!

I got it going!

The testboard is up and running: http://ibm-mainframes.com/testboard/phpBB3/index.php

Now how to to replicate the "live board"?

Thanks again :)
zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Sat Dec 14, 2013 11:17 pm

great work!

ok, now we use the phpmyadmin you were trying to use before.

this is how you get your backup database:


1. using your ftp, look in the config.php file for your live board ( not the new one )
in there you will see the database name being used by that board.

2. copy and paste it into a text file or just save a copy of the config.php file to your computer.

3. go to phpmyadmin, look in the database list on the left side. find the one with the name that is in the config.php file you were looking at in number 1. above.

4 click on the name on the left side then you should see all the tables for it listed on the right side.
5. one of the tabs at the top of the screen will say export, click on that.

6. you should see a choice of "display all options" click on it.
make sure all the tables are selected
make sure "save output to a file" is checked
make sure "structure and data" is checked
make sure 'Add CREATE DATABASE" is NOT checked
make sure "Add CREATE PROCEDURE" is checked
make sure "CREATE TABLE and IF NOT EXISTS" are both checked
make sure "include column names in every INSERT statement " is checked
make sure "Dump binary columns in hexadecimal notation" is not checked
leave all others as they are.

click the "go" button
you will either get a box asking you where you want to download it to or your browser will automatically download it to whever it normally downloads files.

make sure you can find that file.


now, this is how you use that backup sql file to import into your new testboard:

1. back to phpmyadmin
2. on the left side, find the database that you created for your testboard. click on it
3. on the right side you should see all the tables for that database. ( they will most likely have the same prefix
as the ones for the live board does ( phpbb_) that is fine.
4. now, the tabs at the top, you will see one named "import" click on it.
5. you will see a "browse" button and beside it you should see a statement telling you what the maximum file size you can upload is.
as long as the maximum is larger than the file size of the sql file that you downloaded earlier, you are fine.
6. click the browse button and find the sql backup file you downloaded earlier.
7. click the go button
wait

done.

Now, if your backup file is too big for the import function let me know and I will show you a different way to get around it.


ropbert
*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Sun Dec 15, 2013 7:44 am

Attachments
Difference in options phpMyAdmin.jpg
(159.96 KiB) Downloaded 5 times
zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Sun Dec 15, 2013 11:24 am

yes, different versions have different options and/or they are in different places.

the only thing I see wrong with the image you posted here is that you do not have the
"include column names in every INSERT statement " checked.

however, that is not necessary unless you are having to use bigdump to restore with or unless you are deleting the old database for the new.

since yours worked that is fine.

however, when you get ready to make a new backup for whatever reason it would be good to get in the habit of doing that just in case.

what did you decide on the folder name for your board? it is not Test Board, it is no test board, it is not testboard or TestBoard?


robert
*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Sun Dec 15, 2013 12:26 pm

zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Sun Dec 15, 2013 1:29 pm

*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Mon Dec 16, 2013 12:18 am

Attachments
Permissions - Folder testboard.jpg
Permissions - Folder phpBB3.jpg
zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Mon Dec 16, 2013 12:24 pm

ok, I see the problem now. I didn't expect you to put the phpBB3 folder inside the testboard folder so i was trying to access the testboard folder without going to the phpBB3 folder.

as for the step in that article. that is exactly what I described in my post above.

if you follow the instructions in my post above, exactly and in order, then you will have the new board with all the posts, members, etc. from the original board.

robert
*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Mon Dec 16, 2013 12:54 pm

zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Mon Dec 16, 2013 1:11 pm

ok, all of the forums, topics, posts etc are in the database. the only thing the files are for is the visual layout colors, etc.

I see you have made some changes to the prosilver style. you have a welcome box and an extra menu.

to add that to your test board;


1. use your ftp , download the prosilver folder from your live board to your computer.

2. now, upload that prosilver folder to your new test board styles folder. let it overwrite the one that is there.

done.


robert
*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Mon Dec 16, 2013 2:28 pm

zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Mon Dec 16, 2013 2:36 pm

zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Mon Dec 16, 2013 2:47 pm

ah, well this is a different matter.

here is how to fix it:

1.on your computer, create a new blank folder name it board
2. using your ftp, download all of the phpbb files and folders from your main site root to that folder on your
computer named board.
3. do NOT download any of the site/server files/folders like the cgi_bin folder or other ones that are not part of phpbb
and do NOT download the folder named testboard.

4. now, in your ftp, open the new phpbb folder ( should be just testboard if you already moved all of the files/folders out of phpBB3 and put them in testboard).

5. upload all of the old phpbb files/folders from the folder on your computer named "board" to the folder named "testboard on the server.

do NOT upload the folder named "board", just all the files/folders that you put in it in step #2 above.

when you are done, you should now have , in the folder named "testboard" a copy of all the original files/folders from your original live board.

since you already imported the database backup ( I assume you did this already ) you will now have an exact copy of your original live board at the moment you made the database backup.


sorry for the confusion. I did not know you had all those MODs added or I would have explained this in the beginning.

luck,
robert
*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Wed Dec 18, 2013 2:03 pm

zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Wed Dec 18, 2013 11:21 pm

*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Wed Dec 18, 2013 11:39 pm

Attachments
phpbbace Reply Button on Chrome.png
zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Thu Dec 19, 2013 10:34 am

Last edited by zOSHelpForums on Thu Dec 19, 2013 12:16 pm, edited 1 time in total.
zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Thu Dec 19, 2013 10:50 am

check the config.php file for your testboard and for your main board. make sure that the testboard is using the correct database. the one you created for it.

oh crap, I just thought about this. when I told you to copy the main board files and overwrite the testboard files with them, I don't know if I told you to NOT copy the main board's config.php file and overwrite the test board config.php file with it. I bet that is why you are seeing these problems. If so, then your testboard is using the same database as your main board.

If this is the case, then the way to fix it is to edit the testboard config.php file to be using the correct database with the correct username/password and table prefix.

that would be the testbrd_ prefix.


and to answer your question about changing the prefix. yes, it would be possible but very involved and not really of any benefit to you.

as long as you know what the prefix is, it doesn't matter what it is. it could be booboo_ or oops_ or anything at all.
the only time you will ever see it is when you are doing maintenance etc.

robert
*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Thu Dec 19, 2013 12:56 pm

zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby zOSHelpForums » Thu Dec 19, 2013 1:01 pm

1. And phpBB still shows up on live board. Can you please guide why would that happen.
2. Now, I'm getting logged off from live-board every now and then though under "Who is Online" I'm still shown as logged in under "Registered users:" - what could cause that? And it usually happens when I'm logged in on both boards from same browser...
zOSHelpForums
 
Posts: 27
Joined: Tue Dec 10, 2013 12:24 pm
are you here: yes

Re: Creating a Test Forum along with "Live Forum".

Postby lumpy » Thu Dec 19, 2013 2:23 pm

*********************************************************************************************
If you are happy with my services, please consider a donation by clicking on the donation button below so I can continue to provide help.
Thank you
lumpy
Site Admin
 
Posts: 90
Joined: Sun Jul 11, 2010 9:16 pm
are you here: yes

Next

Return to Basic Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron