vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Error... (https://vborg.vbsupport.ru/showthread.php?t=329510)

wolfe 03-02-2023 04:10 PM

Error...
 
PHP Error we keep getting and I can't find where its coming from


PHP Code:

Fatal User Errorsyntax errorunexpected '<'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

Code:

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

Code:

ini_set("display_errors", true);


All times are GMT. The time now is 03:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00987 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete