1

(6 replies, posted in PunBB 1.2 troubleshooting)

Old thread but...

Connorhd wrote:

overhead is not really a problem it can be fixed by optimising it but your forum works now http://forums.firefusion.org/

It is a problem if you're running an unattended backup script as I am. The backup was stopping at 'online' because the table (presumably) had problems and the script includes a 'halt on an error' which also includes an email report function.

When I went in to repair the table via PhpAdmin, the only tool available was 'Flush'. No 'Repair' or 'Optimize'. That had me stumped for a while until I realised that the table type was 'HEAP'. Resetting it to 'MyISAM' gave me back the missing 'Repair' and 'Optimize' tools which I duly ran and the backup is now working fine again.

What confuses me is why this table was set to type 'HEAP'. The backup script I use does an online 'Check & repair' and it can't handle HEAP tables yet it's been running fine for about 2 months - so I only assume that the table type was reset somewhere between 2am on 24/05 and 2am on 25/05!

Any ideas as to how this could have happened? It's a tiny forum that's hardly used.

You can change the CSS generated images to a standard icon images (eg. a .gif) by making changes to both main.css and your specific CSS sheet but how/when those images change is buried in the PunBB scripts themselves.

In your main css file, sub-section 10.1, change:

div.icon {
    float: left;
    margin-top: 0.1em;
    margin-left: 0.2em;
    display: block;
    border-width: 0.6em 0.6em 0.6em 0.6em;
    border-style: solid;
}

to:

div.icon {
    float: left;
    display: block;
    width:(width of icon in pixels);
    height:(height of icon in pixels);
}

In your imported sheet, foo_cs.css, sub-section 5, change:

div.icon {
    border-color: #e6e6e6 #dedede #dadada #e2e2e2;
}

to:

div.icon {
    background:transparent url(path_to_icon_image);
}

That should do the trick.