Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.7
Author Message
kenshell
New Member
New Member



Joined: May 11, 2005
Posts: 10

PostPosted: Wed May 11, 2005 6:26 am Reply with quote

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
 
View user's profile Send private message
kenshell







PostPosted: Wed May 11, 2005 7:13 am Reply with quote

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
 
izone
Involved
Involved



Joined: Sep 07, 2004
Posts: 354
Location: Sweden

PostPosted: Wed May 11, 2005 9:33 am Reply with quote

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.
 
View user's profile Send private message
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Wed May 11, 2005 10:07 am Reply with quote

Also the upgrade file included with the patch must be run.
 
View user's profile Send private message Visit poster's website
kenshell







PostPosted: Thu May 12, 2005 4:01 am Reply with quote

I took the patch off and now get this Sad

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
 
kenshell







PostPosted: Thu May 12, 2005 5:51 am Reply with quote

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
 
chatserv







PostPosted: Thu May 12, 2005 6:53 am Reply with quote

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.
 
kenshell







PostPosted: Thu May 12, 2005 7:00 am Reply with quote

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.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu May 12, 2005 7:56 pm Reply with quote

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.
 
View user's profile Send private message Send e-mail
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.7

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©