Yesterday's "silent" update

Index » Feedback

  • 1
 
Reply #1 - 2010 April 02, 7:07 pm
ファブリス Administrator
From: Belgium Registered: 2006-06-14 Posts: 4021 Website

Yesterday I did a "silent" update in that I didn't post it in the news area but I thought I would mention a few things.

This update has finally converted the live site to the open source codebase. That's really awesome because I finally have a "master" branch, along with "staging" and "develop".

If I want to try out something I can upload the "staging" branch to the staging site. So say if someone makes a little hack of the site's code and I like it enough, I can easily update the staging site without putting the live site at risk. If I break the live site, I can revert some recent changes and reupload a working version, finally!!

EDIT: now I really need a good way to automate uploading the site, but I don't know much about rsync or scp (?), anyone have good links to share?

As I did the update I found a 1GB error_log file from Php. Upon inspection, I realized there was a bug in the Story popup in the Flashcard Review page. Given the file size, people have come accross this error thousands of time but no one ever reported it since September! *cries* Anyway, if you ever saw a Fatal error message appearing in the story popup, that was a bug related to the story links (frame number links such as {123}). It should work fine now. At least I can see that it's being used a lot wink

The "Labs" page also moved to the live site, look for the "Labs" tab.

For those who saw the "maintenance" page yesterday, I have to admit that unfortunately I haven't found a better way to do it yet. Ideally, the maintenance page should not redirect to /maintenance.html, it should keep the original url, so that the user can keep on refreshing the page every 10 mins or so to see if it's back up. But I couldn't make HTTP status 504 or 301 work with a custom template for some reason. 504 displayed an unstyled  Apache server page.

Reply #2 - 2010 April 02, 7:51 pm
wccrawford Member
From: FL US Registered: 2008-03-28 Posts: 1551

Not to tell you how to program, but seriously...  Have it email you whenever someone gets an error.  That single thing has made me a God in the eyes of my bosses at work.

Reply #3 - 2010 April 02, 8:21 pm
Nukemarine Member
From: 神奈川 Registered: 2007-07-15 Posts: 2347

wccrawford wrote:

Not to tell you how to program, but seriously...  Have it email you whenever someone gets an error.  That single thing has made me a God in the eyes of my bosses at work.

Shouldn't that be god with a little g? God with a big g is usually in reference to a particular set of gods among Jews and Christians.

** Ignore this pitiful attempt to derail the thread, and good job Fabrice **

Advertising (register and sign in to hide this)
JapanesePod101 Sponsor
 
  • 1