collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 530
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: Large Occurrence of Undefined Index Errors  (Read 22426 times)

0 Members and 1 Guest are viewing this topic.

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Large Occurrence of Undefined Index Errors
« on: May 12, 2015, 09:47:52 PM »
I am using SP 2.3.6 and SMF 2.0.10



I keep getting a large number of these errors ..  I can not seem to find a fix for this ..

The areas of code showing up are primarily:

Line 349
Code: [Select]
'add' => array($txt['sp_admin_pages_add']),
Line 353
Code: [Select]
'label' => $txt['sp_admin_shoutbox_title'],
Line 359
Code: [Select]
'list' => array($txt['sp_admin_shoutbox_list']),
Line 360
Code: [Select]
'add' => array($txt['sp_admin_shoutbox_add']),

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Large Occurrence of Undefined Index Errors
« Reply #1 on: May 12, 2015, 10:05:22 PM »
dugganc,

  It sounds as though you are missing the necessary language files.
Ensure the appropriate language files are in the /Themes/default/languages directory.
Is your forum set to a language other than English?
If so then you can attempt to add the appropriate language files from this link: http://simpleportal.net/index.php?action=downloads;area=stable_language_packs
An alternative is to copy the default SP English language files and rename them to the appropriate language type.

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #2 on: May 12, 2015, 10:07:17 PM »
I have English UTF-8 set as default, and the ISO English is also there. The option is unavailable for users to change their language setting.




[I just recently set the UTF due to issues with posts being truncated due to character compatibility ... The ISO English kept truncating posts ..]

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Large Occurrence of Undefined Index Errors
« Reply #3 on: May 12, 2015, 10:12:47 PM »
Check this directory:
../Themes/default/languages

Ensure these files exist in that directory:
SPortal.english.php
SPortal.english-utf8.php
SPortalAdmin.english.php
SPortalAdmin.english-utf8.php
SPortalHelp.english.php
SPortalHelp.english-utf8.php

If the utf-8 files do not exist, you can either manually copy the files to that directory or uninstall Simple Portal and then install it anew.




Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #4 on: May 12, 2015, 10:20:10 PM »
They all exist


Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: Large Occurrence of Undefined Index Errors
« Reply #5 on: May 12, 2015, 11:03:57 PM »
Are those the only four errors that are reoccuring?

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #6 on: May 12, 2015, 11:28:47 PM »
Are those the only four errors that are reoccuring?

I've emptied out my log files since the beginning of this thread, so these are all new from the duration of this thread.

Along with the above, I also have:

Apply Filter: Only show the error messages of this URLhttp://forums.newsithorder.info/index.php?http://forums.newsithorder.info/Apply Filter: Only show the errors with the same message8: Undefined index: sp_admin_pages_listApply Filter: Only show the errors from this file File: /home/newsi908/public_html/forums/Sources/Admin.php
Line: 348

http://forums.newsithorder.info/index.php?http://forums.newsithorder.info/Apply Filter: Only show the errors with the same message8: Undefined index: sp_admin_pages_titleApply Filter: Only show the errors from this file File: /home/newsi908/public_html/forums/Sources/Admin.php
Line: 342

Apply Filter: Only show the error messages of this URLhttp://forums.newsithorder.info/index.php?http://forums.newsithorder.info/Apply Filter: Only show the errors with the same message8: Undefined index: sp-adminCategoryAddNameApply Filter: Only show the errors from this file File: /home/newsi908/public_html/forums/Sources/Admin.php
Line: 338

Apply Filter: Only show the error messages of this URLhttp://forums.newsithorder.info/index.php?http://forums.newsithorder.info/Apply Filter: Only show the errors with the same message8: Undefined index: sp-adminCategoryListNameApply Filter: Only show the errors from this file File: /home/newsi908/public_html/forums/Sources/Admin.php
Line: 337

Apply Filter: Only show the error messages of this URLhttp://forums.newsithorder.info/index.php?http://forums.newsithorder.info/Apply Filter: Only show the errors with the same message8: Undefined index: sp-adminArticleAddNameApply Filter: Only show the errors from this file File: /home/newsi908/public_html/forums/Sources/Admin.php
Line: 336

