1. Are you running 1.2.12? If not, upgrade.

2. Have you made any modifications to the scripts? If yes, try it with a fresh copy.

Do you get anything in your webserver error log?

528

(3 replies, posted in PunBB 1.2 discussion)

Correct. We have to think long and hard on where to position the hook calls. I'll probably start a topic asking people to suggest places to put hook calls.

529

(25 replies, posted in General discussion)

RIP Steve.

You use a proxy to view your own site?

dhdesign (and 505): Open up mod_install.php and look for:

case 'mysql':

After that, insert:

case 'mysqli':

And you should be fine.

532

(12 replies, posted in Programming)

I'm using dojo for a non-PunBB related project and it's been great so far. It's not quite what your looking for though (it's huge big_smile).

533

(1 replies, posted in Feature requests)

A good idea. I'll put it on the list for 1.3.

534

(12 replies, posted in Programming)

As much as I'm a fan of the "do it yourself instead of using some bloated framework" approach, you could have a look at one of the lighter framworks. For example Prototype.

I'm almost certain the issue is that your webserver is sending a header saying that all content is UTF-8 and that this takes precedence over the meta tag character encoding that PunBB sets. Try creating a .htaccess file in your forum root directory with the contents:

AddDefaultCharset iso-8859-1

536

(6 replies, posted in PunBB 1.2 troubleshooting)

Edit: Nevermind smile I just saw your new post.

If you get a blank page, that probably means you didn't edit the cache file properly. Try setting o_additional_navlinks to NULL. It should looks something like this:

...
'o_quickjump' => '1',
'o_gzip' => '0',
'o_additional_navlinks' => NULL,
'o_report_method' => '0',
'o_regs_report' => '0',
...

537

(6 replies, posted in PunBB 1.2 troubleshooting)

Here's what you should do.

Open up cache/cache_config.php and look for o_additional_navlinks. Edit that field and remove your paypal form thing. Then go to admin/options and edit it there as well (and submit).

538

(8 replies, posted in PunBB 1.2 discussion)

Updated. Sorry for the delay.

Thanks a lot for the donation!

Well, it basically means that the forum with ID 18 is empty.

In order for those to line up properly, you would have to use the exact same font and font size as PunBB does in posts.

541

(16 replies, posted in PunBB 1.2 troubleshooting)

Settle down now. I'm quite aware of the issue. There's not a lot I can do about it though apart from implementing support for MySQL fulltext indexing (something that is on the todo list for 1.3).

chrizz: In the meantime, maybe you should hack your search.php to strip out any leading %?

542

(3 replies, posted in Feature requests)

It's not quite that simple. With your suggested change, you'll end up on the last page if you don't supply the script with a page number.

543

(18 replies, posted in General discussion)

Here's me: http://digg.com/users/Rickard/dugg

Lets all be friends big_smile

544

(4 replies, posted in Feature requests)

Chepra: Insert $pun_config['o_base_url'] and you should be fine. Don't forget to add $pun_config to the globals list in the do_smilies() function.

elbekko: They won't be updated to use PUN_ROOT. They will be prefixed with o_base_url though. PUN_ROOT won't make sense because PUN_ROOT is the relative path on the actual server and might not match the relative path in the URL. These problems arise primarily when using "fancy URLs".

Edit: http://dev.punbb.org/changeset/540

CodeDuck wrote:

This was featured on Digg today: http://www.myextralife.com/forum/viewtopic.php?id=8915

I saw it at work smile

<internal joke> Tappa inte böschen! </internal joke>

Enable DEBUG mode and try again. Then post the full error message.

547

(16 replies, posted in PunBB 1.2 troubleshooting)

Even though 30-40 seconds might not be a lot in the greater scheme of things, it's incredibly annoying from a user's POV.

548

(16 replies, posted in PunBB 1.2 troubleshooting)

chrizz: There's no faster way to search a large table of words (that I know of) unless we switch to MySQL's built-in fulltext indexing. The reason %text% is a lot slower than text% is that the latter assumes the word must start with text. If we search for %text%, MySQL has to read every byte of every word (or at least until the search pattern can't fit).

What you could do is strip out some more noise words from your index. That might speed up the query a bit. Run the following query:

SELECT sw.word, COUNT(sm.post_id) AS hits
FROM search_words AS sw
INNER JOIN search_matches AS sm ON sw.id = sm.word_id
GROUP BY sw.id
ORDER BY hits DESC LIMIT 50

That'll list the top 50 most frequent words used in your forum. I'm sure at least 20 of those words can be added to stopwords.txt in your language pack. Then just rebuild your search index.

549

(6 replies, posted in PunBB 1.2 troubleshooting)

Whoops smile My mistake.

550

(6 replies, posted in PunBB 1.2 troubleshooting)

I'm not sure I understand. Looking at the topic ID's in the PunBB feed, the newest topics seem to be at the top.