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, 70 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Running 2 php-nuke sites on 1 mySQL database [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
--Nemesis--
Corporal
Corporal


Joined: Jun 17, 2005
Posts: 63


PostPosted: Sat Jun 18, 2005 11:12 pm Reply with quoteBack to top

I have 3 domain names.... on my main one i have a phpnuke website... unfortunately with my host I only have 1 mySQL database.... the default sql settings for phphnuke is... nuke_ which goes to database. if i were to mod the nuke_sgl file and point it to something else... would the php nuke site on the new domain still be able to work?

main question... can i have two php-nuke sites running on one SQL database?
and if so.. what is required to do so.. thanks
Find all posts by --Nemesis--View user's profileSend private messageSend e-mailAIM Address
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1921

Location: Behind you

PostPosted: Sat Jun 18, 2005 11:56 pm Reply with quoteBack to top

With one DB, multiple phpnukes work very well ONLY IF YOU ARE USING DIFFERENT PREFIX. This means that your DB field will have different names. Good Luck.

_________________
NukeKorea Dev. Network.
NukeKorea Laboratories
Find all posts by XyberianView user's profileSend private messageVisit poster's website
--Nemesis--
Corporal
Corporal


Joined: Jun 17, 2005
Posts: 63


PostPosted: Sun Jun 19, 2005 1:10 am Reply with quoteBack to top

how do i use diff prefix? i am sure u gotta go in the nuke.sql file and change every location of nuke_ to whatever.... say... solo_ but what else do i need to change other than the nuke.sql file?

_________________
Image
Find all posts by --Nemesis--View user's profileSend private messageSend e-mailAIM Address
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Sun Jun 19, 2005 4:41 pm Reply with quoteBack to top

$prefix values in your config.php

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
--Nemesis--
Corporal
Corporal


Joined: Jun 17, 2005
Posts: 63


PostPosted: Sun Jun 19, 2005 4:50 pm Reply with quoteBack to top

okay so if i change the prefix value in the config.php.... i must also manually change all the stuff in the nuke.sql file before i upload it to mySQL correct? so they will be installed as solo_ instead of nuke_ in my database..

_________________
Image
Find all posts by --Nemesis--View user's profileSend private messageSend e-mailAIM Address
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Sun Jun 19, 2005 4:52 pm Reply with quoteBack to top

Exactly

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
--Nemesis--
Corporal
Corporal


Joined: Jun 17, 2005
Posts: 63


PostPosted: Sun Jun 19, 2005 7:12 pm Reply with quoteBack to top

okay got all the done with the renaming... uploaded nuke to new site... but comin across a prob right now.... i went to admin.php... made GOD username and copied it as reg user... went to preferences.. and all the fields were blank.... tried to add stuff to it... and hit save but doesnt save... what is causing this? thanks

_________________
Image
Find all posts by --Nemesis--View user's profileSend private messageSend e-mailAIM Address
--Nemesis--
Corporal
Corporal


Joined: Jun 17, 2005
Posts: 63


PostPosted: Sun Jun 19, 2005 8:22 pm Reply with quoteBack to top

okay here is what i put on the .sql file...

Code:
$dbhost = "db205.perfora.net";
$dbuname = "MYUSERNAME";
$dbpass = "MYPASSWORD";
$dbname = "MYDATABASENAME";
$prefix = "tater";
$user_prefix = "tater";
$dbtype = "MySQL";
$sitekey = "MYSITEKEY";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";


ALL THE CRUCIAL stuff I put in caps to protect my sensitive info..

did i just need to change $prefix and leave$user_prefix ="nuke"?? Or did i do it correctly? everything else on the site is saving... besides the preferences in admin.....

my host is linux.. so what files do i need to CHMod to allow admin pref to write.. everything works well on my other site... didnt have this prob before... thanks..

_________________
Image
Find all posts by --Nemesis--View user's profileSend private messageSend e-mailAIM Address
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Mon Jun 20, 2005 7:28 am Reply with quoteBack to top

It should be correct. I'm not sure why you cannot get to preferences. Try and make sure you have the table tater_config and it has data in it

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
--Nemesis--
Corporal
Corporal


Joined: Jun 17, 2005
Posts: 63


PostPosted: Mon Jun 20, 2005 7:34 am Reply with quoteBack to top

yes.. tater_config is in my database... i can get into admin preferences... its just blank... and doesnt save data when i click submit..

_________________
Image

Last edited by --Nemesis-- on Mon Jun 20, 2005 11:54 pm; edited 1 time in total
Find all posts by --Nemesis--View user's profileSend private messageSend e-mailAIM Address
--Nemesis--
Corporal
Corporal


Joined: Jun 17, 2005
Posts: 63


PostPosted: Mon Jun 20, 2005 11:49 pm Reply with quoteBack to top

Any other suggestions?? kinda really bugging me that its not saving stuff... cant very well go on with the site if i cant save the basic settings =/

_________________
Image
Find all posts by --Nemesis--View user's profileSend private messageSend e-mailAIM Address
--Nemesis--
Corporal
Corporal


Joined: Jun 17, 2005
Posts: 63


PostPosted: Wed Jun 22, 2005 3:53 am Reply with quoteBack to top

? Sad

_________________
Image
Find all posts by --Nemesis--View user's profileSend private messageSend e-mailAIM Address
stinky
Private
Private


Joined: Apr 22, 2005
Posts: 42


PostPosted: Wed Jun 22, 2005 4:53 am Reply with quoteBack to top

i had a similar problem once because I had the wrond DB type entered:
$dbtype = "MySQL"; vs $dbtype = "MySQL4"; etc.
may not be your problem, but maybe...
Find all posts by stinkyView user's profileSend private message
--Nemesis--
Corporal
Corporal


Joined: Jun 17, 2005
Posts: 63


PostPosted: Wed Jun 22, 2005 5:23 am Reply with quoteBack to top

ugh... cmon anyone have a clue?? everything else on this site saves.... (forums, news, journals, users, etc) only thing that WILL not save is Preferences in the ADMIN section..... what can i do to fix this??? thanks..

_________________
Image
Find all posts by --Nemesis--View user's profileSend private messageSend e-mailAIM Address
--Nemesis--
Corporal
Corporal


Joined: Jun 17, 2005
Posts: 63


PostPosted: Wed Jun 22, 2005 7:28 am Reply with quoteBack to top

okay.. since phpnuke 7.7 just got released for free... i downloaded that.. and replaced this whole site... with this update... and it still isnt having anything in the preferences section in admin... and still not saving... so its telling me that its gotta be something with the database...or a broken link in the php thats not having the info in it... but i think its a database problem.. so how can i fix this database for preferences in MYSQL.... can i manually add stuff in database for preferences? if so how? thanks..

_________________
Image
Find all posts by --Nemesis--View user's profileSend private messageSend e-mailAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



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.244 Seconds - 203 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::