Author Topic: New Server  (Read 35482 times)

0 Members and 30 Guests are viewing this topic.

Des

  • Administrator
  • Platinum Member
  • *****
  • Posts: 10252
Re: New Server
« Reply #15 on: April 29, 2012, 13:23:00 PM »


We"ll be speaking to the techies next week.


CGI naughtiness more apparent today unfortunately Des, had it once yesterday first accessing the forum then it was fine after the inital refresh of the page... today getting it lots :(

Couple of pointers for the switch it off and back on guys...


Possible solution 1 :

1) Set
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Script Map]
".php"="your path to php\\php.exe"

2) ensure there is not a php.ini in the windows system folder and that there is one wherever you"ve put PHP

3) edit php.ini and set cgi force redirect to 0 and
cgi.rfc2616_headers = 1

4) Put the PHP scripts in their own folder underneath the inetpub root

5) Open the IIS console, right click your new php folder
In the Directory tab
set application name to the name of the folder
set executable and script as permission
set application protection to low
Click configuration and check that .php is mapped to wherever you put PHP

Restart IIS



Possible solution 2 :

Install PHP under IIS as an ISAPI module and not as a CGI processor



Possible solution 3 :

If running PHP version 4.3.3, upgrade to latest as it seems to be a common problem under this version

x



Thanks Phil, I"ll pass this on and await further excuses before finally throwing my toys out and introducing a one page main site midweek, while migrating the forum to a separate url.
Email: des@apat.com
Facebook: Des Duffy
Twitter: Des Duffy

Des

  • Administrator
  • Platinum Member
  • *****
  • Posts: 10252
Re: New Server
« Reply #16 on: April 29, 2012, 14:04:02 PM »

I pretty much agree with Phil"s post above regarding the php.

Failing that, I suggest hitting it with the largest hammer you can find.

That may not improve the situation, but will make you feel a whole lot better.   ;)


This has been forwarded for consideration also...

;)
Email: des@apat.com
Facebook: Des Duffy
Twitter: Des Duffy

ian.ski309

  • Gold Member
  • ****
  • Posts: 977
