Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: redone - helmikuu 04, 2005, 08:59:52 AP

Otsikko: Problem with SSI
Kirjoitti: redone - helmikuu 04, 2005, 08:59:52 AP
http://britportal.info/ssi_examples.php

Shows an error re: /sources/load.php

Notice: Undefined variable: context in /home/britport/public_html/Sources/Load.php on line 212

This is line 212: if (!$context['user']['is_guest'] && (!empty($modSettings['show_bookmark'])))

Anyone have any ideas?

:(
Otsikko: Re: Problem with SSI
Kirjoitti: Midgard - helmikuu 04, 2005, 09:07:31 AP
Do you using an special mod for SSI?
Otsikko: Re: Problem with SSI
Kirjoitti: redone - helmikuu 04, 2005, 09:42:02 AP
I have not modded SSI but the load.php file was modded to work the the "bookmark a thread" mod.
Otsikko: Re: Problem with SSI
Kirjoitti: Midgard - helmikuu 04, 2005, 09:45:38 AP
Lainaus käyttäjältä: redone - helmikuu 04, 2005, 09:42:02 AP
I have not modded SSI but the load.php file was modded to work the the "bookmark a thread" mod.

okay, just problem from "Bookmark a thread" mod on the Load.php.

You'll find this modifications... :)
Otsikko: Re: Problem with SSI
Kirjoitti: redone - helmikuu 04, 2005, 11:25:18 AP
Problem was with the code. Thanks a lot to the person who spotted this and posted the fix!  :D

Also proves its good to research.

http://www.simplemachines.org/community/index.php?PHPSESSID=336b585d7bd7b5e81ddd8e7c8504e664&topic=17178.30