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
#1
Hi question to anyone that may know.

My domain host will not allow the change of group concat from 1024 to max.
so my question is i have tried adding to the init file to session the group concat but when i do it runs a 500 error code .
which way would be best to add this or just redesign the way i am doing group concat via my hosting.

Thanks in advance
  Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)