6,001

(3 replies, posted in PunBB 1.2 troubleshooting)

Simplest explanation from what I've heard: the "word" column doesn't have the binary attribute set

6,002

(27 replies, posted in Feature requests)

Whats wrong with having it on just 2 pages over all? You only log in or register once. If you did it on every page then every page would load slow. Giving up 2 pages isn't that much of a sacrifice I think since its only checking the host when they trigger the register button or the log in button and not checking before they click register or log in.

It can still make those pages go much more slowly smile
It doesn't matter that it's "just" two pages, it matters that it happens tongue
And you're forgetting people who choose "Remember my login" and thus normally don't login again. Those people would be unbannable. Thus, it does need to be checked on every pageview (otherwise you can stay unbanned just by never letting your login expire).

6,003

(38 replies, posted in PunBB 1.2 discussion)

sirena wrote:

Ugh. Quit with the wiki's, pls.

What's wrong with an old-fashioned Manual in HTML (and PDF for printing), for God's sake?

http://docs.punbb.org

hcgtv: Indeed, that's why I have php.ini where I have it (I seem to remember instructions that put it in the WINDOWS folder, but I can't seem to find them anymore) smile
I just remember having issues when I forgot where my php.ini file was and tried editing the wrong one tongue

6,005

(27 replies, posted in Feature requests)

Smartys, wouldnt it be easyer to check host by log in and register? Doing it by page I can see your point but doing it by log in and register would be much less stressfull on the pages

Except that bans on IPs are done on every forum page
And just moving it to two pages would simply make only those two pages slow (and you'd have to integrate the fact that you're only checking on 2 pages into check_bans) tongue

Configuration File (php.ini) Path  C:\php5\php.ini 
That is where you're editing, right (I know I have PHP set up so that php.ini is in the Windows folder and I believe that's a suggested way to do it)?

6,007

(27 replies, posted in Feature requests)

I don't think this would make it into PunBB, since you would need to use gethostbyaddr each time the user visits a page, which can slow down the page load a lot for people who have IPs that don't resolve.
However, doing it should be easy enough: add a column to the bans table, edit admin_bans.php to allow you to add bans with hostnames, and change the check_bans function so that it gets the user's hostname and checks it against the bans

Did you load the MySQL extension?

6,009

(1 replies, posted in PunBB 1.2 bug reports)

Forum time when not logged in should be GMT
Then your profile should be set correctly based on that

6,010

(5 replies, posted in PunBB 1.2 troubleshooting)

It means you're editing your code and making mistakes when you do tongue

6,011

(5 replies, posted in PunBB 1.2 troubleshooting)

Enable debug mode and post the full error smile

6,012

(7 replies, posted in PunBB 1.2 troubleshooting)

And from testing my best guess is that the problem is with thttpd not working properly when around 700 characters or more of POST data is sent.

You enter it into the space for MySQL username and MySQL password
You enter the name of your database into the Database Name field

The right data? How should I know, it's your login info tongue
Go talk to your host about the information you should enter wink

That means you entered invalid MySQL login data

6,016

(18 replies, posted in Feature requests)

I don't have any specific stats for PunBB, but here's some phpBB ones
http://www.phpbb.com/phpBB/viewtopic.php?t=48609
http://www.phpbb.com/phpBB/viewtopic.php?p=61823

So yeah, it depends a lot on where you have rows (ie: a row in posts is almost certainly larger than a row in users, and a longer post has a larger size). But IMO, 10MB is very small

And why can't you change it? There are plenty of hosts, free or otherwise, that at the VERY least give you more space for your databases than that

6,017

(22 replies, posted in PunBB 1.2 troubleshooting)

Err, I didn't mean adjust in extern.php
That should still have the correct define within the if statement, as I gave it

6,018

(7 replies, posted in PunBB 1.2 troubleshooting)

I'd be interested in trying to figure out where this is going wrong
Could you send me an email so we could try and work out some way I could play around with it a little and try and see what the problem is?

6,019

(18 replies, posted in Feature requests)

With a 10MB limitation you should probably move somewhere else tongue
Only very silly hosts limit databases that much (a lot simply count it against your disk quota or don't count it at all, which is better)
Plus, I doubt your forum can get very large even without the search tables. 10MB is small tongue

I'd suggest making sure "word" in the search_words table is set as varbinary (or varchar with a binary attribute)
Like Rickard explains here

6,021

(7 replies, posted in PunBB 1.2 troubleshooting)

Err, configuring it is not what you want to do, I thought it might be a cause of the problem tongue
Your server choice sounds familiar...
And it is!
http://punbb.org/forums/viewtopic.php?id=9928

6,022

(22 replies, posted in PunBB 1.2 troubleshooting)

Then it can't be included via PHP

However, if you really must, here's the way to do it:
Open extern.php

FIND

define('PUN_ROOT', './');

REPLACE WITH

if (!defined('PUN_ROOT'))
    define('PUN_ROOT', './');

Then, add the following code to your page (where you want to include extern.php):

define('PUN_ROOT', $_SERVER['DOCUMENT_ROOT'].'/');
$temp_get = $_GET;
$_GET = array();
$_GET['action'] = 'active';
$_GET['show'] = '10';
include $_SERVER['DOCUMENT_ROOT'].'/forum/extern.php';
$_GET = array();
$_GET = $temp_get;

Adjust paths as necessary wink

6,023

(7 replies, posted in PunBB 1.2 troubleshooting)

And is the address the same one you accessed it from?
Is the server running mod_security by any chance?

6,024

(22 replies, posted in PunBB 1.2 troubleshooting)

Why would reinstalling do anything?
You can not include extern.php when the file including it is not in the same folder as extern.php
You also can not use $_GET variables in a local filename
So, the fix is to call it via its URL (the way you would see it in a browser)

6,025

(22 replies, posted in PunBB 1.2 troubleshooting)

elbekko wrote:
include("../forum/extern.php?action=active&show=10");

Does that work?

How many times do I have to say it?
You can NOT include $_GET variables via include