Go Back   Novahq.net Forum > Games > Delta Force

Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-05-2017, 07:49 PM
~BLÃÐE~ is offline ~BLÃÐE~
Registered User

Join Date: Dec 2004
Location: Gold Coast, Australi
Posts: 241

Send a message via ICQ to ~BLÃÐE~
DFLW Babstats

I got the file from
http://www.novahq.net/files.php?ID=108

I have 2 files, app + zip
Zip contains babstat files, make new folder Babstats and extract it all into it, upload folder, install....

Problem is i get errors on the site
Code:
Notice: Undefined variable: HTTP_POST_VARS in /home/novaoutp/public_html/Babstats/getvars.php on line 17

Notice: Undefined variable: HTTP_COOKIE_VARS in /home/novaoutp/public_html/Babstats/getvars.php on line 23

Notice: Undefined variable: HTTP_GET_VARS in /home/novaoutp/public_html/Babstats/getvars.php on line 29

Notice: Undefined variable: HTTP_SERVER_VARS in /home/novaoutp/public_html/Babstats/getvars.php on line 35

Notice: Undefined variable: HTTP_ENV_VARS in /home/novaoutp/public_html/Babstats/getvars.php on line 41
Also nothing happens when you click the links Killl Stats/Weapons Stats..
Also no Admin section, should be on bottom left but i have nothing there?

Anyone know what might be going on?
Reply With Quote
  #2  
Old 04-05-2017, 08:31 PM
ÇÕLÐFÜSÎÓN is offline ÇÕLÐFÜSÎÓN
Registered User

Join Date: Mar 2017
Posts: 2

maybe there is a newer/fixed version of babstats somewhere?

since HTTP_*_VARS were removed since php 5.4.0
http://php.net/manual/en/ini.core.ph...er-long-arrays
Reply With Quote
  #3  
Old 04-05-2017, 10:40 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

Quote:
Originally Posted by ÇÕLÐFÜSÎÓN View Post
maybe there is a newer/fixed version of babstats somewhere?

since HTTP_*_VARS were removed since php 5.4.0
http://php.net/manual/en/ini.core.ph...er-long-arrays
This is correct. Bab Stats is very old and making it compatible with newer versions of PHP takes a lot of work. Those php verbs haven't been used since like php 5.3. I do not know of another version of BAB stats that works with newer versions of PHP. My host tool does support almost all stats, but nothing for it like bab stats exists quite yet.

You could try replacing the contents of that getenv.php file with something like this:

Code:
	<?php

	if($_POST)   foreach($_POST   as $Key=>$Value) $$Key = $Value;
	if($_GET)    foreach($_GET    as $Key=>$Value) $$Key = $Value;
	if($_COOKIE) foreach($_COOKIE as $Key=>$Value) $$Key = $Value;
	if($_SERVER)   foreach($_SERVER   as $Key=>$Value) $$Key = $Value;
	if($_ENV) foreach($_ENV as $Key=>$Value) $$Key = $Value;

	?>
But I would recommend you isolate that babstats install so they can't get into anything else on your server.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #4  
Old 04-06-2017, 04:32 AM
~BLÃÐE~ is offline ~BLÃÐE~
Registered User

Join Date: Dec 2004
Location: Gold Coast, Australi
Posts: 241

Send a message via ICQ to ~BLÃÐE~
Thanks Scott, got rid of the errors.
I think i will give this one a miss, just getting to old without lots of coding to bring it up to date.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 -5. The time now is 09:33 AM.




Powered by vBulletin®