You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 79 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Two nukes, same nuke_users [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Hunter
Guest






PostPosted: Tue Apr 29, 2003 7:56 pm Reply with quoteBack to top

I currently run a php-nuke site (eg: www.mysite.com).

What I want to do is create a second php-nuke at subdomain.mysite.com yet use the same nuke_users that are currently at www.mysite.com.

Do both config.php pages look similar and do I use the same database or two seperate ones?

I need a "Idiot's Guide to running two nukes on one server" Rolling Eyes
Find all posts by Anonymous
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Tue Apr 29, 2003 7:58 pm Reply with quoteBack to top

On the second site's config.php change everything except $user_prefix, this one should be the same as in the first site's config.php

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Hunter
Guest






PostPosted: Tue Apr 29, 2003 8:03 pm Reply with quoteBack to top

Same database? Or do I need to use another one?
Find all posts by Anonymous
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Tue Apr 29, 2003 8:08 pm Reply with quoteBack to top

In this case it needs to be the same database, you will need to create the second site's database tables using a different prefix than the one used by the 1st site, no need to create the second site's users and users_temp tables as it will use those of the existing site.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Hunter
Guest






PostPosted: Tue Apr 29, 2003 10:03 pm Reply with quoteBack to top

Ok. At subdomain.mysite.com, I get the following errors:

Warning: open_basedir restriction in effect. File is in wrong directory in /home/virtual/site24/fst/home/manor/public_html/header.php on line 31

Warning: open_basedir restriction in effect. File is in wrong directory in /home/virtual/site24/fst/home/manor/public_html/header.php on line 31

Warning: Failed opening 'themes//theme.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site24/fst/home/manor/public_html/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/virtual/site24/fst/home/manor/public_html/header.php on line 47
Find all posts by Anonymous
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Tue Apr 29, 2003 10:19 pm Reply with quoteBack to top

Download analyzer and place it in the subdomain dir.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
kspatriot
Nuke Cadet
Nuke Cadet


Joined: Apr 12, 2003
Posts: 6


PostPosted: Wed Apr 30, 2003 8:06 am Reply with quoteBack to top

ok Chatserv,
this is what I was thinking of doing, except, in my case, I am currently running phpnuke in my subdomain
http://patriot.history1700s.com
and I was thinking of making one other subdomain, and installing phpnuke on the new domain, and possibly install the Nuke on the main domain also, which is http://www.history1700s.com

SO in order to have this running correctly and allowing the same user to sign up once for all three domains, without having to sign up for each, I would just change the Config.php settings like:

$dbasename ="mydbase"<--- Keep it as is
$prefix = "nuke";<---- this one to another name
$user_prefix = "nuke"; <-- and leave this the same?

and not to creat another dbase for the new sites, but use the current dbase that I am using?

Or do I have to create a new dbase for the two additional sites without, the user tables?

so in effect, I would not have to create a new dbase at all but use the same dbase, with different prefixes.

Am I reading and understanding your instructions correctly?

Thanks
kspatriot
editor@history1700s.com
Find all posts by kspatriotView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Wed Apr 30, 2003 8:37 am Reply with quoteBack to top

kspatriot wrote:
Or do I have to create a new dbase for the two additional sites without, the user tables?

so in effect, I would not have to create a new dbase at all but use the same dbase, with different prefixes.

Am I reading and understanding your instructions correctly?
Exactly, one database can hold the tables for multiple sites as long as each site's tables start with a different prefix:

example:
nuke_authors
nuke1_authors
nuke2_authors

etc...

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
kspatriot
Nuke Cadet
Nuke Cadet


Joined: Apr 12, 2003
Posts: 6


PostPosted: Wed Apr 30, 2003 12:19 pm Reply with quoteBack to top

ok so basically I do this:

Create another subdomain
upload the phpnuke files with the changed configuration
then go to the subdomain and set up the site as I see fit.

the new tables for my subdomain will be added to the current dbase?
or do I need to add these things?

Also, since this is phpnuke version 6.5 do I need to upload all the files or do I leave out the dbase folder, so that I won't mess up the data that is currently in the dbase?

thanks
kspatriot
Find all posts by kspatriotView user's profileSend private messageVisit poster's website
Hunter
Guest






PostPosted: Wed Apr 30, 2003 6:12 pm Reply with quoteBack to top

Chatserve:

I got the analyze.php to work okay. What am I looking for?
Find all posts by Anonymous
Hunter
Guest






PostPosted: Wed Apr 30, 2003 8:15 pm Reply with quoteBack to top

Nevermind Wink

I used the nukeSQL located on nukecops. It's up and running on my subdomain now.

Thanks again Chatserv.... going to register for sure here! Very Happy
Find all posts by Anonymous
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.200 Seconds - 219 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::