I have no idea, I'm not using it atm, so can't show it to you.

It just adds a page, the main functionality of the board isn't affected.

Well, it's still an ugly hack, but I don't know of a better way to fix it atm.

704

(13 replies, posted in PunBB 1.2 troubleshooting)

Maybe you're not a moderator/administrator?

705

(2 replies, posted in PunBB 1.2 troubleshooting)

http://punbb.org/forums/viewtopic.php?pid=94110#p94110

To be honest, I have no idea. Do you intend to have a large forum?

707

(6 replies, posted in Programming)

Your problem is that you need to declare a variable global at the start of every function. Even in classes. So put
global $db;
as the first line of your function and it'll work.

Dreamweaver, but I don't let it generate my CSS.

709

(23 replies, posted in General discussion)

Did you actually add any hooks?

This is probably an ugly hack, but try this instead of the current line 149 in search_idx.php:

$db->query('INSERT INTO '.$db->prefix.'search_words (word) VALUES'.implode(',', preg_replace('#^(.*)$#', '(\'\1\')', $new_words)).' On DUPLICATE KEY UPDATE word = word') or error('Unable to insert search index words', __FILE__, __LINE__, $db->error());

Hrmm, that's odd. Try running the following query in phpMyAdmin:

TRUNCATE TABLE prefix_search_words

Replace "prefix_" with your prefix.

Then try rebuilding the search index again.

Rebuilding the search index should help. It'll do nothing special, but if you have a large forum it could take a while.

713

(19 replies, posted in PunBB 1.2 troubleshooting)

Your smilies display in IE, but just really, really small =/

Try completely removing the width="" height="" part.

What is the full error with debug mode enabled?
And try rebuilding your search index.

715

(35 replies, posted in PunBB 1.2 troubleshooting)

PunBB doesn't use transactions AFAIK. And closing a non-existant connection should issue a mere warning.

716

(35 replies, posted in PunBB 1.2 troubleshooting)

Could you try running an unmodded version?

717

(2 replies, posted in PunBB 1.2 discussion)

1.3 isn't even in public alpha/beta yet, so no point in adding it unless they have a special section for it.

718

(35 replies, posted in PunBB 1.2 troubleshooting)

Hrmm, just a wild guess, but does your server configuration have any special settings for images?

719

(35 replies, posted in PunBB 1.2 troubleshooting)

Have you looked in the error and access log? According to this line:
[Sun May 06 16:47:42 2007] [error] [client 82.110.105.8]   adding: tactical-gaming.co.uk-error_log

There is another one that might have more info?

Do you have miniportal or something like that?

721

(9 replies, posted in Programming)

I don't see how it's unpractical: it shows the error perfectly.
And you can always install Console², that allows you to filter errors.

722

(9 replies, posted in Programming)

They work about the same as in PHP; You can escape them, put special characters (\n) in double quotes, ...

And if something doesn't work, I suggest you open up your error console wink

723

(9 replies, posted in Programming)

He gave me access to his admin panel tongue

724

(9 replies, posted in Programming)

I already fixed it, it was due to 1&1 being noob and splitting his databases over different servers with different users.

725

(9 replies, posted in Programming)

Execute it through the body's onload handler.