Re: New Server
« Reply #17 on: April 29, 2012, 17:23:04 PM »
I got here briefly earlier this afternoon via the F5 button, then my computer threw a wobbler and died via the blue screen of death  :(
APAT European Team Championships 2009 - Gold Medal


"The gambling known as business looks with austere disfavor upon the business known as gambling." - Ambrose Pierce

Shogun112

  • No Mail
  • Gold Member
  • *
  • Posts: 898
  • www.rooms-direct.co.uk
    • www.rooms-direct.co.uk
Re: New Server
« Reply #18 on: April 29, 2012, 17:25:46 PM »
I had the same problem once before with SMF on a windows based web server.  PHP was not really written for Windows based servers, is sort of mdified to fit, and quite badly sometimes.  After changing lots of php settings and not working, I moved the SMF install onto a Linux web server and all problems with CGI disappeared forever..!!

Also, how can you go through the process of chaning onto a new server and not upgrade to the newer version of SMF. 1.1.2 is listed as insecure and easily hackable.  Those being blocked in releases 1.1.8 and later.
www.rooms-direct.co.uk if you want some discount email me and tell me you are from APAT.

Des

  • Administrator
  • Platinum Member
  • *****
  • Posts: 10252
Re: New Server
« Reply #19 on: April 29, 2012, 21:32:07 PM »

I had the same problem once before with SMF on a windows based web server.  PHP was not really written for Windows based servers, is sort of mdified to fit, and quite badly sometimes.  After changing lots of php settings and not working, I moved the SMF install onto a Linux web server and all problems with CGI disappeared forever..!!

Also, how can you go through the process of chaning onto a new server and not upgrade to the newer version of SMF. 1.1.2 is listed as insecure and easily hackable.  Those being blocked in releases 1.1.8 and later.


We shouldn"t forget that the APAT forum has run without issue for several years. It was also upgraded twice during the recent migration process but both had to be abandoned due to problems brought about by the upgrade.

I would like to separate the forum away from the main site to reduce instances of both being unavailable when there is a problem on the main site and vice versa.  This would be an invisible change for members.  When this is done we will upgrade our smf version.   Over the next couple of days the techies will tweak what we have to improve base performance.

Bizarrely I"ve found site performance to be generally very good over the last couple of days.
Email: des@apat.com
Facebook: Des Duffy
Twitter: Des Duffy

AJDUK

  • Gold Member
  • ****
  • Posts: 896
Re: New Server
« Reply #20 on: April 29, 2012, 22:03:03 PM »
that is bizzare because i for one am constantly pressing f5 etc to make the damn thing work; frustrating but i"m sure you"ll crack it eventually
England Captain WCOAP 2014 - Come on England!!!!

Shogun112

  • No Mail
  • Gold Member
  • *
  • Posts: 898
  • www.rooms-direct.co.uk
    • www.rooms-direct.co.uk
Re: New Server
« Reply #21 on: April 30, 2012, 00:03:57 AM »

that is bizzare because i for one am constantly pressing f5 etc to make the damn thing work; frustrating but i"m sure you"ll crack it eventually


Same - 10 refreshes just now to get past the error....

www.rooms-direct.co.uk if you want some discount email me and tell me you are from APAT.

Des

  • Administrator
  • Platinum Member
  • *****
  • Posts: 10252
Re: New Server
« Reply #22 on: April 30, 2012, 16:31:43 PM »
A configuration amend has been made, can you let me know how the site is performing for you now?
Email: des@apat.com
Facebook: Des Duffy
Twitter: Des Duffy

gerry5421

  • Gold Member
  • ****
  • Posts: 793
    • Troon PC Tech
Re: New Server
« Reply #23 on: April 30, 2012, 16:39:03 PM »

A configuration amend has been made, can you let me know how the site is performing for you now?


Big Difference , now , thanks Des
Gerry
Glasgow Club Captain Div 2 Champions 2011
sign up here
http://www.apat.com/forum/index.php?topic=8298.0
APAT Scottish Online Championship 2010 Bronze

MintTrav

  • Staker Licensed Player
  • Platinum Member
  • *****
  • Posts: 4265
Re: New Server
« Reply #24 on: April 30, 2012, 16:42:02 PM »

A configuration amend has been made, can you let me know how the site is performing for you now?


Couldn"t get on at all today until a few minutes ago but fast as anything now.
5th place - Portsmouth Snooker Club £10 rebuy

Liz Lieu borrowed my pen - 01/06/2013

pables

  • Staker Licensed Player
  • Platinum Member
  • *****
  • Posts: 1417
  • JACK7SUITED on Grosvenor
Re: New Server
« Reply #25 on: April 30, 2012, 17:00:25 PM »


A configuration amend has been made, can you let me know how the site is performing for you now?


Couldn"t get on at all today until a few minutes ago but fast as anything now.


+1
WCOAP online Omaha Bronze 2009
WCOAP Stud Gold 2010
UK Team championship 2011 individual Silver
WCOAP 2015 Team championship silver with IRELAND
WCOAP 2016 Irish silver
WCOAP 2018 PLO D/C Bracelet
WCOAP 2018 ROE silver
WCOAP 2019 Mix max Bracelet
European Team event 2019 Silver with team Ireland

Shogun112

  • No Mail
  • Gold Member
  • *
  • Posts: 898
  • www.rooms-direct.co.uk
    • www.rooms-direct.co.uk
Re: New Server
« Reply #26 on: April 30, 2012, 17:19:47 PM »
different error now....

"Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later. "
www.rooms-direct.co.uk if you want some discount email me and tell me you are from APAT.

Chipaccrual

  • Administrator
  • Platinum Member
  • *****
  • Posts: 11339
    • APAT
Re: New Server
« Reply #27 on: April 30, 2012, 17:36:24 PM »
Keep getting this

Connection Problems

Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

PHIL_TC

  • Administrator
  • Platinum Member
  • *****
  • Posts: 1908
Re: New Server
« Reply #28 on: April 30, 2012, 18:27:44 PM »
All ok for me at the mo... crossing fingers......
Winner of 1 gold, 2 silver & 1 bronze medals.
Proud member of team England '11 & '12 (Home Internationals) & team APAT  '11

Now pretty much poker retired, but available to help feed / sub the APAT server hamsters now & again.

http://pokerdb.thehendonmob.com/player.php?a=r&n=101148

Curlarge

  • Regional Captain
  • Platinum Member
  • *****
  • Posts: 1786
  • I wish I was as good as someone better than me!
Re: New Server
« Reply #29 on: April 30, 2012, 18:30:47 PM »
Couldn"t get on at all, since Friday I think.
APAT Season 6 statistics
APAT Live Events 8, Attended 8, Final Tables 0, Cashes 0, Ranking Points 0, Having a word with myself 1.