I am only able to ask a question, anyway I do not have a question!
After upgrading packages on one of my server, obviously Indexhibit was broken. I went to the forums to check for a newer version, there was none and there were a lot of people having problems. Well, here I am! Fixing those problems!
I am a programmer myself, but actually hate web development. It is just not my cup of soup, but my site was down and it needed to be hotfixed fast. My experience with PHP is close to nothing, but the online reference manual is a coders best friend!
ndxzstudio/index.php change line 62 to $OBJ->tunnel($OBJ->go['a'], $OBJ->go['q']);
ndxzstudio/lib/router.php change line 134 to: public function tunnel($class, $method)
Change ndxzsite/error.php to ndxzsite/cerror.php and change its class name from Error to CError. You will need to change the reference in two files ndxzstudio/module/system/index.php and ndxzstudio/common.php you can either do it manually or pass a regular expression to sed like "s/error.php/cerror.php/g". Whatever floats your boat.
And finally some minor changes to ndxzstudio/db/db.mysql.php:
Search and replace: "s/mysql_/mysqli_/g", you will find that you will need to either add $this->link to mysqli_select_db or add $indx['db'] to mysqli_connect as the last parameter.
mysqli_result($rs,0) can be changed to $rs->fetch_row()[0]
And there are a few functions that changed from mysql_ to mysqli_ which swapped parameters for example: mysql_real_escape_string($str, $this->link) became mysqli_real_escape_string($this->link, $str)
I think that was about it for the changes needed to get it going on PHP7.0.
Do not forget to check the apache error logs for anything I might have missed mocking this post up.
Maybe it would be nice if the Indexhibit repo on github was public? I could make a PR much quicker than writing this down here, which is not really faillproof either :p
Yours,
Sjoer van der Ploeg