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.6
Author Message
bartman
Regular
Regular



Joined: Jun 23, 2005
Posts: 61

PostPosted: Sun Nov 13, 2005 12:38 pm Reply with quote

I am running nuke 7.6 patched 3b with nuke sentinel 2.4.2 with the forums updated to 2.018
problem is today i was making a new section in the forums , when i came accross the following error , which happens after i change a permissions in the fourm admin.
E.G i got this error when i changed the permission level of one of the forums from say "registered" to "private"

Image


It seems to change to permissions ok,,but yet displayes this screen full of "garbage" Smile in the admin page.
could be an effect of the latest forum update to v 2.018 (was 2.017)
i am not in the forum permission sections much,,so i do not have an idea how long this has been like this for.
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Nov 13, 2005 3:15 pm Reply with quote

Try uploading a clean modules/Forums/admin files again

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
chatserv
Member Emeritus



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

PostPosted: Sun Nov 13, 2005 3:19 pm Reply with quote

Make sure gzip_compress is set to 0 in the nuke_bbconfig database table.
 
View user's profile Send private message Visit poster's website
bartman







PostPosted: Sun Nov 13, 2005 5:13 pm Reply with quote

thanks for the feedback
I have tried uploading the modules/Forums/admin files again from the BBtoNuke2018 update and made no differance
also gzip_compress is set to 0 in the nuke_bbconfig database table.

any other sugestions.
 
bartman







PostPosted: Sun Nov 13, 2005 5:22 pm Reply with quote

Update ,, i have just loaded the admin files from an older "BACKUP" version,and it has fixed the problem of the "garbled text", but i am wondering what other problems this might cause,,and also it might make the site vunerable,as i am unsure what version the files are from. but i do do know it would not be older than v 2015.
 
bartman







PostPosted: Sun Nov 13, 2005 5:32 pm Reply with quote

Seems the file that is causing the problem for me is the "page_footer_admin.php" from the 2018 update.
I just replaced that file with one from the origonal instalation and the "garled text" has now dissapeared.

hope that is all sorted now.
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Nov 13, 2005 7:35 pm Reply with quote

It would seem that all this code is being executed (in modules/Forums/admin/page_footer_admin.php) and it probably shouldn't be
Code:
//

// Compress buffered output if required
// and send to browser
//
if( $do_gzip_compress )
{
   //
   // Borrowed from php.net!
   //
   $gzip_contents = ob_get_contents();
   ob_end_clean();

   $gzip_size = strlen($gzip_contents);
   $gzip_crc = crc32($gzip_contents);

   $gzip_contents = gzcompress($gzip_contents, 9);
   $gzip_contents = substr($gzip_contents, 0, strlen($gzip_contents) - 4);

   echo "\x1f\x8b\x08\x00\x00\x00\x00\x00";
   echo $gzip_contents;
   echo pack('V', $gzip_crc);
   echo pack('V', $gzip_size);
}
 
View user's profile Send private message
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.6

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 ©