I fixed the bugs in dependency to cURL. Now everything works fine. The link for the hot-fixed version 0.9.2b can be obtained at the link in the first post.
Why don't you install VirtualPC on your Mac? Yes, I know, thats pretty slow, but ok, you just need to view the skin, nothing else Or you virtualize a Windows using Parallels.. Then you share a folder of your Mac partition for this Virtual PC or virtualiziation and this is where you can put your skins, load the into the skin viewer running in an virtualized XP and thats it :P
I know it's annoying, but I'm doing it like this, too
Uhm.. I think this error will be hard to track.. It seems that the stat function sometimes has some problems on Windows servers. I also have a Windows server running but without any problems..
I'll see what I can do as workaround, will come back to this topic
Thanks for the compliment and THANKS A LOT (!! very much thanks ) for your translation!
I am currently working on the 1.0 release. This will then include the language file.
The language file itself will also be available via the SourceForge project page ( http://lfswebsitetools.sourceforge.net )
Well one solution could be that someone (for example me ) host the script for you and you include it using an iframe (yeh, I know, thats ugly), or someone (also possibly me) makes a script that is providing xml output and you fetch the result using JavaScript..
since these days (yesterday or today) there seems to be a problem with LFS world pub stats?
When I for example call the following URL
http://lfsworld.net/pubstat/get_stat2.php?version=1.3&idk=<IDENT KEY HERE ;) >&action=hosts
i simply get "no output".
What does this mean? Saw this while use of my RacerOnlineScript and thought it would be some problem using this, but even if I try to manually make this LFSW request, I get this error.
Thanks a lot for this. Hope you can do this work somewhen later again? Because currently the both included language files are obsolete as they are the old ones from my LFS ServerScript, they are currently not used. But as I said, I'll implement this as fast as possible and then come back to you! Thanks!
My LFSW Server Script has gone BETA and thus now has publically been released! Version 0.9.0 will be the first version presented to the public eye. It also contains additional support of the cURL library, such as my LFS RacerOnlineScript, which makes accessing LFS World much more faster and more secure and this even with allow_url_fopen disabled.
LFSW ServerScript is a PHP script for retreaving all information about a server from LFS World.
Features:
Read out all server informations, including server status, LfS version, number of online users, current racers online, selected track, allowed cars, race length and qulification length
Display information about as many servers as you want
List of all present drivers
Correct formatting of servername and racernames
Creation of LfS Join link
Uses caching for better performance and lower LFS World traffic usage
Ident Key enabled
Fast and secure access of LFS World even with allow_url_fopen disabled! (using cURL) new!
Fallback mode to fopen / file_get_contents if cURL is not installed new!
Multi-language support new!
The script requires webspace with PHP functionality.
All you have to do is to configure the file "_data_config.php" included in the archive, which includes all informations about the server(s). Afterwards you can upload all files and use it.
// Update:
Since the newest version, multi-language support has been implemented. You are welcome to provide any other translations!
Hope you all enjoy the new version and please report any problems to me!
Readme.txt
LFSW Server Script V0.9.2b Beta ================================================= Written by Sebastian "Octrin.VorTeX" Bauer, 2006-2007
LICENSE: ========= This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
This is the first version of my Server Script that is using LFS World support. As many users don't have a server that allows FTP access I took the time to rewrite my script and make it use LFS World.
The script is easy-to-use. Simply edit all settings in the _data_inc.php file. You will find all information needed to configure this script inside this file!
IMPORTANT: LFSW ServerScript requires the folder where it is saved to be writable for the webserver. Under Unix systems it means, that the folder MUST be CHMOD 777.
The Join2LFS-Link, which will be created with the servername requires the viewer of the website to have Join2LFS installed on the system. Join2LFS is a free browser extension developed by Holger Reitner (formerly known as "cr4cy!C3"). You can find the download using the following URL: http://lfstools.crazyice.net/pafiledb/pafiledb.php?action=file&id=57
Have fun with this script, if you have any questions, suggestions or found any bugs, please contact me at our forum, by ICQ or email.
You will find updates of this script and some other tools made by me at http://blog.gjl-network.net
If you want to stay informed about updates, you can sign in to my LFS script mailing list by writing an empty mail with the subject subscribe to [email protected] Problems can also be discussed inside the mailinglist.
Changes in Version 0.3: - Fixed a major bug where the (not yet implemented) rule bytes haven't been skipped
Changes in Version 0.4: - Added LFSW ident key support (updated function update_check() for this) - Implemented use of "$showInfo[]" array to help the user customizing his script - Implemented checking of RULE bytes. (Determine if SELECT, VOTE, QUALIFY, PRIVATE, MIDRACEJOIN and MUSTPIT are set on the server) - Enabled multiple server support - Fixed behaviour if when server was not found (is offline)
Changes in Version 0.4.2 ALPHA - Enabled ident key to be required - Updated LFSW url to version 1.3 - Fixed bug for showing "All" instead of every single car. - Fixed bug in HTML generation of get_rules() - Show 'none' if qual == 0
Changes in Version 0.4.3 ALPHA - Changed behavior for color code parsing
RELEASE 0.9.0 BETA (Milestone) - Added fast and secure HTTP access of LFS World using cURL
Changes in Version 0.9.2 Beta - Implemented multilanguage support including English and German lanuage file.
Changes in Version 0.9.2b Beta - Fixed detection of cURL which caused a fatal PHP error if cURL is not installed.
To Do: - Bugfixing lapcount problem (DSK Server shows proper lapcount, Octrin does not. both without racers on)
---------------------------------------------------- (C) 2006-2007 by Sebastian "Octrin.VorTeX" Bauer
Special thx fly out to: - Octrin.cr4zy!C3 for additional information about the LfS color mapping. - All alpha testers! - misjka for a lot of good suggestions :)
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!
If you use FTP, the script also accesses a FTP server, HTTP does the same but accessing the data through HTTP. Those are different protocols and runnning in different servers.
So for example if you have a default HTTP access configured to http://blah.test it may be configured in the HTTP server to point to the local directory "C:\webserver\http" whilst the same domain as FTP (so port 21) (ftp://blah.test) could be configured in the FTP server to point to "C:\ftp dir".
So it is no "must" that an address accessed via FTP or HTTP point to the same direction.
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.