| Author |
Message |
bartman Regular


Joined: Jun 23, 2005 Posts: 61
|
Posted:
Sun Nov 13, 2005 12:38 pm |
|
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"
It seems to change to permissions ok,,but yet displayes this screen full of "garbage" 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. |
|
|
|
 |
evaders99 Former Moderator in Good Standing

Joined: Apr 30, 2004 Posts: 3221
|
Posted:
Sun Nov 13, 2005 3:15 pm |
|
Try uploading a clean modules/Forums/admin files again |
|
|
|
 |
chatserv The Mouse Is Extension Of Arm

Joined: May 02, 2003 Posts: 1396 Location: Puerto Rico
|
Posted:
Sun Nov 13, 2005 3:19 pm |
|
Make sure gzip_compress is set to 0 in the nuke_bbconfig database table. |
|
|
|
 |
bartman Regular


Joined: Jun 23, 2005 Posts: 61
|
Posted:
Sun Nov 13, 2005 5:13 pm |
|
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 Regular


Joined: Jun 23, 2005 Posts: 61
|
Posted:
Sun Nov 13, 2005 5:22 pm |
|
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 Regular


Joined: Jun 23, 2005 Posts: 61
|
Posted:
Sun Nov 13, 2005 5:32 pm |
|
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: 16987 Location: Kansas
|
Posted:
Sun Nov 13, 2005 7:35 pm |
|
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);
} |
|
|
|
|
 |
|
|
|
|