PHPnuke

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
Proliphic
New to forums
New to forums
Posts: 2
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Aug 02, 2015 3:07 pm

PHPnuke

Post by Proliphic »

I have tried to install many different versions from 6.5 to the newest 8.3.4.
I have tried other variances like PNCphp 4.6 to no avail.

I keep running into an error that directs me to my "mainfile.php" line 80-104 depending on the version:

Warning: ob_start(): second array member is not a valid method in /usr/www/milgaming/public/mainfile.php on line 104

the line in question is :

ob_start(array('ob_gzhandler',5));

the whole chunk is this.

elseif($phpver > '4.0' && isset($_SERVER['HTTP_ACCEPT_ENCODING']) && !empty($_SERVER['HTTP_ACCEPT_ENCODING'])) {
if(strstr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) {
if(extension_loaded('zlib')) {
$do_gzip_compress = true;
ob_start(array('ob_gzhandler',5));
ob_implicit_flush(0);
if(preg_match("#MSIE#",$_SERVER['HTTP_USER_AGENT'])) {
header('Content-Encoding: gzip');


can someone PLEASE help me out here.. im not a coder and I have used phpnuke beofre on other hosts years ago and never ran into this type of issue..
Proliphic
New to forums
New to forums
Posts: 2
Joined: Sun Aug 02, 2015 3:07 pm

Re: PHPnuke

Post by Proliphic »

EDIT.. I was able to get it installed ONCE. but when i did i would log into the admin panel but everytime i clicked on a admin icon it would kick me back to the login page forceing me to continuously login to the admin panel.
Post Reply