|
|
|
 |

October 28th, 2003, 04:06 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.
For all who has older Versions than 1.4 and need all files except CONFIGURATION.TXT DEADLINE.TXT and PLAYERDATA.TXT
here is your Version:
Get up to date to ver 1.5
It's the same as patch 1.5 but with MAIL.PHP included.
MAIL.PHP is the configuration file for automatic mails sent out from the server.
If you've already set up auto mails in MAIL.PHP use patch 1.5 instead.
(In MAIL.PHP data for the SMTP server and server mail account is entered, and auto mail must be enabled manually there to work!)
Hmm, I realized something - there was a Bug:
When turn was uploaded, deadline was old deadline + lenght of deadline, should be current time+ deadline length.
Is fixed now in all three archives.
Latest Version is now 1.51 (in zipfiles 1.5)
[ October 28, 2003, 14:56: Message edited by: Ruatha ]
|

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
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
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
|
|
|
|
|