SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: Nathaniel on July 26, 2008, 10:12:26 PM

Title: [Bug] SSI.php.
Post by: Nathaniel on July 26, 2008, 10:12:26 PM
There is a bug on line 3315 when you try to call SSI.php and this mod is installed.

Code: [Select]
Fatal error: Call to undefined function sportal_vital() in D:\Program Files\xampp\htdocs\test\Sources\Subs.php on line 3315

Issue caused by the copyright function.
Title: Re: SSI.php Bug.
Post by: ccbtimewiz on July 26, 2008, 10:18:24 PM
Very strange...
Title: Re: SSI.php Bug.
Post by: Nathaniel on July 26, 2008, 10:40:05 PM
This code from subs.php:
Code: [Select]
sportal_vital();Needs to be changed to this code:
Code: [Select]
if(SMF != 'SSI')sportal_vital();
Title: Re: [Bug] SSI.php.
Post by: [SiNaN] on July 27, 2008, 07:50:27 AM
Right, but we can include SPortal.php in SSI too.

But no need to add our copyright in SSI pages.

We will use the fix Nath gave.
Title: Re: [Bug] SSI.php.
Post by: [SiNaN] on August 02, 2008, 07:33:15 AM
Killed this bug.
SimplePortal 2.3.8 © 2008-2024, SimplePortal