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
#2
So the error 500 makes me think that you have error reporting turned off on your server so you're not getting a proper idea of what's wrong.
Add this starting at line 2 of your init.php
Code:
error_reporting(E_ALL);
Code:
ini_set('display_errors', 1);

In theory, that should give you a more specific error to see if your code is wrong. If your code seems right, try adding your concat thing to
Code:
usersc/includes/head_tags.php

That will get it into the header but after init has done its thing.
  Reply


Messages In This Thread
init.php - by dave3460 - 10-20-2017, 02:00 PM
init.php - by mudmin - 10-20-2017, 02:05 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)