News:

Wondering if this will always be free?  See why free is better.

Main Menu

[BUG] SMF 1.1 RC1

Started by Grek.Kamchatka, September 21, 2005, 09:40:05 PM

Previous topic - Next topic

Grek.Kamchatka

Hi everyone)
On just installed SMF 1.1 RC1 i have this error log:

http://localhost/11/index.php?action=managesearch

8: Undefined index: name
File: z:\home\localhost\www\11\Themes\default\ManagePermissions.template.php (eval?)
Line: 445



http://localhost/11/index.php?action=managesearch

8: Undefined index: is_postgroup
File: z:\home\localhost\www\11\Themes\default\ManagePermissions.template.php (eval?)
Line: 445



http://localhost/11/index.php?action=managesearch

8: Undefined index: id
File: z:\home\localhost\www\11\Themes\default\ManagePermissions.template.php (eval?)
Line: 438


What is this?

[Unknown]

Please go to:

Admin -> Support and Credits -> (more detailed)

Are you sure all of your templates and files are up to date?  I would assume ManagePermissions.php is old.

-[Unknown]

Grek.Kamchatka

SMF File        Your Version     Current Version   
SMF Package            SMF 1.1 RC1       SMF 1.1 Beta 3 Public   
Sources                     1.1 RC1                1.1 Beta 3 Public   
Default Templates   1.1 RC1                1.1 Beta 3 Public   
Language Files            1.1 RC1                1.1 Beta 3 Public

All files is 1.1 RC1. I install new forum. Not upgrade or update.

[Unknown]

Is it reproducable?  If so, in ManagePermissions.template.php, find:

foreach ($context['member_groups'] as $group)
{


Add after:

print_r($group);

What does it show?

-[Unknown]

Grek.Kamchatka

Yes. It is reproducable. I have added your code but this didn't help. I have this error again.

[Unknown]

Nothing was outputted?

It sounds like, for some reason, $context['member_groups'] has junk in it.  Maybe, before that code:

var_dump($context['member_groups']);

What does that show?

-[Unknown]

Grek.Kamchatka

Some advancement =)
Remained one mistake:
[error]
http://localhost/11/index.php?action=managesearch

2: Invalid argument supplied for foreach()
File: z:\home\localhost\www\11\Themes\default\ManagePermissions.template.php (eval?)
Line: 433
[/error]
Old mistakes anymore appear.


Sheepy

No, but if it's a new install as he said we can try it on our own localhost.  Anyway I failed to reproduce the error messages.

May be the data is corrupted? Just a guess.

[Unknown]

Adding that line shouldn't have changed anything.  Are you using any accelerators or optimizers?

-[Unknown]

Random

I'm getting errors similar to these, on a brand new install

8: Undefined index: name
File: /home/xxx/public_html/forum/Themes/default/ManagePermissions.template.php (eval?)
Line: 445

8: Undefined index: is_postgroup
File: /home/xxx/public_html/forum/Themes/default/ManagePermissions.template.php (eval?)
Line: 445

8: Undefined index: id
File: /home/xxx/public_html/forum/Themes/default/ManagePermissions.template.php (eval?)
Line: 438

They appear on these pages so far:

http://www.xxxxx/forum/index.php?action=managecalendar
http://www.xxx/forum/index.php?action=managesearch;sa=settings

ian

I'm having this same problem with RC2, when accessing the calendar or search settings (and maybe others too). It appears to be due to a fantom member group appearing from somewhere. Here's a screenshot:



In case it gives any clues, I have 4 rows in the membergroups table: Administrator, Global Moderator, Moderator, Member.

This "problem" doesn't seem to do any harm, but it'd be nice to remove these entries from the error log anyway :)

Random

Yes, I still get these too, same as before:

8: Undefined index: name
File: /home/xxxxxx/public_html/forum/Themes/default/ManagePermissions.template.php (eval?)
Line: 445

When accessing this link

http://www.xxxxxxxxxxxxxxx/forum/index.php?action=managecalendar

Advertisement: