News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Guest without IP adress?

Started by RML, December 09, 2018, 03:31:08 AM

Previous topic - Next topic

RML

From time to time I have errors in my error log generated by guest without IP adress. How is it possible to be online without having IP? My SMF version is 2.1 beta 4, not the latest github though, I set it up about three month ago, I'm waiting for the RC1 release to upgrade it. Today I found this in my error log.

Guest
Today at 00:29

f99546fc25def09cd292a7bf298b1c9f
Type of error: Critical
Wrong value type sent to the database. IPv4 or IPv6 expected.(ip)
Function: writeLog http://xxx/index.php?http://xxx.info/
/home/xxx/public_html/Sources/Logging.php (Line 164)

Guest
Today at 00:29

f99546fc25def09cd292a7bf298b1c9f
Type of error: Critical
Wrong value type sent to the database. IPv4 or IPv6 expected.(ip)
Function: is_not_banned http://xxx/index.php?http://xxx.info/
/home/xxx/public_html/Sources/Security.php (Line 226)

Guest
Yesterday at 23:08

a0cf7ed274c77a7e58b36271eee632f6
Type of error: Undefined
8: Undefined index: http://xxx/index.php?action=search
/home/xxx/public_html/Sources/Subs.php (Line 3051)

Guest
Yesterday at 23:08

a0cf7ed274c77a7e58b36271eee632f6
Type of error: Logins
Sorry, but you've reached your login attempts threshold. Please wait 30 seconds and try again later. http://xxx/index.php?action=search

Guest
Yesterday at 23:08

09e87635b2c83cb073fd6256c88192de
Type of error: Undefined
8: Undefined index: http://xxxx/index.php?action=loadeditorlocale
/home/xxx/public_html/Sources/Subs.php (Line 3051)

Arantor

You need to update. Fairly sure this is since fixed.

Kindred

Did we put ipv6 support into 2.0.15?   I didn't think that we did.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

No, but it is in 2.1 beta 4 as the OP says... but it's buggy because of all the rewrites of the schema etc. hence the need to update.

Kindred

I think i need new glasses. That's the third post where i thought the user was us8ng 2.0, not 2.1.

Eesh
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

RML

Thanks for your reply. I will upgrade and see if it will happen again or not.

SpacePhoenix

Quote from: Kindred on December 09, 2018, 03:43:35 PM
I think i need new glasses. That's the third post where i thought the user was us8ng 2.0, not 2.1.

Eesh

Should have gone to Specsavers! :P

RML

So, I upgraded my forum to 2.1 RC1 and found these in my error log this morning, all refer to Subs.php. All from a guest without IP adress.

Guest
today - 07:30

2: Invalid argument supplied for foreach()
2: array_reverse() expects parameter 1 to be array, null given
3803: foreach (array_reverse($context['template_layers']) as $layer)

2: Invalid argument supplied for foreach()
8: Undefined index: template_layers
3686: foreach ($context['template_layers'] as $layer)

8: Undefined index: is_guest
4708: elseif ($context['current_action'] == 'login2' || ($user_info['is_guest'] && $context['current_action'] == 'reminder'))
4626: 'show' => !$user_info['is_guest'],
4618: 'show' => $user_info['is_guest'] && $context['can_register'],

8: Undefined index: session_id
8: Undefined index: session_var
4694: $context['menu_buttons']['logout']['href'] = sprintf($context['menu_buttons']['logout']['href'], $context['session_var'], $context['session_id']);

8: Undefined index: language
4495: if (($menu_buttons = cache_get_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $user_info['language'], $cacheTime)) === null || time() - $cacheTime <= $modSettings['settings_updated'])

2: implode(): Invalid arguments passed
8: Undefined index: groups
4495: if (($menu_buttons = cache_get_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $user_info['language'], $cacheTime)) === null || time() - $cacheTime <= $modSettings['settings_updated'])

8: Undefined index: id
4484: $timeout = getNotifyPrefs($context['user']['id'], 'alert_timeout', true);
4475: user_menus.add("alerts", "' . $scripturl . '?action=profile;area=alerts_popup;u=' . $context['user']['id'] . '");', true);





Arantor

It would help to know what URLs are relevant here.


Advertisement: