The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
init.php is messed up?
#1
I installed userspice and got it all integrated to my site. But then I bought a new domain name and now my site doesn't load past core/init.php which looks like this:


Quote:<?php
session_start();

function env($type='server'){
if($type == 'server'){
if($_SERVER['HTTP_HOST'] == 'localhost'){
return $_SERVER['DOCUMENT_ROOT'].


I don't know much php, but that looks incomplete. What is init.php supposed to look like? How can I fix this.
  Reply


Messages In This Thread
init.php is messed up? - by strykerx - 05-13-2016, 04:29 PM
init.php is messed up? - by mudmin - 05-13-2016, 04:32 PM
init.php is messed up? - by strykerx - 05-13-2016, 04:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)