Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2013, 11:24 AM
AK47- AK47- is offline
 
Join Date: Apr 2012
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default A required field called ip is missing or has an invalid value?

Members are getting this error.

Code:
A required field called ip is missing or has an invalid value.

How would i fix the problem?
Reply With Quote
  #2  
Old 03-04-2013, 01:27 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try temporarily disabling plugins to see if it goes away. If it doesn't then it sounds like you have a database problem. What does the rest of the error message say?
Reply With Quote
  #3  
Old 03-04-2013, 02:02 PM
AK47- AK47- is offline
 
Join Date: Apr 2012
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Try temporarily disabling plugins to see if it goes away. If it doesn't then it sounds like you have a database problem. What does the rest of the error message say?
When i visit a thread i get this error



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

Update: I disable all plugins via config and the problem still occurs.
Reply With Quote
  #4  
Old 03-04-2013, 02:22 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, OK - I assumed it was a database error, but it's not. I'm not sure what causes that error. (hopefully someone else has an idea).

Edit: OK, I think it might be the "Who Read a Thread" feature, which is turned on under "Thread Display Options" in the admincp settings. But I don't understand why it wouldn't work. Did this just start happening, or did you make any changes to your site recently?
Reply With Quote
  #5  
Old 03-10-2013, 06:13 PM
GamerPerfection's Avatar
GamerPerfection GamerPerfection is offline
 
Join Date: Feb 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting the same error message on my site. However, it's extremely strange.

On my computer if i am logged in to the forum I get this error on every thread I view. However, if I logout of the forum and view it as a guest then I can see all threads.

The next odd thing is that I don't have the problem on my Samsung SIII, however I did experience the problem on my phone a few days ago.

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

I fixed it! All I did was re-upload class_core.php.

I noticed in the version I had up it contained this:

Code:
       if ($proxy)

      {


          define('ALT_IP', $this->ipaddress);


          define('IPADDRESS', $_SERVER['HTTP_X_FORWARDED_FOR']);


      }


      else


      {


          define('IPADDRESS', $_SERVER['HTTP_X_FORWARDED_FOR']);


          define('ALT_IP', $this->alt_ip);
But the version from the original vBulletin 4.2.0 PL3 download contained this:

Code:
if ($proxy)

{


define('ALT_IP', $this->ipaddress);


define('IPADDRESS', $this->alt_ip);


}


else


{


define('IPADDRESS', $this->ipaddress);


define('ALT_IP', $this->alt_ip);
All I can put it down to is this Mod: https://vborg.vbsupport.ru/showthread.php?t=231873
However, the instructions it gave didn't require me to change that specific text, so I am confused as to how the text changed from the original version.

But now i've re-uploaded class_core.php the error seems to be gone and I can log in to the admincp ok. So if anyone experiences this problem then give that a try.
Reply With Quote
  #6  
Old 10-10-2013, 05:43 PM
paolo de rosa paolo de rosa is offline
 
Join Date: Sep 2013
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good evening,
we have the same problem with version 4.2.1
you can help us to find a solution?
thanks in advance
Reply With Quote
  #7  
Old 10-10-2013, 07:32 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paolo de rosa View Post
good evening,
we have the same problem with version 4.2.1
you can help us to find a solution?
thanks in advance
Have you installed or updated any MODs lately? If so can you list them here, several of us are trying to find the source of the error -- additional data will help.

Thank you

I will of course post our findings.
Reply With Quote
  #8  
Old 10-11-2013, 08:50 AM
paolo de rosa paolo de rosa is offline
 
Join Date: Sep 2013
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Have you installed or updated any MODs lately? If so can you list them here, several of us are trying to find the source of the error -- additional data will help.

Thank you

I will of course post our findings.
we have only two plugins:
"Tapatalk" (which will remove when we use ForumRunner)
"Usergroup Color Bar" version 2.1.1 "

We have already disabled the plugin with
"define ('DISABLE_HOOKS', true);" in the file "config.php"
but does not work the same.
Thanks in advance
Reply With Quote
  #9  
Old 10-17-2013, 07:29 AM
paolo de rosa paolo de rosa is offline
 
Join Date: Sep 2013
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Have you installed or updated any MODs lately? If so can you list them here, several of us are trying to find the source of the error -- additional data will help.

Thank you

I will of course post our findings.

Can you help us to find a solution, please?
Regards
Reply With Quote
  #10  
Old 10-30-2013, 10:27 AM
paolo de rosa paolo de rosa is offline
 
Join Date: Sep 2013
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good morning,
I try to add the Proxy addresses are allowed in the config.php file:

/* #### Reverse Proxy IP ####
If your use a system where the main IP address passed to vBulletin is the address of a proxy server
and the actual 'real' ip address is passed in another http header then you enter the details here */

/* Enter your known [trusted] proxy servers here. You can list multiple trusted IPs separated by a comma.*/
//$config['Misc']['proxyiplist'] = '127.0.0.1, 192.168.1.6';
$config['Misc']['proxyiplist'] = 'XX.XX.X.XX, XXX.X.XXX.XXX';

/* If the real IP is passed in a http header variable other than HTTP_X_FORWARDED_FOR, then you can set the name here; */
$config['Misc']['proxyipheader'] = 'HTTP_X_FORWARDED_FOR';
//$config['Misc']['proxyipheader'] = 'HTTP_X_REAL_IP';

I try to replace the following string in the file class_core.php:

if ($proxy)
{
define('ALT_IP', $this->ipaddress);
define('IPADDRESS', $this->alt_ip);
}
else
{
define('IPADDRESS', $this->ipaddress);
define('ALT_IP', $this->alt_ip);
}

define('SESSION_HOST', substr(IPADDRESS, 0, 15));


with this:

if ($proxy)
{
define('ALT_IP', $this->ipaddress);
define('IPADDRESS', $this->alt_ip);
}
else
{
define('IPADDRESS', $this->ipaddress);
define('ALT_IP', $this->alt_ip);
}
if (strpos(IPADDRESS, ',') !== false) {
$array_ip = explode(",", IPADDRESS);
define('SESSION_HOST', trim($array_ip[1]) );
} else define('SESSION_HOST', substr(IPADDRESS, 0, 15));

This string identifies the public IP address from which the request is.
This change was made because, in the event that the proxy has the "X-Forwarded-For" active, passes two IP addresses and the previous string does not interpret correctly the IP.
For example:
"YY.YYY.YY.YYY, XX.X.X.XX" (this is sent by the proxy) becomes "YY.YYY.YY.YYY, ".
The comma is found in the string makes it unrecognizable IP address.

Despite all this, still does not work.

I have a question:
there is another configuration file that defines the parse IP address?
If yes, can you tell me, please, what is?
Regards
Reply With Quote
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 06:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04242 seconds
  • Memory Usage 2,260KB
  • 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
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete