Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2017, 12:20 AM
boxingscene boxingscene is offline
 
Join Date: Sep 2004
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default IPV 6 IPs, Rate Threads Issue

Having an issue on 3.8 where users are unable to rate threads. One thing in common, IPV6 IPs.

I'm unable to rate a thread on cell phone, either. Same error.

"a required field called <em> ipaddress </em> is required is missing or has an invalid value"

Any ideas on a workaround?
Reply With Quote
  #2  
Old 01-10-2017, 01:00 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version of vB exactly ?

What is the full error message ?
Reply With Quote
  #3  
Old 01-10-2017, 02:50 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

He is running 3.8.2. I advised him to upgrade to at least 3.8.8 and see if problem persist, he had sent me a pm asking this question before I seen his thread.

Google shows this.
Reply With Quote
  #4  
Old 01-10-2017, 04:34 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I doubt upgrading will fix it, although of course you should try and run the latest version anyway.

Without the full error message we dont know what line its failing on.
(I could take a good guess, but I prefer proper information to guessing).
Reply With Quote
  #5  
Old 01-10-2017, 06:29 PM
boxingscene boxingscene is offline
 
Join Date: Sep 2004
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
I doubt upgrading will fix it, although of course you should try and run the latest version anyway.

Without the full error message we dont know what line its failing on.
(I could take a good guess, but I prefer proper information to guessing).
I posted the full error message.


"a required field called <em> ipaddress </em> is required is missing or has an invalid value"

It has to do with the IPV6 IP, because any time I use my cell phone that happens and most users getting that error are using cell phones as well.

Not getting that error on PC after testing with four different browsers.

Only happens with thread rating.
Reply With Quote
  #6  
Old 01-10-2017, 07:57 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boxingscene View Post
I posted the full error message.
"a required field called <em> ipaddress </em> is required is missing or has an invalid value"
Hmmm, A full php error or warning would have a filename and line number, I guess that must be something vB itself is generating. I'll look at the code when I'm at home.
Reply With Quote
  #7  
Old 01-10-2017, 10:17 PM
boxingscene boxingscene is offline
 
Join Date: Sep 2004
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Hmmm, A full php error or warning would have a filename and line number, I guess that must be something vB itself is generating. I'll look at the code when I'm at home.
Not a mysql error or a php error. Just an error popup that VB shows when I try to rate a thread.

--------------- Added [DATE]1484096089[/DATE] at [TIME]1484096089[/TIME] ---------------

Will raising varchar field length from 15 to 40 in ipaddress field in post have any negative effect?
Reply With Quote
  #8  
Old 01-11-2017, 12:49 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boxingscene View Post
Will raising varchar field length from 15 to 40 in ipaddress field in post have any negative effect?
You need to use VARCHAR(45), not 40, and no it wont have any negative effect.
This is already done for some IP fields in 4.2.4 onwards, and I'll look at adding some more.

However, from inspecting the code, doing so wont fix the above issue, as its the IP validation function thats failing, it only works for IPv4.

Thats something I will look at fixing in the current vB3/vB4 Beta & RC versions.
Reply With Quote
Благодарность от:
MarkFL
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06409 seconds
  • Memory Usage 2,234KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete