Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: rcane on September 27, 2022, 01:44:40 PM

Title: Received 'ssi_shutdown()' error for the first time.
Post by: rcane on September 27, 2022, 01:44:40 PM
I've been making a few php based tools pages for different membergroups.

I've included the ssi to check id_members and user_info[groups].

For some reason, on a very vanilla page that doesn't even do anything (yet), if I include / include_once / etc SSI.php I get the following:

 
PHP Fatal error:  Cannot redeclare ssi_shutdown() (previously declared in SSI.php line 197.


I've never run across this before, and I've done 18 or so pages of different types.

?
Title: Re: Received 'ssi_shutdown()' error for the first time.
Post by: rcane on September 27, 2022, 02:18:19 PM
disregard. i found the second call to ssi.
Title: Re: Received 'ssi_shutdown()' error for the first time.
Post by: Kindred on September 27, 2022, 07:12:42 PM
Lol, yup, that was my first guess. ;)