EzPortal - Portal Software for Forums

EzPortal Forums => Bugs => Topic started by: Eddy Matthews on December 07, 2009, 05:04:11 am

Title: Undefined index
Post by: Eddy Matthews on December 07, 2009, 05:04:11 am

Apply Filter: Only show the error messages of this URL
http://www.paddleducks.co.uk/smf/index.php?action=who
Apply Filter: Only show the errors with the same message
8: Undefined index: newwindow
Apply Filter: Only show the errors from this file
File: /home/xxxx/public_html/smf/Sources/Subs-EzPortalMain2.php
Line: 2970


Regards
Eddy
Title: Re: Undefined index
Post by: chinaren on February 22, 2010, 09:29:32 pm
I'm going to leap onto Eddy's bandwagon here if I may.  

I'm also getting an UI error.  Lots of them actually.

It doesn't seem to be affecting the usability of the board/EZPortal, but it's a bit annoying.  The error in the error log goes something like:

Quote
http://(url)/index.php?action=gallery;sa=view;id=531    <-- This line is different each time.

8: Undefined index: downloads_text_downloads
File: /home/(url)/Sources/Subs-EzPortalMain.php
Line: 1507

Not sure when it started, but I think recently (may be wrong), about the same time I upgraded to the latest EZP.  However, about the same time I upgraded to SMF 1.1.11.  Also I may just not have noticed this before.  :-\

Any help greatly appreciated.
Title: Re: Undefined index
Post by: EzPortal on February 22, 2010, 11:46:41 pm
Looks like a missing language file will take a look at that.
Title: Re: Undefined index
Post by: chinaren on February 23, 2010, 04:37:48 am
Thanks! :)
Title: Re: Undefined index
Post by: EzPortal on February 24, 2010, 02:21:24 pm
Hotfix add this to your downloads.english.php file or ezportal.english.php file
Code: [Select]
$txt['downloads_text_downloads'] = 'Downloads: ';
Title: Re: Undefined index
Post by: chinaren on February 25, 2010, 06:11:39 pm
I think that's fixed it!  Thanks, I'll monitor and let you know.
Title: Re: Undefined index
Post by: frost on April 05, 2010, 09:27:27 pm
05 April 2010, 15:34:34
Type of error: Undefined
URL: http://www.thirdworldnetwork.org/forum/index.php?action=admin;area=ezpsettings;sa=settings
8: Undefined index: label
File: /thirdworldnetwork.org/forum/Themes/default/GenericMenu.template.php (generic_menu_sidebar_above sub template - eval?)
Line: 308

Fresh installs of both SMF and EZPortal.

So, let's look at the line in question:

Code: [Select]
<a class="firstlevel" href="', isset($tab['url']) ? $tab['url'] : $menu_context['base_url'] . ';area=' . $menu_context['current_area'] . ';sa=' . $sa, $menu_context['extra_parameters'], isset($tab['add_params']) ? $tab['add_params'] : '', '"><span class="firstlevel">', $tab['label'], '</span></a>
Title: Re: Undefined index
Post by: royalduke on April 06, 2010, 07:35:51 am
hi everyone
i am currently working as a design manager
I am 32 and a father of 2. I am an expert on home improvement, check out my latest tips on how to seal your shower and bath

Spam? O.o
Title: Re: Undefined index
Post by: frost on April 06, 2010, 12:45:15 pm
05 April 2010, 15:34:34
Type of error: Undefined
URL: http://www.thirdworldnetwork.org/forum/index.php?action=admin;area=ezpsettings;sa=settings
8: Undefined index: label
File: /thirdworldnetwork.org/forum/Themes/default/GenericMenu.template.php (generic_menu_sidebar_above sub template - eval?)
Line: 308

Fresh installs of both SMF and EZPortal.

So, let's look at the line in question:

Code: [Select]
<a class="firstlevel" href="', isset($tab['url']) ? $tab['url'] : $menu_context['base_url'] . ';area=' . $menu_context['current_area'] . ';sa=' . $sa, $menu_context['extra_parameters'], isset($tab['add_params']) ? $tab['add_params'] : '', '"><span class="firstlevel">', $tab['label'], '</span></a>

Just want to make sure we stay on topic... anyone have a clue as to why this is the ONLY error on my site...?