Author |
Message |
kenshell
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/blank.gif)
Joined: May 11, 2005
Posts: 10
|
Posted:
Wed May 11, 2005 6:26 am |
|
I upgraded 6.8 to 7.7, no patches of nuke, BB since orginally installed.
All seems well except going to the forums from admin.
I get a blank page.
Regular forum users get to the forums fine.
thanks |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kenshell
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed May 11, 2005 7:13 am |
|
I patched it and now get this.
phpBB : Critical Error
Error creating new session
DEBUG MODE
SQL Error : 1054 Unknown column 'session_admin' in 'field list'
INSERT INTO nuke_bbsessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin) VALUES ('3a711ff96965a14bde4d2085a4fab1e8', '1', '1115817086', '1115817086', '97c66410', '0', '0', '0')
Line : 203
File : sessions.php |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
izone
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/Animaniacs/Animaniacs_-_Pinky.gif)
Joined: Sep 07, 2004
Posts: 354
Location: Sweden
|
Posted:
Wed May 11, 2005 9:33 am |
|
I had the same problem.
open file modules/Forums/admin/pagestart.php
You have to put this code from the patch:
Code:
if (!$userdata['session_admin'])
{
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', $_SERVER['SERVER_SOFTWARE']) ) ? 'Refresh: 0; URL=' : 'Location: ';
header($header_location . '../../../' . append_sid("login.$phpEx?redirect=admin/&admin=1", true));
exit;
}
|
before this code:
Code:
*/
if ( empty($no_page_header) )
|
I put it between
*/
and
if ( empty($no_page_header) )
and get the same error like you. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
chatserv
Member Emeritus
![](modules/Forums/images/avatars/Risque/fhf215.jpg)
Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Wed May 11, 2005 10:07 am |
|
Also the upgrade file included with the patch must be run. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kenshell
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu May 12, 2005 4:01 am |
|
I took the patch off and now get this
phpBB : Critical Error
Could not get theme data for themes_id []
kenshell wrote: | I patched it and now get this.
phpBB : Critical Error
Error creating new session
DEBUG MODE
SQL Error : 1054 Unknown column 'session_admin' in 'field list'
INSERT INTO nuke_bbsessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin) VALUES ('3a711ff96965a14bde4d2085a4fab1e8', '1', '1115817086', '1115817086', '97c66410', '0', '0', '0')
Line : 203
File : sessions.php |
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kenshell
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu May 12, 2005 5:51 am |
|
Boy am I bad at this. lol
I loaded up the backup from a month ago.
I get access denied on admin section.
I cant get to anything from there.
![Image Image](http://www.pba109.org/sandman/php-error.JPG) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
chatserv
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu May 12, 2005 6:53 am |
|
Did you try what izone suggested before moving back and forth through versions? That is the worst thing you can do, files get mixed and messed. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kenshell
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu May 12, 2005 7:00 am |
|
yes I tried it.
I saw what I did wrong with restoring the backup.
All is fine now.
Going to try again from 6.8 to 7.7 later on today. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Thu May 12, 2005 7:56 pm |
|
The Access Denied message is due to some files that were dropped in 7.5 within the admin directory.
I tried to find the thread on it but failed, however if you search the early posts in the Nuke 7.5 forum you may find it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|