Apply Filter: Only show the error messages of this URLhttp://forums.newsithorder.info/index.php?http://forums.newsithorder.info/Apply Filter: Only show the errors with the same message8: Undefined index: sp-adminArticleListNameApply Filter: Only show the errors from this file File: /home/newsi908/public_html/forums/Sources/Admin.php
Line: 335

Apply Filter: Only show the error messages of this URLhttp://forums.newsithorder.info/index.php?http://forums.newsithorder.info/Apply Filter: Only show the errors with the same message8: Undefined index: sp-adminColumnArticlesApply Filter: Only show the errors from this file File: /home/newsi908/public_html/forums/Sources/Admin.php
Line: 329

And more ...

The timestamps for every error are the same for each person when they show up .. The above examples in this thread:

Reverse chronological order of list Today at 11:12:25 PM
Apply Filter: Only show the error messages of this session 0a451661629b4220323d854f3e95800b
Apply Filter: Only show the errors of this type Type of error: Undefined

Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: Large Occurrence of Undefined Index Errors
« Reply #7 on: May 13, 2015, 12:11:02 AM »
From the look of it, the language strings are not being found, yet they should exist. Can you compare and see if the language files found in your directory match the SP installation files?

When you view your forum with SP installed, do you find text missing in places?

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Large Occurrence of Undefined Index Errors
« Reply #8 on: May 13, 2015, 07:56:24 AM »
I've been into the same situation when I moved my forum, for some reason SimplePortal was broken and throwing *tons* of undefined errors. I just uninstalled it and re-installed it, it fixed itself immediately, don't ask me why :P Actually some other mods had the same issue... SimpleDesk, to mention one, and others.
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #9 on: May 13, 2015, 06:36:22 PM »
From the look of it, the language strings are not being found, yet they should exist. Can you compare and see if the language files found in your directory match the SP installation files?

When you view your forum with SP installed, do you find text missing in places?

No missing text anywhere I've noticed .. I've just downloaded the 2.3.6 package and extracted the language files, overwrote the existing on my server. I've also cleaned out my log files, will see what happens now.


