PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
manoe
Client


Joined: Aug 14, 2005
Posts: 151

PostPosted: Sat Apr 19, 2008 12:51 am Reply with quote Back to top

I was supplied a link from Raven for the steps to do this but I have a few things that I need to clarify first.
Only registered users can see links on this board!
Get registered or login to the forums!


3.7.1.1 question - Had both config.php files opened and I copied the sql database info for the current main site into the config.php of the new subDomain RN install. I assume (based of the link above) that this is correct. The only edit I made to the sql info was adding the 1 and 2 for the first and second website.

Is this correct? I have not done anything to the existing nuke.sql yet because I want to know the exact process before I commit to possibly trashing my database Smile

Do I edit these config.php files THEN the nuke.sql THEN install the RavenNuke package for the second site? Its all on my FTP, I just need to go thru the install process BUT this is where I had questions. I shouldnt have to do the usual sql install stuff because I am using the existing database correct? The config.php should already have the needed info in it for the site to work?
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Sat Apr 19, 2008 3:42 am Reply with quote Back to top

OK, just to clarify can you confirm exactly what you are doing?

1. Are you trying to install two sites in the same database, but with separate data?

2. Installing two sites with separate content, but sharing the users?

3. Installing two sites with the same data and users?

From your title it sounds like you want to do option 3, but 3.7.1.1 refers to option 1.
View user's profile Send private message
manoe
Client


Joined: Aug 14, 2005
Posts: 151

PostPosted: Sat Apr 19, 2008 7:59 am Reply with quote Back to top

2 sites, seperate content but sharing users.

awolgamers.com site1

aoc/awolgamers.com site2

For some reason I thought that you had to do both??
View user's profile Send private message
manoe
Client


Joined: Aug 14, 2005
Posts: 151

PostPosted: Sat Apr 19, 2008 5:01 pm Reply with quote Back to top

ok I am in the land of the unknown. I went into my assault_nuke database in phpMyAdmin and I have not a clue as to what I am looking at. I am directed to edit nuke.sql files so that my 2 sites will share users.

I am really lost. I have the config.php files ready I believe. That part seemed easy but I still have not uploaded them to the server. A point of serious confusion for me is the fact that it says that "the full name of the users table should thus be "nuke-common_users" in both nuke.sql files. Then proceed with the installation as described".

Now, it talks about setting up the user tables in both sites ... Only 1 site is installed. The new one just has the RavenNuke install files in its root folder. So I am of course getting really confused. Any of Ravens forum admins here willing to set this up for me? We would be willing to pay.
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sat Apr 19, 2008 6:57 pm Reply with quote Back to top

You will need to run the install to set up two sets of tables (with different prefixes).

Then you will need to set the user_prefix values the same, to point to one of the users tables (either one will do).
View user's profile Send private message Visit poster's website
manoe
Client


Joined: Aug 14, 2005
Posts: 151

PostPosted: Sat Apr 19, 2008 7:47 pm Reply with quote Back to top

but I am sharing the database and users. The second install has to have its own tables? argh. lol

so..

before I do ANYTHING I edit the config.php to share the database then I install the sub site. AFTER that I go about editing the sql stuff?

heh Raven is to busy to do this for a fee so I need to be pointed to someone that does this stuff for kaching!. I am 100% still lost.. probably worse than 2 hours ago.
View user's profile Send private message
manoe
Client


Joined: Aug 14, 2005
Posts: 151

PostPosted: Sat Apr 19, 2008 10:36 pm Reply with quote Back to top

well I have an existing website already so I will not be installing 2 sets of tables. I am going to use that sites users for the new sub site for my main. So I dont see how you telling me to install 2 sets of tables makes this less confusing for me Smile I would only need to install the NEW nuke site and its tables? The go back and edit them so that they use the same stuff? Or do I simply enter the info from the current website into the config.php for the NEW website then run the installer? Anyone?
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Apr 20, 2008 3:19 am Reply with quote Back to top

You need two sets of tables, otherwise both your sites will be serving up exactly the same content. Load the tables first before doing any changes to config.php

You can enter the same information from config.php, but the prefix value must be different.
View user's profile Send private message Visit poster's website
manoe
Client


Joined: Aug 14, 2005
Posts: 151

PostPosted: Sun Apr 20, 2008 11:18 am Reply with quote Back to top

That makes sense now. Thanks for the clarification!
View user's profile Send private message
sting
Involved
Involved


Joined: Sep 23, 2003
Posts: 460
Location: Somewhere out there...

PostPosted: Wed Apr 23, 2008 9:00 am Reply with quote Back to top

Out of cursiosity - has anyone messed with replication in MySql that can speak intelligently on the subject? (Does MySql even provide the option for replication?)
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Wed Apr 23, 2008 11:05 am Reply with quote Back to top

May want to try the mysql forum for that one to keep this one on topic? Smile
View user's profile Send private message Send e-mail Visit poster's website
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Apr 23, 2008 8:39 pm Reply with quote Back to top

Mysql does provide replication, but I haven't tried it myself
View user's profile Send private message Visit poster's website
sting
Involved
Involved


Joined: Sep 23, 2003
Posts: 460
Location: Somewhere out there...

PostPosted: Thu Apr 24, 2008 1:17 pm Reply with quote Back to top

Guardian2003 wrote:
May want to try the mysql forum for that one to keep this one on topic? Smile


Hey, it's close enough! Laughing If MySql would do the replication, you could ~conceivably~ set up one databases' user table to replicate to the other. . . of course the timing of replication would be an issue, but it could work.

You would certainly answer the question "who's the biggest massochist" in the forums.

-sting
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Fri Apr 25, 2008 11:52 am Reply with quote Back to top

Not sure if you can do table-wise replication. It might be at a higher level than that. However, within the same database, one can certainly drop and recreate a new table based upon another one... Wink
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum