Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: roxpace - helmikuu 18, 2005, 12:54:06 AP

Otsikko: Warning: Undefined variable: context in
Kirjoitti: roxpace - helmikuu 18, 2005, 12:54:06 AP
Hi,

I am getting a lot of these warnings,
Undefined variable: context in

For many files, is this a common problem and if so why does it happen ?

Sincerely
/Roxpace
Otsikko: Re: Warning: Undefined variable: context in
Kirjoitti: [Unknown] - helmikuu 18, 2005, 01:39:02 AP
Do you have any mods installed?  Does it list any filenames or line numbers?

-[Unknown]
Otsikko: Re: Warning: Undefined variable: context in
Kirjoitti: roxpace - helmikuu 18, 2005, 10:59:23 AP
Well, I am getting these for all SSI functions when running ssi_examples.shtml with the same notice (getting one line of that notice when running ssi_examples.php):

Notice: Undefined variable: context in /var/www/domainname.com/docs/forum_test/Sources/Load.php on line 210

And when I'm checking the log in the admin for errors, it shows up the exactly same error all over. Could it have something to do with session since it repeats so often ?

Sincerely
/Roxpace

Otsikko: Re: Warning: Undefined variable: context in
Kirjoitti: roxpace - helmikuu 19, 2005, 02:06:27 AP
I hope someone else out there has got a similar problem and can give me a tip what my problem can be caused of since I suppose it is a very simple problem.
Otsikko: Re: Warning: Undefined variable: context in
Kirjoitti: [Unknown] - helmikuu 19, 2005, 03:09:33 AP
Do you have any modifications installed?

On that line of Load.php, such an error is impossible in the official distribution without changes.

-[Unknown]
Otsikko: Re: Warning: Undefined variable: context in
Kirjoitti: roxpace - helmikuu 19, 2005, 01:39:39 IP
Thanks for the reply.

I found the problem, it was the package/module called "Thread's Bookmarks" so now it's gone in my test forum :)
Otsikko: Re: Warning: Undefined variable: context in
Kirjoitti: archiebald - maaliskuu 15, 2005, 09:46:07 AP
I found the same problem with this module in 1.0.2.

8: Undefined variable : context in c:\forum\Load.php 210


Can someone post a warning that it causes errors.

I had 235 pages in 2 days.

Archie