Themes won't change in Admin panel

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Themes won't change in Admin panel
dimatulka
CZ Newbie
dimatulka has been a member for over 15 year's 15 Year Member
Status: Offline
Joined: Jun 02, 2009
0.00 posts per day
Posts: 8
Points: 0
   
I host with Yahoo! Through them I installed PHP-Nuke 6.5. Next I

downloaded version 8.0 from php-nuke.org and installed updates.

I did not get any error messages, so I assume the upgrade went

fine.

Next I created a God account.

When I try to change the default theme, nothing happens.

1. STARTING HERE: [ Register or login to view links on this board. ]

2. Under "Web Site Configuration" I choose THEMES

(http://xxx.yyyyy.org/admin.php?op=themes).

3. I selected a theme from the dropdown menu and click "save changes."

**In case it matters, my AutoTheme module is activated and I do NOT allow users to change themes.

Oddly, though DeepBlue is the default, the one showing in the dropdown menu is 3D-Fantasy.

The same issue is affecting the "General Site Info." Nothing I enter is saved after I click "save changes."

Any help is greatly appreciated.

Denise



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.04 posts per day
Posts: 8089
Points: 494,430
   
Sounds like the config table didnt get updated. Can you attach a copy of your admin/modules/settings.php and a copy of your nuke_config database table?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
dimatulka
CZ Newbie
dimatulka has been a member for over 15 year's 15 Year Member
Status: Offline
Joined: Jun 02, 2009
0.00 posts per day
Posts: 8
Points: 0
   
Thanks for the prompt reply. The files are attached. FYI: For enhanced security I changed the nuke_ prefix to pingb_



Attached Files
nuke_config.txt (4.31 KB, Downloaded: 16 Time(s))


Back to top Reply with quote
#4   
dimatulka
CZ Newbie
dimatulka has been a member for over 15 year's 15 Year Member
Status: Offline
Joined: Jun 02, 2009
0.00 posts per day
Posts: 8
Points: 0
   
Oops! I forgot to attach the setting file.



Attached Files
settings.txt (38.35 KB, Downloaded: 15 Time(s))
Attached Files
settings.txt (38.35 KB, Downloaded: 13 Time(s))


Back to top Reply with quote
#5   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.04 posts per day
Posts: 8089
Points: 494,430
   
So nothing saves in the admin config? Does it redirect back to the same admin config page when you press save? Try changing one of the save functions to check for a database error then try saving that section.


function savethemes


   function savethemes($xDefault_Theme, $xoverwrite_theme) {
      global $prefix, $db, $admin_file;
      $xDefault_Theme = filter($xDefault_Theme, "nohtml", 1);
      $xoverwrite_theme = intval($xoverwrite_theme);
      $result = $db->sql_query("UPDATE ".$prefix."_config SET Default_Theme='$xDefault_Theme', overwrite_theme='$xoverwrite_theme'");
      if (!$result) {
         die(mysql_error());
      }
      Header("Location: ".$admin_file.".php?op=themes");
      die();
   }


Now try saving your theme and see what happens.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#6   
dimatulka
CZ Newbie
dimatulka has been a member for over 15 year's 15 Year Member
Status: Offline
Joined: Jun 02, 2009
0.00 posts per day
Posts: 8
Points: 0
   
Now I get the following message:

"Unknown column 'overwrite_theme' in 'field list'"



Back to top Reply with quote
#7   
dimatulka
CZ Newbie
dimatulka has been a member for over 15 year's 15 Year Member
Status: Offline
Joined: Jun 02, 2009
0.00 posts per day
Posts: 8
Points: 0
   
And, yes, nothing saves in the admin config? It redirects back to the same admin config page when I press save.



Back to top Reply with quote
#8   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.04 posts per day
Posts: 8089
Points: 494,430
   
Run this query in phpmyadmin:


ALTER TABLE nuke_config ADD overwrite_theme varchar (255) NOT NULL default '';


See if that fixes it.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#9   
dimatulka
CZ Newbie
dimatulka has been a member for over 15 year's 15 Year Member
Status: Offline
Joined: Jun 02, 2009
0.00 posts per day
Posts: 8
Points: 0
   
I had not added any data so I just deleted and started over. That took care of the problem. Thank you VERY much for your help.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum