|
|
|
 |

October 29th, 2003, 07:32 AM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: PBW Emergency Site files v1.51 Finished and fixed.
All is well ( I thought there was a bug but I had forgotten to update my own site....  )
I need to find a way to make the page refresh every time it is visited.
The meta tag I'm using now doesn't seem to work.
And I don't want it to refresh every X second.
And I don't want to use Java, only HTML or PHP.....
EDIT 1:
Problem seems solved, stand by for ver 1.52 coming soon. (hours)
EDIT2:
Nope not that easy!
Edit3:
I've tried:
code:
<script language=" JavaScript" ><!--
function MyReload()
{
window.location.reload();
}
//--></script>
Then change your <Body> to say;
<Body onLoad=" MyReload()" >
and
code:
<META HTTP-EQUIV="Pragma" CONTENT="no-Cache">
<META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 31 Dec 2001 23:59:59 GMT">
Still don't work.
If players after uploading their turnfiles doesn't press refresh on their browsers they think the upload has failed!
Needs to fix this!
[ October 29, 2003, 08:05: Message edited by: Ruatha ]
|

October 30th, 2003, 10:29 PM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: PBW Emergency Site files v1.51 Finished and fixed.
Ruatha,
Problems with the 1.51 files on my game. I can't change the admin password. Get errors in the log:
[30-Oct-2003 16:14:30] PHP Warning: fopen(password.php): failed to open stream: Permission denied in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/setpassword.php on line 5
[30-Oct-2003 16:14:30] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/setpassword.php on line 10
[30-Oct-2003 16:14:30] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/setpassword.php on line 11
[30-Oct-2003 16:14:30] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/setpassword.php on line 12
[30-Oct-2003 16:14:30] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/setpassword.php on line 14
Also, the link to download turn files and clear the directory doesn't work. I get a 404 error on that one.
The button to upload the new gamefile works partialy. It uploads teh new game file, but it doesn't move the old one to the backup folder. I end up with both of them in the gamefile directory. Not sure if the players get their email. I am checking on that.
error log for this one:
[30-Oct-2003 16:19:48] PHP Warning: fopen(deadline.txt): failed to open stream: Permission denied in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/nextturn.php on line 195
[30-Oct-2003 16:19:48] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/nextturn.php on line 197
[30-Oct-2003 16:19:48] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/nextturn.php on line 198
[30-Oct-2003 16:19:48] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/nextturn.php on line 199
[30-Oct-2003 16:19:48] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/nextturn.php on line 200
[30-Oct-2003 16:19:48] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/nextturn.php on line 201
[30-Oct-2003 16:19:48] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/nextturn.php on line 203
[30-Oct-2003 16:19:48] PHP Warning: fopen(history.html): failed to open stream: Permission denied in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/nextturn.php on line 210
[30-Oct-2003 16:19:48] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/nextturn.php on line 213
[30-Oct-2003 16:19:48] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/nextturn.php on line 215
News update does not work:
[30-Oct-2003 16:31:52] PHP Warning: fopen(news.html): failed to open stream: Permission denied in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/set_news.php on line 7
[30-Oct-2003 16:31:52] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/set_news.php on line 8
[30-Oct-2003 16:31:52] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/set_news.php on line 9
[30-Oct-2003 16:31:52] PHP Warning: fopen(history.html): failed to open stream: Permission denied in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/set_news.php on line 13
[30-Oct-2003 16:31:52] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/set_news.php on line 14
[30-Oct-2003 16:31:52] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/set_news.php on line 15
[30-Oct-2003 16:31:52] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/set_news.php on line 16
[30-Oct-2003 16:31:52] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/spaceemp/public_html/pbw/geoschmo/kothasvge/set_news.php on line 17
Geoschmo
[ October 30, 2003, 20:33: Message edited by: geoschmo ]
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|

October 31st, 2003, 07:23 AM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: PBW Emergency Site files v1.51 Finished and fixed.
Hi, sorry Geo.
The upload button doesn't move the old file, it stays there as backup until the directory is cleared (stupid but so is it), the players will still get the right file though.
All the others is due to missing files, my fault, thought they where included in the older Versions but in some they where not.
Here is the fixed archives:
(Geo, use the patch below, not getuptodate!)
patch 1.5 fixed
complete 1.5 fixed
Getuptodate
[ October 31, 2003, 06:11: Message edited by: Ruatha ]
|

October 31st, 2003, 07:40 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: PBW Emergency Site files v1.51 Finished and fixed.
Nice work!
[ October 31, 2003, 14:04: Message edited by: Imperator Fyron ]
|

October 31st, 2003, 08:10 AM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: PBW Emergency Site files v1.51 Finished and fixed.
NB:
After applying the patch, remember to enter (OR RE-ENTER) manually the data in MAIL.PHP.
i e;
SMTP, account and YES,
if you wish to use auto mail functions.
This file is intended for the server owner and is therefore not accessible from the web with ver 1.
[ October 31, 2003, 12:01: Message edited by: Ruatha ]
|

October 31st, 2003, 05:28 PM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: PBW Emergency Site files v1.51 Finished and fixed.
Ruatha,
I still cannot get any of the admin functions to work. I get the admin page, but nothing I do there has any effect on the files and I get the same errors I was getting before.
TO make sure it wasn't a missing file or somethign I made a new folder and put a fresh install of the 1.51 complete files in it. Same deal. Can't change admin password, or game details, or anything.
Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|

October 31st, 2003, 07:20 PM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: PBW Emergency Site files v1.51 Finished and fixed.
Ok, I think it's some settings the host must propably do on the server.
You don't seem to have permission to change those files.
I'd think that as uploads of turnfiles is allowed it would be allowed to change the other files aswell.
But ask Fyron to check his settings for the gamedirectory aswell, now it's propably only the turnfiles directory that is open.
As it works on my server it (propably..) has to be that.
Do you still get that 404 error on downloading?
If so I guess it's the same problem, the script isn't allowed to make that file.
I guess ver 2 might be ready sooner than expected, and then the server just needs to open a subdirectory games and all it's subdirectories, not the folder where the scripts are located as in ver 1.
I understand that is no comfort now, but there is nothing I (think) can do about these errors, now it's up to the server owner (I hope).
Thanks Fyron, but here is my pride and joy:
http://pbw.ath.cx/betafiles/new/index.php
Admin password "ett"
Feel free to set up and delete games, but leave the NGC3 game as that is my testgame (It's not the actual NGC3 game but as I can use those plar files it makes things easier for me..)
[ October 31, 2003, 17:38: Message edited by: Ruatha ]
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|