@Ninja - I tried the uninstall and reinstall too, but no such luck this time.

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #10 on: May 13, 2015, 07:40:30 PM »
And no good. The errors are still coming up. Exact same ones as above. :(


Edit: Does the CHMOD of any of the SP files matter? Or should they have all automatically set?
« Last Edit: May 13, 2015, 08:23:27 PM by dugganc »

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Large Occurrence of Undefined Index Errors
« Reply #11 on: May 13, 2015, 08:35:24 PM »
CHMOD should follow the settings previously configured. Question(s) is (are, lol)... Did it ever work without those errors? If so, did you change something recently? What's your PHP version? Who is your host?
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #12 on: May 16, 2015, 10:23:56 AM »
CHMOD should follow the settings previously configured. Question(s) is (are, lol)... Did it ever work without those errors? If so, did you change something recently? What's your PHP version? Who is your host?

No, I've had to regularly clear thousands of errors out of the log. I'm not certain if anything actually being affected in the functionality of it - not sure what the reporting sections actually do in the greater scheme.

No changes in the past few months other than having to change the language files and updates.

PHP Version   5.4.37

HostPapa.ca

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #13 on: May 16, 2015, 12:53:04 PM »
For just one user today, there's 25 occurrences in the Admin.php file at the time index of 11:07:39 AM .. There's a second user on the error list with the exact same error lines, his time stamp was 10:36:43 AM for each ..

Line #
299   'label' => $txt['sp-adminConfiguration'],

305   'information' => array($txt['sp-info_title']),
306   'generalsettings' => array($txt['sp-adminGeneralSettingsName']),
307   'blocksettings' => array($txt['sp-adminBlockSettingsName']),
308   'articlesettings' => array($txt['sp-adminArticleSettingsName']),

312   'label' => $txt['sp-blocksBlocks'],

318   'list' => array($txt['sp-adminBlockListName']),
319   'add' => array($txt['sp-adminBlockAddName']),
320   'header' => array($txt['sp-positionHeader']),
321   'left' => array($txt['sp-positionLeft']),
322   'top' => array($txt['sp-positionTop']),
323   'bottom' => array($txt['sp-positionBottom']),
324   'right' => array($txt['sp-positionRight']),
325   'footer' => array($txt['sp-positionFooter']),

329   'label' => $txt['sp-adminColumnArticles'],

335   'articles' => array($txt['sp-adminArticleListName']),
336   'addarticle' => array($txt['sp-adminArticleAddName']),
337   'categories' => array($txt['sp-adminCategoryListName']),
338   'addcategory' => array($txt['sp-adminCategoryAddName']),

342   'label' => $txt['sp_admin_pages_title'],

348   'list' => array($txt['sp_admin_pages_list']),
349   'add' => array($txt['sp_admin_pages_add']),

353   'label' => $txt['sp_admin_shoutbox_title'],

359   'list' => array($txt['sp_admin_shoutbox_list']),
360   'add' => array($txt['sp_admin_shoutbox_add']),


This doesn't seem to be coming up for every single user.

The only shared membergroup between these two is also held by over 87 other people [89 total users, myself included].. Their second membergroups are different, but they share the same permission set as 3 other membergroups [seven total users between these membergroups all of which are part of the aforementioned 89] ..

I can't think of any other relevant details between the two to compare -- suggestions??

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Large Occurrence of Undefined Index Errors
« Reply #14 on: May 16, 2015, 01:58:07 PM »
Might be a very stupid question but... I know you set your default language to English UTF-8, but did you actually reset all users to that? I got a crazy idea about it, because I am totally clueless about anything else... Basically I am thinking that even if the forum is utf-8 those users are currently still set to ISO, they throw undefined errors because the forum can't find the UTF-8 strings due to their settings but by default it shows the ISO as a replacement. I know that it's crazy but would you mind manually resetting all users to UTF-8 via admin panel?
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #15 on: May 16, 2015, 02:36:06 PM »
Might be a very stupid question but... I know you set your default language to English UTF-8, but did you actually reset all users to that? I got a crazy idea about it, because I am totally clueless about anything else... Basically I am thinking that even if the forum is utf-8 those users are currently still set to ISO, they throw undefined errors because the forum can't find the UTF-8 strings due to their settings but by default it shows the ISO as a replacement. I know that it's crazy but would you mind manually resetting all users to UTF-8 via admin panel?

Heh - in my experiences supporting others, that's not a stupid question :P

Already done, did it right away when I installed the UTF-8 and ensured it listed 0 users still on the old ISO.




You did make me wonder about my DB though. I did a quick check and it showed a couple errors which I ran a repair on.

Quote
The system will now check the “newsi908_new1328” database.

[newsi908_new1328.smf_admin_info_files] status: OK
[newsi908_new1328.smf_approval_queue] status: OK
[newsi908_new1328.smf_arcade_categories] status: OK
[newsi908_new1328.smf_arcade_favorite] status: OK
[newsi908_new1328.smf_arcade_files] status: OK
[newsi908_new1328.smf_arcade_game_info] status: OK
[newsi908_new1328.smf_arcade_games] status: OK
[newsi908_new1328.smf_arcade_matches] status: OK
[newsi908_new1328.smf_arcade_matches_players] status: OK
[newsi908_new1328.smf_arcade_matches_results] status: OK
[newsi908_new1328.smf_arcade_matches_rounds] status: OK
[newsi908_new1328.smf_arcade_rates] status: OK
[newsi908_new1328.smf_arcade_scores] status: OK
[newsi908_new1328.smf_arcade_settings] status: OK
[newsi908_new1328.smf_attachments] status: OK
[newsi908_new1328.smf_ban_groups] status: OK
[newsi908_new1328.smf_ban_items] status: OK
[newsi908_new1328.smf_board_permissions] status: OK
[newsi908_new1328.smf_boards] status: OK
[newsi908_new1328.smf_bookmarks] status: OK
[newsi908_new1328.smf_buddies] status: OK
[newsi908_new1328.smf_calendar] status: OK
[newsi908_new1328.smf_calendar_holidays] status: OK
[newsi908_new1328.smf_categories] status: OK
[newsi908_new1328.smf_cf_fields] status: OK
[newsi908_new1328.smf_cf_forms] status: OK
[newsi908_new1328.smf_collapsed_categories] status: OK
[newsi908_new1328.smf_custom_actions] status: OK
[newsi908_new1328.smf_custom_fields] status: OK
[newsi908_new1328.smf_drafts] status: OK
[newsi908_new1328.smf_group_moderators] status: OK
[newsi908_new1328.smf_log_actions] status: OK
[newsi908_new1328.smf_log_activity] status: OK
[newsi908_new1328.smf_log_banned] status: OK
[newsi908_new1328.smf_log_boards] status: OK
[newsi908_new1328.smf_log_comments] status: OK
[newsi908_new1328.smf_log_digest] status: OK
[newsi908_new1328.smf_log_enotify_pms] status: OK
[newsi908_new1328.smf_log_enotify_replies] status: OK
[newsi908_new1328.smf_log_errors] status: OK
[newsi908_new1328.smf_log_floodcontrol] status: OK
[newsi908_new1328.smf_log_group_requests] status: OK
[newsi908_new1328.smf_log_karma] status: OK
[newsi908_new1328.smf_log_mark_read] status: OK
[newsi908_new1328.smf_log_member_notices] status: OK
[newsi908_new1328.smf_log_mentions] status: OK
[newsi908_new1328.smf_log_notify] status: OK
[newsi908_new1328.smf_log_online] status: OK
[newsi908_new1328.smf_log_packages] status: OK
[newsi908_new1328.smf_log_polls] status: OK
[newsi908_new1328.smf_log_reported] status: OK
[newsi908_new1328.smf_log_reported_comments] status: OK
[newsi908_new1328.smf_log_scheduled_tasks] status: OK
[newsi908_new1328.smf_log_search_messages] status: OK
[newsi908_new1328.smf_log_search_results] status: OK
[newsi908_new1328.smf_log_search_subjects] status: OK
[newsi908_new1328.smf_log_search_topics] status: OK
[newsi908_new1328.smf_log_spider_hits] status: OK
[newsi908_new1328.smf_log_spider_stats] status: OK
[newsi908_new1328.smf_log_subscribed] status: OK
[newsi908_new1328.smf_log_topics] status: OK
[newsi908_new1328.smf_mail_queue] status: OK
[newsi908_new1328.smf_membergroups] status: OK
[newsi908_new1328.smf_members] status: OK
[newsi908_new1328.smf_message_icons] status: OK
[newsi908_new1328.smf_messages] status: OK
[newsi908_new1328.smf_moderators] status: OK
[newsi908_new1328.smf_openid_assoc] status: OK
[newsi908_new1328.smf_package_servers] status: OK
[newsi908_new1328.smf_permission_profiles] status: OK
[newsi908_new1328.smf_permissions] status: OK
[newsi908_new1328.smf_personal_messages] status: OK
[newsi908_new1328.smf_picture_comments] status: OK
[newsi908_new1328.smf_pm_recipients] status: OK
[newsi908_new1328.smf_pm_rules] status: OK
[newsi908_new1328.smf_poll_choices] status: OK
[newsi908_new1328.smf_polls] status: OK
[newsi908_new1328.smf_profile_albums] status: OK
[newsi908_new1328.smf_profile_comments] status: OK
[newsi908_new1328.smf_profile_pictures] status: OK
[newsi908_new1328.smf_scheduled_tasks] status: OK
[newsi908_new1328.smf_sessions] status: OK
[newsi908_new1328.smf_settings] status: OK
[newsi908_new1328.smf_smileys] status: OK
[newsi908_new1328.smf_sp_articles] status: OK
[newsi908_new1328.smf_sp_blocks] status: OK
[newsi908_new1328.smf_sp_categories] status: OK
[newsi908_new1328.smf_sp_functions] status: OK
[newsi908_new1328.smf_sp_pages] status: OK
[newsi908_new1328.smf_sp_parameters] status: OK
[newsi908_new1328.smf_sp_shoutboxes] status: OK
[newsi908_new1328.smf_sp_shouts] status: OK
[newsi908_new1328.smf_spiders] status: OK
[newsi908_new1328.smf_subscriptions] status: OK
[newsi908_new1328.smf_tapatalk_push] status: OK
[newsi908_new1328.smf_tapatalk_users] status: OK
[newsi908_new1328.smf_themes] status: OK
[newsi908_new1328.smf_topics] status: OK
[newsi908_new1328.smf_xlinks] status: OK
Check Complete

Everything shows ok now, but there was a couple random ones that said something about tables not being properly closed.

The main thing I wanted to check on my DB though, was if it was also set as a UTF-8 DB or not. The collation is utf8_general_ci right down the board. The server collation is listed as UTF8 by default for my databases under the general settings in phpmyadmin ..

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Large Occurrence of Undefined Index Errors
« Reply #16 on: May 16, 2015, 03:41:23 PM »
This is very strange, asking you to clone your forum on another host (even Altervista or a similar free one) for testing purposes is basically the only thing I can think of. I summon Chen Zhen, maybe he remembers something that as of now I am forgetting!
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #17 on: May 16, 2015, 03:54:34 PM »
This is very strange, asking you to clone your forum on another host (even Altervista or a similar free one) for testing purposes is basically the only thing I can think of. I summon Chen Zhen, maybe he remembers something that as of now I am forgetting!

heh - when I find something I can't fix it's either so painfully obvious that I just completely overlook it and fresh eyes see it quickly -- or so painfully difficult that I need to custom code stuff .... Common over the past 15+ years I've been web programming ... This situation, however, I can't think of any possible work-around  :|

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Large Occurrence of Undefined Index Errors
« Reply #18 on: May 16, 2015, 10:01:10 PM »
dugganc,

  Run the SMF repair_settings tool: http://download.simplemachines.org/index.php?thanks;filename=repair_settings.php
instruction: http://wiki.simplemachines.org/smf/Repair_settings.php
You can rename the file prior to using it if you are worried about security.
Use the given links to correct any path issues and then save the changes.
Delete the repair file from your forum folder when completed.

Another tool to ensure all your tables are uniform:
http://web-develop.ca/index.php?topic=32.0
... version 1.0 will probably do the trick. Your error log did not show any collation issues but it will not hurt.

If you have access to change ownership settings I will suggest to adjust it. Match the ownership of the sp language files to other like language files that are known as working. If you have shared hosting then an app such as Cpanel will give you the ability to adjust these settings. If you have dedicated or a VPS then use your terminal to do it.

Regards.


Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #19 on: May 17, 2015, 10:04:43 AM »
I keep the repair_settings file in my folder at all times [renamed for security purposes]; I had already checked that prior to coming here as well :(

I'll take a peak at that second tool you mention, but it seems it's gonna be one of those randomly unfixable-but-seems-to-not-be-hurting-anything errors I suppose .. As far as I can tell, nothing is being hurt by the appearances of these errors, just some log file cleaning a couple times a month for me ...

I've installed 1.0 and uninstalled it .. I suppose this is the last avenue .. I cleaned out my log files, I will watch them for the next few hours and see if anything pops up ..

Here's hopin lol ... Thanks for the help guys. :)

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #20 on: May 17, 2015, 10:31:37 AM »
Yep - there's the errors popping up again ...

Well, we tried ... I'll live with the log cleaning as long as there doesn't appear to be anything actually not functioning (best as I can tell lol) ..

Thanks for the help in trying. :)

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Large Occurrence of Undefined Index Errors
« Reply #21 on: May 17, 2015, 09:01:18 PM »
dugganc,

  Does any text within SP's admin functions fail to show for you?
Do these errors occur when you are using the SP admin features or is it always errors from another user or guest that do not generally have Simple Portal admin access?

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #22 on: May 18, 2015, 08:41:26 AM »
dugganc,

  Does any text within SP's admin functions fail to show for you?
Do these errors occur when you are using the SP admin features or is it always errors from another user or guest that do not generally have Simple Portal admin access?

Nothing I've noticed as not showing, no :s  But if it's never worked right, I may not realize there's missing text ......

No errors when using the admin function, the groups I mentioned above that those people share do not have access to the admin functions of any part of the forum.

One of my admins did appear for the first time in the logs last night, but she wasn't doing anything with SP at all .. I just went and clicked through all the functions within the admin panel for it and my name didn't appear (but it has appeared at other times with the admin.php file in the logs) ...

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Large Occurrence of Undefined Index Errors
« Reply #23 on: May 18, 2015, 03:53:04 PM »
dugganc,

File: ../Sources/Admin.php

find:
Code: [Select]
loadLanguage('Admin');

replace with:
Code: [Select]
loadLanguage('Admin');
loadLanguage('SPortalAdmin');

Imo you have some mod + permission set to allow low level users to access part of the admin menu.
SP's admin variables are in the file but its language file is not being loaded for those user groups.
This edit simply loads the SP language file for them to circumvent the undefined errors.

Regards.
« Last Edit: May 18, 2015, 03:59:24 PM by Chen Zhen »

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #24 on: May 19, 2015, 08:58:03 AM »
Imo you have some mod + permission set to allow low level users to access part of the admin menu.
SP's admin variables are in the file but its language file is not being loaded for those user groups.
This edit simply loads the SP language file for them to circumvent the undefined errors.

Hmm I'll have to look into that and find out, shouldn't be any low levels with that access. If it's the case, I'm unaware and want/need to be aware.

I've applied the suggested language load fix and cleared my log files. I'll report back soon on how it works.

Thank you Chen Zhen

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #25 on: May 19, 2015, 11:22:12 AM »
So far so good. No errors reporting and there's been a decent level of forum traffic over the last few hours.

Hopefully not too quick to say, I think we may have resolved this.

Thank you again Chen! :)

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Large Occurrence of Undefined Index Errors
« Reply #26 on: May 19, 2015, 12:20:44 PM »
However, remember to check your permissions because what happened is not normal ;)
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #27 on: May 19, 2015, 01:00:09 PM »
However, remember to check your permissions because what happened is not normal ;)

