| |
Perff Administrator
Posts: 1677 |
CSDb moving to a new server
Hi everyone.
I've been planing to move CSDb to a new server for some time now, as the old one was getting old. :)
As the new server is running new versions of php etc. I need to recode bits and pieces, which is why it has been going a bit slow.
Then today I got a mail from my hosting company, telling me that the old server is flashing red. They say it's a pending hardware failure. :(
Hopefully nothing will happen before I get CSDb moved, but I will for sure not have the time to test everything as good as I wanted, so be prepared for misc. stuff acting wierd when I get it moved.
The worst case is that the old server suddenly crash, and data will be lost.
I'll make sure to take backups often, and transfer them to the new server, to make the loss of data minimal in this case, but I though you should know this is a possibility.
Anyway, hope to see you soon on the new server. :)
|
|
... 46 posts hidden. Click here to view all posts.... |
| |
Nafcom
Registered: Apr 2002 Posts: 588 |
Quote: Quoting SkateMaybe you can just disable PHP warnings if there are no side effects.
I just died a little reading that.
So how are people supposed to know there's an error and report that then? Some errors could also be browser related? I am not sure Klaus has all the browsers on this planet to test |
| |
chatGPZ
Registered: Dec 2001 Posts: 11352 |
its not even about testing. php is shitty enough as is, you really dont have to make your code even shittier by ignoring warnings and errors =) |
| |
Perff Administrator
Posts: 1677 |
php is shitty..??
Never thought of it that way, but yes, php allows you to do a lot of things in an unsecure way to make it easy, and this was one of the problems with this move.
They are starting to clear out some of the worst of those "features", which i gladly used back in the days when coding CSDb in the first place. :)
Roughly estimated, I had to fix 1500 lines of code all around. :) |
| |
bepp
Registered: Jun 2010 Posts: 265 |
Good work Perff! We really enjoy the BLAZING speed of the new server and updated codez! Yummy! |
| |
hedning
Registered: Mar 2009 Posts: 4720 |
When trying to upload files:
"Problems with file server. Probably down. :( (Errorcode: 4)
Please try to upload again later." |
| |
Perff Administrator
Posts: 1677 |
Should work again now. :)
Thanks for reporting. |
| |
bepp
Registered: Jun 2010 Posts: 265 |
Still can't reference SIDs from latest HVSC. I know it has prolly nothing to do with the server switching. But it would be nice to have it fixed =) |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1408 |
Nice work, Perff!
Also, *rofl* @ Perplex :) |
| |
Skate
Registered: Jul 2003 Posts: 494 |
Quote: So how are people supposed to know there's an error and report that then? Some errors could also be browser related? I am not sure Klaus has all the browsers on this planet to test
listen mr.smartass, i'm using PHP from its first release and there is a simple rule for PHP.
1) Enable all messages (even notices) at your development platform.
2) Disable all messages except errors (sometimes even errors) on production machine. why? to avoid hacks! hackers like to use these messages and there are some tricky ways to learn some hidden information generating warning/error messages (like learning the database user name and bruteforce the password etc.).
That warning was about using objects as array keys. Possible workaround is converting them to string or using a string function which accepts objects like trim(). That's not a big deal. PHP already does the convertion automatically but generates a warning just like many compilers does the same for type convertions (possible loss of data etc.).
Please note that PHP wasn't generating this warning up to a certain version. Since I haven't seen any part of CSDB source code, i thought arrays could have been used with object keys at many places. So, if fixing this problem everywhere was hard, just disabling the warnings wouldn't be a problem since production server configuration meant to be like this.
edit:
example url for you
http://aymanh.com/checklist-for-securing-php-configuration#erro.. |
| |
Nafcom
Registered: Apr 2002 Posts: 588 |
I don't think insulting people is really smart either. Oh and it was MagerValp who first wrote a comment in this way, not me (I just agreed on him). I am pretty sure Perff knows what's the best to do. |
Previous - 1 | 2 | 3 | 4 | 5 | 6 - Next |