[Problem Solved!] No access to Forum Admin page.....

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   [Problem Solved!] No access to Forum Admin page.....
Peter-CH
CZ Newbie
Peter-CH has been a member for over 18 year's 18 Year Member
switzerland.gif
Gender: Male
Website:
Status: Offline
Joined: May 27, 2005
0.00 posts per day
Posts: 12
Points: 299
   
I have lost access to forum admin page after an upgrade. Being an amateur, I might sound silly.
This is my URL: [ Register or login to view links on this board. ] Here is my installed version:



Powered by phpBB 2.0.10 © 2001-2003 phpBB Group
phpBB port v2.0.7 based on Tom Nitzschner's phpbb2.0.6 upgraded to phpBB 2.0.7 standalone was developed and tested by:
ChatServ, mikem, and Paul Laudanski (aka Zhen-Xjell).

Version 2.0.7 by Nuke Cops ?2004 [ Register or login to view links on this board. ]



I will get the following error message when trying to access Forum admin page:



phpBB : 重大错误 ("major error" in Chinese)
Could not open subSilver template config file
DEBUG MODE
Line : 353
File : /home/www/a19681cb40e9cccbf716f537e7798dce/web/includes/functions.php


I checked the template and subsilver.cfg file was there .
I opened the file functions.php



$template_path = 'templates/' ;
$template_name = $row['template_name'] ;

Line 352 $template = new Template($phpbb_root_path . $template_path . $template_name);
Line 353
Line 354 if ( $template )
{

Pls note that line 353 is blank.

I tried as recommended by Xyberian to clear nuke-session table in phpMyadmin, but instead of "clear" command, I only find "empty", "drop". I did not venture to use either command for fear of messing things up.



Originally posted by Xyberian:

Ok. I remembered what I did.
phpnuke new versions might have different session manager.
So, first of all, check include/session.php.
Then, if you find session.php files are different between versions,
open your nuke DB by phpmyadmin.
Clear nuke_session table. THIS DOES NOT MEAN 'DELETING THE TABLE.
login as an admin and try it.


I also added a field session_admin as recommended below, to no avail.


Originally posted by Maka:

Add this code and hit go:
ALTER TABLE `YOUR-PREFIX_bbsessions` ADD COLUMN `session_admin` tinyint(2) DEFAULT '0' NOT NULL


I would be grateful if someone can tell me exactly what I should do to solve the problem. icon_redface.gif

(I have posted the same query on Nuke Cops but have not received a working answer yet)



Back to top Reply with quote
#2   
aUsTiN
CZ Active Member
aUsTiN has been a member for over 20 year's 20 Year Member
usa.gif georgia.gif
Age: 41
Gender: Male
Website:
Status: Offline
Joined: Sep 09, 2003
0.02 posts per day
Posts: 142
Points: 57
  MSN Messenger 
Firstly, it is subSilver.cfg, case sensative there. Not subsilver.cfg. This file has to be in the templates folder with the subSilver.css.

To empty the sessions table, simply input

TRUNCATE table_name_here;

That will empty all rows in a table. Therefor you do not want to do it to tables such as posts or users, but to empty the sessions table is fine because it will fill its self back up as users visit.



Back to top Reply with quote
#3   re: No access to Forum Admin page.....
Peter-CH
CZ Newbie
Peter-CH has been a member for over 18 year's 18 Year Member
switzerland.gif
Gender: Male
Website:
Status: Offline
Joined: May 27, 2005
0.00 posts per day
Posts: 12
Points: 299
   
Thanks, it works.
I changed the case "S" to capital in subsilver.cfg file name and the admin page did not come back.
Then, I changed the folder name to "subSilver" and it worked.

Thanks. new_multi.gif

I prefer not to play with session table as long as my problem is gone. icon_rolleyes.gif

By the way, I have also installed Top Forum Posters block my website, thanks to the inspiration from yours. Cheers.



Back to top Reply with quote
#4   Forum is gone!
Peter-CH
CZ Newbie
Peter-CH has been a member for over 18 year's 18 Year Member
switzerland.gif
Gender: Male
Website:
Status: Offline
Joined: May 27, 2005
0.00 posts per day
Posts: 12
Points: 299
   
Hi, aUsTiN,
I looked through the forum admin page and changed GZIP setting from "No" to "Yes". Then my forums are not accessible. Any link I clicked inside the forum admin page would present a dialogue box for file download.

File name: index.html
from: [ Register or login to view links on this board. ]

Now the Forum admin page is not accessible any more. The link for Forum Admin page (http://www.wenhui.ch/modules/Forums/admin/index.php) will present the same file download dialogue box instead of Forum Admin page. The forums are gone. I used a backup of the forums made on 24 May and ftped them to the website, to no avail.

What has gone wrong? Pls help.



Back to top Reply with quote
#5   Problem solved
Peter-CH
CZ Newbie
Peter-CH has been a member for over 18 year's 18 Year Member
switzerland.gif
Gender: Male
Website:
Status: Offline
Joined: May 27, 2005
0.00 posts per day
Posts: 12
Points: 299
   
I changed the gzip setting from 1 to 0 at phpmyadmin and everything is OK now.
Thank you 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