Advertisement:

Author Topic: Error when people change the theme  (Read 5751 times)

Offline Aaron Nelsen

  • Jr. Member
  • **
  • Posts: 113
  • Gender: Male
    • Hijinks Inc.
Error when people change the theme
« on: March 15, 2004, 07:04:37 PM »
My users are getting this when they go to change the theme.

Quote
Notice: Undefined index: num_users in /home/r1478142/public_html/forum/Themes/default/Themes.template.php on line 202
Notice: Undefined index: num_users in /home/r1478142/public_html/forum/Themes/default/Themes.template.php on line 202people are using this theme.

I have one other theme that I setup by copying files and editing them, would that have anything to do with the error?

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Error when people change the theme
« Reply #1 on: March 15, 2004, 07:18:46 PM »
How did you add it though?

Can I see a link?

-[Unknown]

Offline Aaron Nelsen

  • Jr. Member
  • **
  • Posts: 113
  • Gender: Male
    • Hijinks Inc.
Re: Error when people change the theme
« Reply #2 on: March 15, 2004, 07:24:43 PM »
I added it by using the "Install new theme - From a directory"
It only seems to cause that error when I set the theme I just added as the guest theme, then when I go into the profile to change my theme it displays that error, otherwise I don't get that error.

Offline Aaron Nelsen

  • Jr. Member
  • **
  • Posts: 113
  • Gender: Male
    • Hijinks Inc.
Re: Error when people change the theme
« Reply #3 on: March 15, 2004, 08:44:40 PM »
Now it seems my users get it no matter what I do, but I don't have it given me any errors.

Also, a user told me its displaying this message at the top of the page
Quote
Notice: Undefined index: 3 in /home/r1478142/public_html/forum/Sources/Themes.php on line 452

EDIT: I just found that all errors go away if I let enable the "llow members to select the "Default" theme." option.
« Last Edit: March 15, 2004, 08:52:30 PM by 01001101 01100101 »