I get this error in my error log when I try to save any images inside a group album:
Code:
[04-Sep-2019 02:30:28 UTC] PHP Fatal error: syntax error, unexpected ''<br />
' (T_ENCAPSED_AND_WHITESPACE) on line 1 in /home/xxx/public_html/xxx/demos/vb4/includes/class_core.php(4684) : eval()'d code
in /home/xxx/public_html/xxx/demos/vb4/vb/vb.php on line 286
I have looked at the code in the vb.php file in that area it is:
Code:
/*ErrorHandling=================================================================*/
/**
* Catches any uncaught exceptions.
*
* @param Exception $exception
*/
public static function handleException($exception)
{
if (!$code = $exception->getCode())
{
$code = E_USER_ERROR;
}
echo($exception->getMessage() . ' on line ' . $exception->getLine() . ' in ' . $exception->getFile() . "<br />\n" . nl2br($exception->getTraceAsString()) . '<br /><br />');
// TODO: Our own error output, with the exception's message and stack trace
trigger_error($exception->getMessage() . ' on line ' . $exception->getLine() . ' in ' . $exception->getFile() . "\n", $code);
}
}
I'm running a fresh install of vBulletin 4.2.5 with no mods installed on it at all. This is a demo forum for some styles I'm working on.
I'm running PHP 7.1.32 (was wondering if maybe this was my problem...)
MySQL 5.0.12
On another note I also cannot save a certain templates or try to visit certain areas on the forum I get:
Code:
Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.
Not sure if these are related or related to the PHP being 7.1.32 or not.