The online racing simulator
LFS RacerOnlineScript
2
(46 posts, started )
How about firstly not retorting, and secondly not insulting people when saying how hurtful it is to be insulted.

I've only kept half an eye on this thread, and it seems you are getting far nicer treatment than you deserve.
if you can tell me who ive insulted besides vortex i will give you my truck....
#28 - Jakg
Zeugnimod, when you called him a faggot
not faggot as in gay faggot as in wierd

he was making fun of a joke i made....
#30 - Jakg
you still insulted him though

You called viper-gt a moron

cba to go back through another page of your posts
look at vipers post

even u would say that was moronic
Children, Children, Children, end your little squabbles, 'tis the season of peace and goodwill.
Don't make santa lock the thread and send you bans over the Xmas hols!
Quote from revolucio :I have a problem, the script say this error:



The website: http://www.xteam.andorhost.net ... _online/racers_online.php

First please check if your server provider allows access to external URLs for php.

To do this, create an empty php file (simply a text file), add the following content to it and rename it to "phpinfo.php"
<?php
phpinfo();
?>

Upload this to your webspace and open it via your browser. Look for (Ctrl+F) "allow_url_fopen". Check if this is set to be enabled (on, true, enabled or something like this) and report back
"allow_url_fopen", is eanbled, not like changing it

Please, help
Quote from revolucio :"allow_url_fopen", is eanbled, not like changing it

Please, help

This is strange.. well, please try the following:

Open the file racers_online.php and go to line 118 with the following code:
$hostlist = @file_get_contents('http://lfsworld.net/pubstat/get_stat2.php?version=1.3&idk=' . $identkey . '&action=hosts');

Please remove the "@" inside the line.

Now go to line 122 and also remove the "@" from
$hostlisthandle = @fopen('http://lfsworld.net/pubstat/get_stat2.php?version=1.3&idk=' . $identkey . '&action=hosts', 'rb');

This will enable you to see PHP error messages. Save the changes and upload them to your webspace. When you now open the script you should see an PHP error when calling the script. Please copy the output and paste it in here, so I can have a look at it.
[B]Warning[/B]: file_get_contents() [[URL="http://www.xteam.andorhost.net/racers_online/function.file-get-contents"][COLOR=#0000ff]function.file-get-contents[/COLOR][/URL]]: URL file-access is disabled in the server configuration in [B]/home/xtm/public_html/racers_online/racers_online.php[/B] on line [B]118[/B]

[B]Warning[/B]: file_get_contents([url]http://lfsworld.net/pubstat/get_stat2.php?version=1.3&idk=yL377dfcDFd4h7NUZfD21AMzNvWubSYA&action=hosts[/url]) [[URL="http://www.xteam.andorhost.net/racers_online/function.file-get-contents"][COLOR=#0000ff]function.file-get-contents[/COLOR][/URL]]: failed to open stream: no suitable wrapper could be found in [B]/home/xtm/public_html/racers_online/racers_online.php[/B] on line [B]118[/B]

[B]Warning[/B]: fopen() [[URL="http://www.xteam.andorhost.net/racers_online/function.fopen"][COLOR=#0000ff]function.fopen[/COLOR][/URL]]: URL file-access is disabled in the server configuration in [B]/home/xtm/public_html/racers_online/racers_online.php[/B] on line [B]122[/B]

[B]Warning[/B]: fopen([url]http://lfsworld.net/pubstat/get_stat2.php?version=1.3&idk=yL377dfcDFd4h7NUZfD21AMzNvWubSYA&action=hosts[/url]) [[URL="http://www.xteam.andorhost.net/racers_online/function.fopen"][COLOR=#0000ff]function.fopen[/COLOR][/URL]]: failed to open stream: no suitable wrapper could be found in [B]/home/xtm/public_html/racers_online/racers_online.php[/B] on line [B]122[/B]
Could not get data from LFS World due to an unknown problem.

Quote from revolucio :
[B]Warning[/B]: file_get_contents() [[URL="http://www.xteam.andorhost.net/racers_online/function.file-get-contents"][COLOR=#0000ff]function.file-get-contents[/COLOR][/URL]]: URL file-access is disabled in the server configuration in [B]/home/xtm/public_html/racers_online/racers_online.php[/B] on line [B]118[/B]

[B]Warning[/B]: file_get_contents([url]http://lfsworld.net/pubstat/get_stat2.php?version=1.3&idk=yL377dfcDFd4h7NUZfD21AMzNvWubSYA&action=hosts[/url]) [[URL="http://www.xteam.andorhost.net/racers_online/function.file-get-contents"][COLOR=#0000ff]function.file-get-contents[/COLOR][/URL]]: failed to open stream: no suitable wrapper could be found in [B]/home/xtm/public_html/racers_online/racers_online.php[/B] on line [B]118[/B]

[B]Warning[/B]: fopen() [[URL="http://www.xteam.andorhost.net/racers_online/function.fopen"][COLOR=#0000ff]function.fopen[/COLOR][/URL]]: URL file-access is disabled in the server configuration in [B]/home/xtm/public_html/racers_online/racers_online.php[/B] on line [B]122[/B]

[B]Warning[/B]: fopen([url]http://lfsworld.net/pubstat/get_stat2.php?version=1.3&idk=yL377dfcDFd4h7NUZfD21AMzNvWubSYA&action=hosts[/url]) [[URL="http://www.xteam.andorhost.net/racers_online/function.fopen"][COLOR=#0000ff]function.fopen[/COLOR][/URL]]: failed to open stream: no suitable wrapper could be found in [B]/home/xtm/public_html/racers_online/racers_online.php[/B] on line [B]122[/B]
Could not get data from LFS World due to an unknown problem.


Could you please copy & paste the output of your phpinfo() in here? Because this error tells that the remote access is denied, but this is normally restricted by allow_url_fopen()

I need a watch at your phpinfo (just send me this via pm)
Quote :allow_url_fopen Off Off

Ok, this is in your phpinfo(), so this is telling me, that your provider has allow_url_fopen turned off.. You can try 2 things to overwrite this setting:

After
include '_data_inc.php';

in racers_online.php add the following line:
ini_set('allow_url_fopen','1');

and try do open the page. If this still does not work, try overwriting this setting by creating a local file named .htaccess and add the following line:
php_flag allow_url_fopen 1

and upload it to the directory where your racers_online.php is located.

And if this also stil does not work, I'll work on a additional cURL based implementation as this is installed on your webserver as well as many others.
Follows without working, VorTeX3k :S
So still no result? In this case give me a bit time (max 2 days ) and I'll prepare a cURL based implementation.
Released new Version 0.8.5!!

Version 0.8.5 now supports the promised support of the PHP cURL library which allows to safely access external URLs and this even faster than using fopen or file_get_contents!

The download of the new version can be obtained using the following link:
LFS RacerOnlineScript Version 0.8.5 Beta
There's finally a new (small) update. I now released version 0.8.6 which adds the possibility to display offline users as well if you define this in your config.

To do this update to the latest version (see first page for download link at sourceforge) and add the following line to your config:

$showOffline = true;

2

LFS RacerOnlineScript
(46 posts, started )
FGED GREDG RDFGDR GSFDG