The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
FATAL ERROR: Invalid URL.
I am seeing this error pop up on my forum quite a bit from time to time.
When it occurs either the page is there but just with the error at the top or the page isn't with just the error or in the Admin CP (where it is most prone to happen) the content can be missing from either of the panes with the error at the top. Just wondered if anyone else has come across this? i use latest 4.x : vBulletin 4.2.3 pl 2 PHP 5.6.24 MySQL 5.5.50 (mysqli) Regards |
#2
|
||||
|
||||
<a href="http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/4019114-fatal-error-invalid-url" target="_blank">http://www.vbulletin.com/forum/forum...or-invalid-url</a>
Others have had the issue, but it doesn't seem like they ever figured out the root cause. |
#3
|
||||
|
||||
Its checking if the PHP $GLOBALS variable exists.
This is something that has always existed in php (and still does). It looks like they changed its behavior in php 5.4, so its not always initialized straight away, but it should always exist by the time that check runs. http://php.net/manual/en/reserved.variables.globals.php Quote:
|
2 благодарности(ей) от: | ||
MarkFL, RichieBoy67 |
#4
|
|||
|
|||
i had to comment the code to make it work
Code:
if (!is_array($GLOBALS)) { var_dump ($GLOBALS); //die('<strong>Fatal Error:</strong> Invalid URL.'); } No Thread specified. If you followed a valid link, please notify the administrator Sorry! This forum is not accepting new posts. |
#5
|
||||
|
||||
You will do.
The check stops the code proceeding completely, but if you allow it to proceed, its going to fail in many ways as $GLOBALS does not exist. |
#6
|
|||
|
|||
But if you allow it to proceed it fail 100% and i cant enter Admin Cp or see forums
is there any workaround? |
#7
|
||||
|
||||
Get your server (apache) fixed.
$GLOBALS is created by php, not vbulletin, if its missing then any php software is going to have problems. |
Благодарность от: | ||
RichieBoy67 |
#8
|
|||
|
|||
Quote:
Thanks. |
#9
|
||||
|
||||
Well to test that theory just disable that plug in and see if the issue still occurs.
|
Благодарность от: | ||
Simon Lloyd |
#10
|
|||
|
|||
Quote:
So far I've tried disabling all plugins, removing all suspect files and over writing all install files several times. But I haven't been able to fix this and I've had the problem for more than a year and a half. I've enabled maximum log levels (trace8 and E-ALL) in Apache and PHP but still no smoking gun. Even stranger I have two identical copies of vBulletin and plugins running different web sites off the same PHP and Apache installation but only one has ever had the problem. The only lead I have is that whenever I get the error or crash OpenSSL errors seems to be logged such as: OpenSSL: read 5/5 bytes from BIO#7fde28011fe0 [mem: 7fde48011463] (BIO dump follows) OpenSSL: read 26/26 bytes from BIO#7fde2c016610 [mem: 7fde3000dda8] (BIO dump follows) AH02001: Connection closed to child 128 with standard shutdown (server www.example.com:443) Also whether this might be related to a bug in mod_ssl with small chunked files, based on searches for the above. And that I can consistently reproduce the problem if I rebuild search with a number of items to update less than 5000, but if I use a number far in excess, say 10000, the problem happens much less often if at all. Could there be some link there? I don't know. PHP 5.6.29 using php5-fpm MariaDB 10.1.20 OpenSSL/1.0.1t Apache 2.4.10 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|