PDA

View Full Version : Error...


wolfe
03-02-2023, 04:10 PM
PHP Error we keep getting and I can't find where its coming from


Fatal User Error: syntax error, unexpected '<', expecting end of file on line 1 in /var/www/vhosts/httpdocs/includes/class_core.php(4688) : eval()'d code in /var/www/vhosts/httpdocs/vb/vb.php on line 286

can anyone help.. thank you

socialteenz
03-02-2023, 04:16 PM
What is your vBulletin version?
What is your php version?

wolfe
03-02-2023, 04:20 PM
Oh sorry

vB 4.2.5
PHP 7.1.33

socialteenz
03-02-2023, 04:26 PM
vBulletin 4.2.5 requires PHP 5.6.0 through PHP 7.1.33 and MySQL 5.5.8+.

So, it looks good, try reuploading the files again.

wolfe
03-02-2023, 04:29 PM
Is there anyway to make it log more information like where the last page the user was on that referred it to that error its using the php logs system in the vboptions.

socialteenz
03-02-2023, 04:43 PM
Try this in your config.php file

define('SKIP_ALL_ERRORS', true);

wolfe
03-02-2023, 04:45 PM
That will stop storing errors thats not what I want I want to find the cause of it..

socialteenz
03-02-2023, 04:53 PM
ini_set("display_errors", true);