Yeah I've spent the morning since saying I need/want to be aware going through and looking .. So far nothing, I've been going through the Permissions checking checkboxes .. If it's a mod that caused the conflict, not sure how to confirm which .. But the error logs are still empty - so I think definitely resolved on the code side. lol

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Large Occurrence of Undefined Index Errors
« Reply #28 on: May 19, 2015, 01:26:27 PM »
Mods list? :)
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #29 on: May 19, 2015, 02:11:11 PM »
Mods list? :)

Very long ... hahah ...  Though I've seen longer in my travels ...

1.   Activity in Profile   1.1     May 11, 2015, 01:19:10 PM   [ Uninstall ] [ List Files ] [ Delete ]
2.   Add Favicon.ico Support   1.101     May 11, 2015, 01:49:23 PM   [ Uninstall ] [ List Files ] [ Delete ]
3.   Add Table, Td, Tr Button   1.0     May 11, 2015, 01:22:16 PM   [ Uninstall ] [ List Files ] [ Delete ]
4.   Additional Profile Permissions   1.0.0     May 11, 2015, 01:06:49 PM   [ Uninstall ] [ List Files ] [ Delete ]
5.   AdditionalMembergroups   1.04     May 18, 2015, 11:46:04 AM   [ Uninstall ] [ List Files ] [ Delete ]
6.   Advanced News   1.2     May 11, 2015, 12:47:17 PM   [ Uninstall ] [ List Files ] [ Delete ]
7.   Autocomplete   0.3.4     May 11, 2015, 01:05:13 PM   [ Uninstall ] [ List Files ] [ Delete ]
8.   Ban Link in Post   1.1     May 11, 2015, 01:43:44 PM   [ Uninstall ] [ List Files ] [ Delete ]
9.   Better Profile Menu   1.8     May 11, 2015, 01:18:06 PM   [ Uninstall ] [ List Files ] [ Delete ]
10.   Bookmarks   2.5     May 11, 2015, 01:48:33 PM   [ Uninstall ] [ List Files ] [ Delete ]
11.   Custom Action Mod   3.2     May 11, 2015, 01:21:47 PM   [ Uninstall ] [ List Files ] [ Delete ]
12.   Customize *Child Board*   2.7     May 11, 2015, 01:25:17 PM   [ Uninstall ] [ List Files ] [ Delete ]
13.   dQuoteSelection   2.5 b2     May 11, 2015, 01:24:44 PM   [ Uninstall ] [ List Files ] [ Delete ]
14.   Dynamic_Memberlist   2.0.7     May 11, 2015, 01:25:49 PM   [ Uninstall ] [ List Files ] [ Delete ]
15.   Enhanced Dropdown   1.3     May 11, 2015, 01:19:56 PM   [ Uninstall ] [ List Files ] [ Delete ]
16.   Lazy Admin Menu   1.8     May 11, 2015, 01:19:28 PM   [ Uninstall ] [ List Files ] [ Delete ]
17.   Mibbit Ajax IRC Chat Mod   2.1     May 11, 2015, 12:46:41 PM   [ Uninstall ] [ List Files ] [ Delete ]
18.   Modified No Topics Message   1.1     May 11, 2015, 01:34:51 PM   [ Uninstall ] [ List Files ] [ Delete ]
19.   NChat   1.3.2     Today at 12:15:03 PM   [ Uninstall ] [ List Files ] [ Delete ]
20.   Order Custom Profile Fields   1.1.1     May 11, 2015, 01:24:25 PM   [ Uninstall ] [ List Files ] [ Delete ]
21.   Original Poster in Topic View   0.1.1     May 11, 2015, 01:21:23 PM   [ Uninstall ] [ List Files ] [ Delete ]
22.   PM Quick Reply   1.1     May 16, 2015, 01:37:04 PM   [ Uninstall ] [ List Files ] [ Delete ]
23.   Quick Moderation on Quick Reply   1.1.2     May 11, 2015, 01:26:50 PM   [ Uninstall ] [ List Files ] [ Delete ]
24.   Quick Spoiler   0.9.4     May 11, 2015, 01:21:02 PM   [ Uninstall ] [ List Files ] [ Delete ]
25.   ResizeImagesToFitScreen   0.1.6     May 11, 2015, 01:06:05 PM   [ Uninstall ] [ List Files ] [ Delete ]
26.   Semasa - Surfer's Live Local Time   1.0.0     May 11, 2015, 01:23:20 PM   [ Uninstall ] [ List Files ] [ Delete ]
27.   Signature Dropdown Choices   1.3     May 11, 2015, 01:06:25 PM   [ Uninstall ] [ List Files ] [ Delete ]
28.   Simple Theme Changer   1.0.2     May 11, 2015, 01:07:59 PM   [ Uninstall ] [ List Files ] [ Delete ]
29.   SimplePortal   2.3.6     May 11, 2015, 01:20:35 PM   [ Uninstall ] [ List Files ] [ Delete ]
30.   Slash through Banned Usernames   3.0     May 11, 2015, 01:44:38 PM   [ Uninstall ] [ List Files ] [ Delete ]
31.   SMF 1.1.21 / 2.0.10 Update   1.0     May 11, 2015, 10:00:24 AM   [ Uninstall ] [ List Files ] [ Delete ]
32.   SMF Arcade   2.6     May 11, 2015, 01:48:13 PM   [ Uninstall ] [ List Files ] [ Delete ]
33.   Sortable Packages (and Installed Time)   1.3.5     May 11, 2015, 11:14:03 AM   [ Uninstall ] [ List Files ] [ Delete ]
34.   Switch Permissions   1.0     May 11, 2015, 01:03:33 PM   [ Uninstall ] [ List Files ] [ Delete ]
35.   Tapatalk SMF 2.0 Plugin   4.2.4     May 11, 2015, 02:19:54 PM   [ Uninstall ] [ List Files ] [ Delete ]
36.   Topic Solved   1.1.1     May 11, 2015, 01:26:17 PM   [ Uninstall ] [ List Files ] [ Delete ]
37.   Transparent Offline Avatars   1.1     May 11, 2015, 01:44:12 PM   [ Uninstall ] [ List Files ] [ Delete ]
38.   Unknown Actions   1.0     May 11, 2015, 01:17:48 PM   [ Uninstall ] [ List Files ] [ Delete ]
39.   Users Online Today   2.1     May 11, 2015, 01:17:01 PM   [ Uninstall ] [ List Files ] [ Delete ]
40.   Yet Another YouTube BBCode Tag   2.4     May 12, 2015, 07:58:02 PM   [ Uninstall ] [ List Files ] [ Delete ]



