The online racing simulator
Searching in All forums
(90 results)
D34N0
S3 licensed
Quote from Bean0 :I get this error when clicking the green ticks from the Quick Find page

Fatal error: Class 'zipfile' not found in /var/www/virtual/bean0.com/htdocs/setups/includes/general.class.php on line 234

Also, could you make it so that level 3 users can add fuel data, but not delete ?

Strange one that I am unable to replicate it.
Does zip.class.php exist in includes folder?.
What version of php are you running?
Are you using something like XAMMP ?
It's as if it cannot find the class within the zip.class file.
I will upload a new version to my webspace to see if I can replicate it.
D34N0
S3 licensed
New Version in the First Post.

Thanks To HorsePower for the Ideas that lead to this mini glut of updates

v0.963 - BETA
- Amended setups required page. Added row of car headings to the bottom of the table. Tag added to tick image to show combo
- Thanks to "HorsePower" for the Ideas of Guest login, Quick Find and the above.
- Amended quick find page argument handling and the title of the display table
- Amended the way the member status page changes from LFS colour codes to HTML codes. Using code supplied by Victor
If using dark background on website look in general.class.php and change "case 7 : $type = "#808080"; return $type; Break; "
- Documentation updated
D34N0
S3 licensed
New version uploaded to the first post.

v0.960 - BETA
- Added Quick Find function. It uses the Required/Missing sets page. Clicking on a Tick shows setups for that combo
- Moved the code for creating zip files and showing users pubstats to general class file
- Amended the find setups page to use the code moved to the general class file
- Amended language files to include Quick Find
- Documentation updated
D34N0
S3 licensed
First Post updated with new version fixing the issue poined out by HorsePower.

v0.954 - BETA
- Fixed bug where userlevel 3 would logout when clicking the change profile link
D34N0
S3 licensed
Hi HorsePower
Quote :Ok, maybe an additional menu button "quick find setups" with this inferno-like table would be a good solution. So each user can decide which page he wants to use for the search.

In the find setups page you are able to read the comments, which is nice. But you have to do 2 selections to specify a certain combo. In the quick finder you will be able to access a combo with 1 click (but not read any comment until after that click). This click should then lead you to the usual find setup page but with the combo selected in the search criteria.

OK. how about the Quick Find link takes you to the required/missing sets page and when you click on a tick then it displays the sets for that combo in a new page, as described in my last post about me creating a new page when this version is stable

Your english is very good.
Dean
D34N0
S3 licensed
Hi HorsePower
Quote :#1) The inferno-like table doesn't show the track names, only the cars.

I will look into it but works fine on my machine. Please check the track short name data has been added to the stn_tracks table field.
Quote :#2) User with level 3 get logged out when they try to change their profile.

I will check this also looks like I haven't updated the access rights on that page.
Quote :The inferno-like table could also be used to quickly select the setups, one is searching for.

I had thought of that but the program phpMyEdit does not allow filtering of pages from external links. I will need to create a different page to do this without using phpMyEdit, once this version has become stable.
Quote :Maybe an additional menu point "quick find" or something like that would do it. Or just a link next to the "download all setups"-link.

I do not understand what u mean as once in the find setups page you can quickly search by using the query button.

All Ideas are welcome and are considered for inclusion.
Regards
Dean
D34N0
S3 licensed
Updated version of the setup station in the first Post
- Added Guest login facility. Can be enabled/disabled see manual
- Added New userlevel 3. This allows view, upload sets and profile change
- Change the Required/Missing setup page to view in one table similar idea to Team Inferno
- CSS file updated for new Required/Missing setup page
- New images added to images folder
- Documentation updated
D34N0
S3 licensed
Hi HorsePower

1)
Quote :is it possible to implement the possibility of a guest account?

It is certainly possible. I will look into implementing it.

2)
Quote :In the german translation, the logout-link was commented out. Why?

I must have forgot to remove the comment when working in a different version. Will correct in next update.

3)
Quote :I noticed, that every user (admin or not) can change/rename/delete every uploaded setup. I would like to allow some people to upload their sets, but not change anything in the database (except their own profile).
I think this could be easily achieved by introducing a new user level.

Again possible and will look at adding the extra userlevel rather than the more complicated option.

4)
Quote :The menu "missing setups" could contain a inferno-like table. That would be a lot easier to check than this endlessly long table.

Nice Idea and again I will look at adding this.

Thanks for the sugesstions
Dean
D34N0
S3 licensed
Quote from joen :You mean his last race information? The one on april 24th?

Just realised and updated my last post... oops too eager lol
D34N0
S3 licensed
Quote from GP4Flo :I doubt very much that this will be a physic update. A compatible patch is more likely because it's still "U".

I agree but are they also adding those hideous fins on the BF1 and testing.
Last edited by D34N0, .
D34N0
S3 licensed
A new version has been uploaded in the first post.

v0.94 - BETA
- Added check for SQL Injection in trigger files
- Added a blank index.html to folders to stop direct acces to them

Any other problems please let me know.

Dean
D34N0
S3 licensed
A new version has been uploaded in the first post.
This corrects the issue spotted by St4Lk3R in the post of 25th June and also changes the way the version number is displayed.

Any other problems please let me know.

Dean
D34N0
S3 licensed
Quote from duke_toaster :Nothing, it just wasn't in the list. Doh.

BTW, I haven't installed it yet as the hosting hasn't got the MySQL database yet.

