The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
This bug suddenly appeared today and i have no idea from where it come from, did did disable my hook and still the issue existed.
Whenever i try to rate a topic, i can't because of this error Code:
A required field called <em>ipaddress</em> is missing or has an invalid value. http://www.vbulletin.com/forum/forum...-prompts-error Any idea what would cause it and how to fix it? |
|
#2
|
||||
|
||||
|
Lets try this:
Edit your includes/class_core.php file and find: Code:
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));
}
Code:
if ($proxy)
{
define('ALT_IP', $this->ipaddress);
define('IPADDRESS', $_SERVER['HTTP_X_FORWARDED_FOR']);
}
else
{
define('IPADDRESS', $this->ipaddress);
define('IPADDRESS', $_SERVER['HTTP_X_FORWARDED_FOR']);
}
define('SESSION_HOST', substr(IPADDRESS, 0, 15));
}
|
|
#3
|
||||
|
||||
|
Hi Chris, what is this change related to, like what does it do?
It was related to my modem, i restarted it and it works but it is pretty weird that i never experienced this bug before |
|
#4
|
||||
|
||||
|
Ok then I would disregard the above. If restarting you modem worked, then for some odd reason the server could not read your IP address.
The above fix I suggested was just a test, as it was reported to work elsewhere for a similar issue. |
|
#5
|
||||
|
||||
|
ok thanks (: i will add it if this issue comes back.
|
|
#6
|
||||
|
||||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|