SliTaz SliTaz Forum

You are not logged in.

#1 2012-10-16 10:40:50

tropetre
Member
Registered: 2012-07-06
Posts: 79

Website down: Fixed

Hi, I'm not sure if I've missed something but the main page seems to be down, but the forum and all works as usual.

Is there some work in progress?

Offline

#2 2012-10-16 10:45:46

tropetre
Member
Registered: 2012-07-06
Posts: 79

Re: Website down: Fixed

Website seems to be OK but the source views no body other than the <body> tag. The hg says the file is okay but the PHP doesn't seem to be working (http://hg.slitaz.org/website/file/bfd760e0dbe1/index.php)

Offline

#3 2012-10-16 13:00:48

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Website down: Fixed

We know. It happened after I made a commit to config.php. Even reverting to a last know good state did not fix it. What bother's me is that the changes should have had NO damaging effect what so ever. Also locale pages seem to work: http://www.slitaz.org/en/

My best guess? A bad hg pull that corrupted something important or maybe even a bad commit that I didn't see. Either way, be best thing we can do is do a clean install or pull of the website.

Still I think hg is a bit excessive: 18Mb of commit history data for a ~5Mb directory. And people wonder why I prefer git.

Offline

#4 2012-10-16 15:38:22

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Website down: Fixed

@trixar: Where was a conflit in your commit.

Tip of the day: commit checklist just before commit & push

$ hg pull -u ; hg diff

One push after each commit and you can uncommit with

$ hg rollback

EDIT:

Maybe the conflit was local on www.slitaz.org

Somebody (me?) had edited config.php ...

Offline

#5 2012-10-16 20:04:00

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Website down: Fixed

No, it wasn't your commit. All it did was empty the cooking related php varibles, which shouldn't have had any effect except disable cooking downloads.

Didn't need a update since I just cloned it from the repository. I reverted changes to the last good copy by you using the hg revert -r command. I tried to fix the issue caused the day before that broke the get pages. It still makes very little sense to why either broke, but my changes only made matters worse.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.024 seconds, 8 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]