My server ladder

Post here if you need help setting up your server, etc.
User avatar
Tannermon11
Average Program
Posts: 86
Joined: Tue Sep 18, 2007 1:11 am

Re: My server ladder

Post by Tannermon11 »

Getting an error when I try copying to C:\xampp\htdocs\ladder
Also when I downloaded xampp, I went into c:\xampp\htdocs and there was no ladder folder so I made one.
! C:\Documents and Settings\Tanner\Local Settings\Temp\index.zip: Unknown method in index.php
! C:\Documents and Settings\Tanner\Local Settings\Temp\index.zip: No files to extract

When I click index.zip I open with WinRAR.ZIP
then I see index.php but for some reason it's showing as notepad and I can't do anything with the index.php.
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: My server ladder

Post by AI-team »

1.WinRAR sucks

2.the version I attached should work now
Attachments
index.zip
(1.39 KiB) Downloaded 172 times
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
Tannermon11
Average Program
Posts: 86
Joined: Tue Sep 18, 2007 1:11 am

Re: My server ladder

Post by Tannermon11 »

I noticed one thing on localhost/ladder. I got 3 errors.


Warning: file(C:\Documents and Settings\Tanner\Application Data\Armagetronar\won_rounds.txt) [function.file]: failed to open stream: Invalid argument in C:\xampp\htdocs\ladder\index.php on line 69

Warning: file(C:\Documents and Settings\Tanner\Application Data\Armagetronar\won_matches.txt) [function.file]: failed to open stream: Invalid argument in C:\xampp\htdocs\ladder\index.php on line 70

Warning: file(C:\Documents and Settings\Tanner\Application Data\Armagetronar\ladder.txt) [function.file]: failed to open stream: Invalid argument in C:\xampp\htdocs\ladder\index.php on line 71

and it isnt recording the data from server onto ladder
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: My server ladder

Post by AI-team »

You suck at entering window's paths
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
Tannermon11
Average Program
Posts: 86
Joined: Tue Sep 18, 2007 1:11 am

Re: My server ladder

Post by Tannermon11 »

define('PATH_TO_VAR',"C:\Documents and Settings\Tanner\Application Data\Armagetron\var");

edit: I saw above it dont forget to use \\ , \ will not work
use \\ where all the \ are?



2nd edit: I put \\ where all the \ are and it worked :P
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: My server ladder

Post by AI-team »

Nice to hear that :D
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
Post Reply