sbpp / sourcebans-pp

Admin, ban, and comms management system for the Source engine
https://sbpp.github.io/
Creative Commons Attribution Share Alike 4.0 International
333 stars 174 forks source link

Fatal Error with Smarty #874

Closed IG-PhantomX closed 1 year ago

IG-PhantomX commented 1 year ago

What are the steps to reproduce this issue?

  1. Upgraded to newest SB
  2. Tried to load index page

What happens?

It returns this error: Fatal error: Uncaught --> Smarty: Unable to load template 'file:core/header.tpl' <-- thrown in /usr/www/mysite/bans/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 196

What were you expecting to happen?

Expecting it to load SB properly

Any logs, error output, etc.?

Any other comments?

Unsure if this is a SB issue or a Smarty issue.

Using an older version of Smarty I was able to get SB to load, but it was full of deprecated function spam and unusable.

What versions of software are you using?

Operating System:5.7.36 - Gentoo Linux SourceBans++ Version:1.6.4 PHP Version:8.1.12 MySQL Version: mysql-5.7.36-r1 *Link to your project:will share privately if requested*

IG-PhantomX commented 1 year ago

Resolved by downgrading SB and upgrading again. I also manually edited the db to default SB theme. Was unable to do so before because of deprecated code.