SP, a brief-but-easily-fixed Tapatalk issue (CHMOD, my old nemesis) and a small conflict in my Additional Membergroups was created from the Ban Link mod -- otherwise, they all now work in perfect harmony according to the error log with this now-fixed SP issue being the last one lingering ...

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Large Occurrence of Undefined Index Errors
« Reply #30 on: May 19, 2015, 03:23:06 PM »
With all due respect, Tapatalk is garbage. It had many security issues, and nobody knows if it still has some. Plus, it is well known for causing different kind of troubles :/
I can't see anything else affecting permissions in a radical way either.

Btw, running 142 mods and a number of manual edits on my own forum :P No errors that I know of. Lack of functionalities instead :P
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Large Occurrence of Undefined Index Errors
« Reply #31 on: May 19, 2015, 04:03:56 PM »
dugganc,

  Possibly the Lazy Admin Menu or something permission related.
I am glad it is resolved to your satisfaction.

Regards.
« Last Edit: May 19, 2015, 04:11:11 PM by Chen Zhen »

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Large Occurrence of Undefined Index Errors
« Reply #32 on: May 19, 2015, 04:32:17 PM »
I do have that mod and it doesn't interfere with permissions (IMHO), it doesn't edit ManagePermissions.php, ref: http://custom.simplemachines.org/mods/index.php?action=parse;mod=3901;attach=241304;smf_version=2.0.10 ;)
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Large Occurrence of Undefined Index Errors
« Reply #33 on: May 20, 2015, 06:43:26 PM »
♦ Ninja ZX-10RR ♦,

  It does not necessarily have to be a mod that edits or adds hooks to adjust permissions.
