The online racing simulator
GCOMP (complete championship PHP application )
Hello,

it's time to release a complete championship PHP, Mysql application used many years on the French league, PLFS league, OPEN RACE TROPHY league. I write it many year ago and i never release it

Why i release it now? Because nobody in french community really want continue championship organisation and i think it's a shame to leave die this program. I hope this help you in championship organisation.

this sources are also under GNU licence:

Quote :
// 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 3 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, see <http://www.gnu.org/licenses/>.

unzip file, then open README.txt to view how to install it.

File:
http://www.lfs-lapper.org/download/gcomp/gcomp1.0.zip

it's not a clean distrib, it's only a zip file. If someone want to use it and continue to dev it, He can, but i want this app remain a freeware application.

You can have an overview of this application here ( only user view, admin it's not visible with this user ):

http://www.frh-team.net/gcomp/

use ORT choice

login : test
pass : test

Spec:
- Multi language
- LFSLapper interface, live qualification, live update of qualifying players list
- LFSStat interface to retreive result, Semi automated result entry
- Automated points system
- Complete Championship parameter
- Multiple championship
- Multiple race per championship
- Multiple round for race
- Multiple points for race
- Individual Ranking
- Team Ranking
- Country ranking
... And i forgot many, many specs
- Templates can be created, 2 default template provided.
- Use of block independant module ( included, tsmodule, lfsserverOn module )

CAUTION : no Update, no new release, this soft is released in this state

Use template.php parser from phpBB
Use Frank Oberlechner forms lib : http://www.oberlechner.net/
Use ADOdb Database Abstraction Library for PHP http://adodb.sourceforge.net/

Gai-Luron
It's a shame that nobody wants to organize championships anymore... I raced in a couple of races based in your gcomp platform, but never a whole championship, mainly because I didn't like the combos chosen all that much, or didn't have the motivation.

I did the Spanish translation (which could use some fixes) and I know there's a lot of work in this. Maybe the whole system was too complex, like having to register for every single championship instead of registering just once to a master platform and then manage all championships from within it.

I've been wanting to organize a couple af championships for a long time, but I never find the time to do it. Anyway, I think that this gcomp platform wouldn't suit my specific needs.

Loved the interactivity between gcomp and lfslapper though ;-) Your average lap time pre-qualifying system was a nice touch.
For person who send me a private message use this sql command to Add a record in fi_regro, needed or add it manualy with phpmyadmin

INSERT INTO `gcomp_fi_regro` (`id_fi_regro`, `lregro`, `banniere`, `affiche`, `visible`, `message`, `aide`) VALUES
(1, 'DEFAULT', '<img width="985" height="203" src="/UserFiles/Image/logofrance.jpg" alt="" />', '', 1, '','');


@MaKaKaZo
The power of Gcomp it's not in user interface, anyone can make better interface, the power is in all that is not visble to the end user. the automation in subcsribe, relation with LFSLapper, getting race result, calc points, race parameter. I don't know if manually you can set race result for 5 pool, calculate point and ranking, statistics, replays in less than one hour after races.
I never say Gcomp can fit in all type of championship but it's a good base and can be extended

Gai-Luron
I would say 10 minutes after races....

We still use it Gay
Please, can somente help me with the page index.php ?

when i access my gcomp page i get this error:

[B]Parse error[/B]: syntax error, unexpected T_VARIABLE in [B]/home2/gridlfsc/public_html/gcomp/index.php[/B] on line [B]4[/B]

and here, my index.php script:

<?php
session_start();
error_reporting(E_ALL)
$gcomp_root_path = "'/gcomp";

i've tried
$gcomp_root_path = ".";

and didnt work too

help!!! i googled it and ask friends but didnt work! i got the same error!
Maybe

<?php 
$gcomp_root_path 
"./gcomp";
?>

thank u i've tried what you said , didnt work then i restered default:

$gcomp_root_path = ".";

now i get this :

Warning: fopen(visit.dat) [function.fopen]: failed to open stream: Permission denied in /home2/gridlfsc/public_html/gcomp/index.php on line 48

Warning: fgets(): supplied argument is not a valid stream resource in /home2/gridlfsc/public_html/gcomp/index.php on line 49

Warning: fseek(): supplied argument is not a valid stream resource in /home2/gridlfsc/public_html/gcomp/index.php on line 51

Warning: fputs(): supplied argument is not a valid stream resource in /home2/gridlfsc/public_html/gcomp/index.php on line 52

Warning: fclose(): supplied argument is not a valid stream resource in /home2/gridlfsc/public_html/gcomp/index.php on line 53

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'gridlfsc_admin'@'host.sdserver8.com' (using password: YES) in /home2/gridlfsc/public_html/gcomp/include/adodb/drivers/adodb-mysql.inc.php on line 358
Access denied for user 'gridlfsc_admin'@'host.sdserver8.com' (using password: YES)

Fatal error: Call to a member function FetchRow() on a non-object in /home2/gridlfsc/public_html/gcomp/index.php on line 147

I'm trying to use this app. But, i got white screen every time. No error, no parses, nothing...

Someone can help...
@juniox_dias - Permission denied. Change chmod's to visit.dat file. Maybe make it temporary 777.
hmm i changed it to 777, it was 744 but, didnt work too. =/

now, im getting blank page the same as @Skinzinho

but, thank you for help.
I don't know which file is executed by default but you can try adding (after <?) this code:
ini_set('display_errors', 'true');
error_reporting(E_ALL);

Quote from misiek08 :I don't know which file is executed by default but you can try adding (after <?) this code:
ini_set('display_errors', 'true');
error_reporting(E_ALL);


hmm, i put this code you said on index.php, look the link its in blank :
http://gridlfs.com.br/gcomp/

thank u for helping
I get the same blank page. Does anyone has fix this issue?
You have to add a default regro in the table g_compt_fi_regro.

INSERT INTO `gcomp_fi_regro` (`id_fi_regro`, `lregro`, `banniere`, `affiche`, `visible`, `message`, `aide`) VALUES
(1, 'MY REGRO', '', '', 1, '', '')
It is possible to reupload this file?

FGED GREDG RDFGDR GSFDG