Simplest explanation from what I've heard: the "word" column doesn't have the binary attribute set
6,001 2006-05-04 19:32
Re: insert search index words (3 replies, posted in PunBB 1.2 troubleshooting)
6,002 2006-05-04 10:34
Re: Banning based on hostname (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
It doesn't matter that it's "just" two pages, it matters that it happens
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 2006-05-03 20:28
Re: Wiki documentation (38 replies, posted in PunBB 1.2 discussion)
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?
6,004 2006-05-03 20:26
Re: This PHP environment does not have support for any of the databases .. (12 replies, posted in PunBB 1.2 troubleshooting)
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)
I just remember having issues when I forgot where my php.ini file was and tried editing the wrong one
6,005 2006-05-03 20:24
Re: Banning based on hostname (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)
6,006 2006-05-03 16:53
Re: This PHP environment does not have support for any of the databases .. (12 replies, posted in PunBB 1.2 troubleshooting)
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 2006-05-03 14:28
Re: Banning based on hostname (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
6,008 2006-05-03 14:23
Re: This PHP environment does not have support for any of the databases .. (12 replies, posted in PunBB 1.2 troubleshooting)
Did you load the MySQL extension?
6,009 2006-05-02 10:29
Re: Problem with timezone. (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 2006-05-02 02:08
Re: bad news! (5 replies, posted in PunBB 1.2 troubleshooting)
It means you're editing your code and making mistakes when you do
6,011 2006-05-02 00:45
Re: bad news! (5 replies, posted in PunBB 1.2 troubleshooting)
Enable debug mode and post the full error
6,012 2006-05-01 23:50
Re: options not saved (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.
6,013 2006-04-27 23:14
Re: Help Me please! - Install Problem! (7 replies, posted in PunBB 1.2 troubleshooting)
You enter it into the space for MySQL username and MySQL password
You enter the name of your database into the Database Name field
6,014 2006-04-27 22:58
Re: Help Me please! - Install Problem! (7 replies, posted in PunBB 1.2 troubleshooting)
The right data? How should I know, it's your login info
Go talk to your host about the information you should enter
6,015 2006-04-27 21:57
Re: Help Me please! - Install Problem! (7 replies, posted in PunBB 1.2 troubleshooting)
That means you entered invalid MySQL login data
6,016 2006-04-27 15:38
Re: disabling the search function (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 2006-04-27 15:30
Re: problem with integration (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 2006-04-27 10:52
Re: options not saved (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 2006-04-27 10:40
Re: disabling the search function (18 replies, posted in Feature requests)
With a 10MB limitation you should probably move somewhere else
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
6,020 2006-04-26 23:42
Re: Unable to insert search index words (2 replies, posted in PunBB 1.2 troubleshooting)
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 2006-04-26 23:24
Re: options not saved (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
Your server choice sounds familiar...
And it is!
http://punbb.org/forums/viewtopic.php?id=9928
6,022 2006-04-26 23:07
Re: problem with integration (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
6,023 2006-04-26 21:42
Re: options not saved (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 2006-04-26 21:36
Re: problem with integration (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 2006-04-26 20:44
Re: problem with integration (22 replies, posted in PunBB 1.2 troubleshooting)
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