What I meant was the allowance of access to part of the admin menu causing SMF to use the Admin.php menu.
I was leaning toward that specific mod because of this post:
http://www.simplemachines.org/community/index.php?topic=400767.msg2785613#msg_2785613
(look at SP edit)

It does not do this when I test it although it may be a combo of 2 factors.
No matter as it has been resolved with the provided edit.

Regards.
« Last Edit: May 20, 2015, 06:45:38 PM by Chen Zhen »

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Large Occurrence of Undefined Index Errors
« Reply #34 on: May 20, 2015, 10:11:23 PM »
Thank you for your kind explanation, I had missed that post (don't browse that site much other than for a few topics I need to check, mod support topics mainly, given the number of those that I have installed). Now it makes sense :)
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis

Offline dugganc

  • Semi Newbie
  • *
  • Posts: 18
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Large Occurrence of Undefined Index Errors
« Reply #35 on: May 20, 2015, 11:37:28 PM »
I see that language fix you gave me in there ... Perhaps that language inclusion would address a larger region of issues. Would it be something you could easily integrate into your mod to prevent others from experiencing this? There must be a number of other mods out there that could also create this conflict?

I think I was just seeing where part of the problem may be coming from that created the conflict in my particular situation - going back to your [Chen Zhen] idea about low-level users in the admin menu. The Advanced News package, the permission set to Edit News is within the Forum Administration block of the permissions screen. I have a couple mid-level groups that have only access to this feature.


Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1193
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Large Occurrence of Undefined Index Errors
« Reply #36 on: May 21, 2015, 12:27:14 AM »
Very much likely yes, I think we understood what caused this and that Chen Zhen's fix was and is correct once for all :)
Thank you for checking it, too.
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

? My job! ?No PMs for support unless it's a paid request. Thank you! :)#OpIsis