| Author |
Message |
--Nemesis--
Corporal


Joined: Jun 17, 2005
Posts: 63
|
Posted:
Sat Jun 18, 2005 11:12 pm |
  |
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 |
|
|
     |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Sat Jun 18, 2005 11:56 pm |
  |
|
    |
 |
--Nemesis--
Corporal


Joined: Jun 17, 2005
Posts: 63
|
Posted:
Sun Jun 19, 2005 1:10 am |
  |
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? |
_________________
 |
|
     |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Sun Jun 19, 2005 4:41 pm |
  |
|
     |
 |
--Nemesis--
Corporal


Joined: Jun 17, 2005
Posts: 63
|
Posted:
Sun Jun 19, 2005 4:50 pm |
  |
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.. |
_________________
 |
|
     |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Sun Jun 19, 2005 4:52 pm |
  |
|
     |
 |
--Nemesis--
Corporal


Joined: Jun 17, 2005
Posts: 63
|
Posted:
Sun Jun 19, 2005 7:12 pm |
  |
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 |
_________________
 |
|
     |
 |
--Nemesis--
Corporal


Joined: Jun 17, 2005
Posts: 63
|
Posted:
Sun Jun 19, 2005 8:22 pm |
  |
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.. |
_________________
 |
|
     |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Mon Jun 20, 2005 7:28 am |
  |
|
     |
 |
--Nemesis--
Corporal


Joined: Jun 17, 2005
Posts: 63
|
Posted:
Mon Jun 20, 2005 7:34 am |
  |
yes.. tater_config is in my database... i can get into admin preferences... its just blank... and doesnt save data when i click submit.. |
_________________

Last edited by --Nemesis-- on Mon Jun 20, 2005 11:54 pm; edited 1 time in total |
|
     |
 |
--Nemesis--
Corporal


Joined: Jun 17, 2005
Posts: 63
|
Posted:
Mon Jun 20, 2005 11:49 pm |
  |
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 =/ |
_________________
 |
|
     |
 |
--Nemesis--
Corporal


Joined: Jun 17, 2005
Posts: 63
|
Posted:
Wed Jun 22, 2005 3:53 am |
  |
?  |
_________________
 |
|
     |
 |
stinky
Private


Joined: Apr 22, 2005
Posts: 42
|
Posted:
Wed Jun 22, 2005 4:53 am |
  |
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... |
|
|
   |
 |
--Nemesis--
Corporal


Joined: Jun 17, 2005
Posts: 63
|
Posted:
Wed Jun 22, 2005 5:23 am |
  |
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.. |
_________________
 |
|
     |
 |
--Nemesis--
Corporal


Joined: Jun 17, 2005
Posts: 63
|
Posted:
Wed Jun 22, 2005 7:28 am |
  |
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.. |
_________________
 |
|
     |
 |
|
|