phpBB upgrade killed the style.

About this bulletin board and the Pale Moon website

Moderators: FranklinDM, Lootyhoof

User avatar
Moonchild
Project founder
Project founder
Posts: 38922
Joined: 2011-08-28, 17:27
Location: Sweden

phpBB upgrade killed the style.

Post by Moonchild » 2012-02-04, 23:48

OK.. so much for the phpBB "upgrade" that "takes modified files into account". It destroyed the changes I made to the Pale Moon forum style and planted a default fugly prosilver instead. I'll have to pull the changed style out of backup and restore it - tomorrow. last time I use the updater.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

lyceus

Re: phpBB upgrade killed the style.

Post by lyceus » 2012-02-05, 03:20

Maybe you would like to test that in a sandbox before apply the patches.

User avatar
Moonchild
Project founder
Project founder
Posts: 38922
Joined: 2011-08-28, 17:27
Location: Sweden

Re: phpBB upgrade killed the style.

Post by Moonchild » 2012-02-05, 09:03

Can't be done.
This nipped me in the butt because the edited style was apparently NOT stored in the style files, but in the database. They were overwritten when the database was "upgraded" for the new version. You can't sandbox that unless you set up an entire mirror to the site.
I'll have to find a way to pull this data back out of a .sql file now, somehow, from one of the database backups
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Moonchild
Project founder
Project founder
Posts: 38922
Joined: 2011-08-28, 17:27
Location: Sweden

Re: phpBB upgrade killed the style.

Post by Moonchild » 2012-02-05, 10:30

OK, a session of manual unescaping of 75k text, exporting and importing later, i think I got it repaired. I will NOT make this mistake again. :evil: :x

I also wrote the phpBB folks a rather annoyed message about this. here they have this elaborate system of providing merges of changed files which works well, but they failed to take into account a database-stored style sheet with is more likely to be edited by administrators when styling their bulletin board than digging into raw files.

EDIT: (lobocursor) Whoops wrong button, sorry for that. I restore the original post.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

lyceus

Re: phpBB upgrade killed the style.

Post by lyceus » 2012-02-06, 02:57

Looking on some PHP forums, I see that few ones use proprietary styles and just select one of the build in ones. So why they though that nobody make the effort for made look different their boards.