OK. The reason it is not in the list is because most teams will use only the main tracks, even Team Inferno do not include BL3 in their list
I will think about including it it the next update.
D34N0
S3 licensed
Quote from duke_toaster :I ment autocross, as in the car park.

Whats stopping you adding the track?

Code = BL3
LFSW Pubstats Code = 020 (IIRC)
Name = Blackwood Car Park
Last edited by D34N0, .
D34N0
S3 licensed
Quote from duke_toaster :I'll put an OSR one up when our hosts (Race Sim Central) pop a MySQL database on our bit of the server.

Please could we have codes for the drag strip and autocross in the system?

The track AU4 should already be in and all the rallyX tracks are there. If you want to add these tracks to your version then you can. Use the admin pages. See the manual. Track Table menu option
D34N0
S3 licensed
St4Lk3R Thanks for spotting that. Both PME and I have different language files. I should have realised that the triggers would use the PME language fileillepall . I left my laptop at work so will look at resolving this over the next couple of days. It shouldn't be that hard I know where to get the file from and use the correct translated words

Many Thanks
Dean
Last edited by D34N0, .
D34N0
S3 licensed
Quote from Bean0 :I got a different error with the new file, but have managed to solve it myself I think.

I looked at the other files and changed line 11 from
$PageClass->CheckUserLevel("0"); // Zero = all levels

to
CheckUserLevel("0"); // Zero = all levels

And it seems to be working ok now.

I'm new to this php lark, so if thats going to cause any issues please could you let me know

Thats fine , Well spotted and thank you for posting it. I forgot I had moved the function (Doh)

Files have been Updated again

Regards
Dean
Last edited by D34N0, .
D34N0
S3 licensed
Quote from Bean0 :Have found a small problem...

When you try and rename a setup, it requires a file 'check_access.php' which isn't included in the download

Thanks Bean0
My mistake illepall Thats what you get for having 3 versions (I was testing a different user group validation)

Attached is the corrected file. To all those who have downloaded the setupstation please update using this file.

I have also updated the first post zip file with the corrected file.

Regards
Dean

EDIT: File updated in First post and post below
Last edited by D34N0, .
D34N0
S3 licensed
Quote from HorsePower :The database is setup correctly and all the options are set, but when I try to login for the first time as admin, the login screen just reloads and nothing else happens. No error messages occur.

Beause the Login page reloads it appears to be querying the database, and it is at this point it is redirecting to another page. I had the same problem when it was not able to find the page redirecting too. Try using Firefox and it should tell you the page being redirected to may not load.

Is the istallation of XAMPP using PHP 5.x? If so then I know version 5 handles classes differently. The station has been tested on version 4.3 to 4.4.1 as this range is used by alot of ISP's.

Dean
D34N0
S3 licensed
Quote from HorsePower :Hi,

I'm trying to test your Setup Station on my PC (I'm using XAMPP).

The database is setup correctly and all the options are set, but when I try to login for the first time as admin, the login screen just reloads and nothing else happens. No error messages occur.

What am I doing wrong?

Thx for any help!

Hi

It sounds like the redirection is not happening properly. Have you completed the installation as per the manual Page 3 found in Documents folder?
If I installed the setupstation on localhost in a folder called station then
var $domain should be : var $domain = "http://localhost/station"

Dean
D34N0
S3 licensed
Quote from filur :Swedish, kind of.

Thanks for doing the translation.
I will post the file in the first post when completed.
What do you mean Swedish kind of?

Dean
D34N0
S3 licensed
Quote from Tunaaja :ok. I didn´t know how that works.

I have spare complain :P
If you open www.host.com/setupstation/includes with your browser you can get sql login & password.
So i create .htaccess file at includes directory:
<Files *>
Order Deny, Allow
Deny from ALL
</Files>

OK. I have tried it on my localhost and ISP, both deny access without the .htaccess file they are running php 4.4.1 & 4.3 respectively must be a config setting. I will look into adding the .htaccess file.

Thanks
Dean
D34N0
S3 licensed
Quote from Tunaaja :Thank you for fixing that.
I have allso other problem
If i click members status it says "Couldn´t get hostlist. Click to retry..."

Did you get a valid Ident Key from LFSW? This normally happens when it is unable to connect with LFSW or more than one request (from the same PC) made to LFSW the within 5 seconds. See Tarpitting in LFSW - My LFSW settings - Pubstats

Dean
D34N0
S3 licensed
Quote from CrazyICE :nice man, very nice

but one problem here...
can't open the ZIP file AllSetups.zip...

a error pops up:
"no valid zip archive"...

don't know why...maybe it's only on my PC...

and, you forgot to write in the install doc that the folder
setups should be chmodded 777...

/EDIT:
one thing:
how can i log off?

Thanks, glad you like it
I've had no problems with the zip file try installing WinZip or WinRAR on your PC. Did it work after the chmod?
Will add chmod into the install doc.
Logoff by using the link called Logout it should be the First link on the left
D34N0
S3 licensed
Quote from Tunaaja :I have a problem.
If i try to add member it doesnt encrypt password and member cant login.
php is on freebsd-server and sql is mysql on linux-server.

Other things work

Hi Tunaaja

Thanks for pointing that out. I forgot to add the encryption code illepall

To save you downloading the files again copy the file in the attached file into the Triggers folder on your server. Would you also amend the version number in the page.class.php file in the Includes folder to 0.92.

See first post

Many Thanks
Dean
Last edited by D34N0, .
FGED GREDG RDFGDR GSFDG