I think you mean PunBB
tbh, that issue is caused by a POST variable that shouldn't be missing being missing, especially if you didn't change it.
6,901 2005-07-06 20:20
Re: Impossible to create a new group (4 replies, posted in PunBB 1.2 bug reports)
6,902 2005-07-06 20:16
Re: the "fetch status table" error :) (2 replies, posted in PunBB 1.2 bug reports)
Indeed, Rickard corrected it for 1.2.6 I believe
6,903 2005-07-05 13:07
Re: PunBB Wikipedia entry (4 replies, posted in PunBB 1.2 discussion)
I'm glad someone other then me noticed it
6,904 2005-07-05 12:48
Topic: Use chmod in install.php (6 replies, posted in Feature requests)
I was looking at this
// Check if the cache directory is writable
if (!@is_writable('./cache/'))
$alerts .= '<p style="font-size: 1.1em"><span style="color: #C03000"><strong>The cache directory is currently not writable!</strong></span> In order for PunBB to function properly, the directory named <em>cache</em> must be writable by PHP. Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.</p>';
// Check if default avatar directory is writable
if (!@is_writable('./img/avatars/'))
$alerts .= '<p style="font-size: 1.1em"><span style="color: #C03000"><strong>The avatar directory is currently not writable!</strong></span> If you want users to be able to upload their own avatar images you must see to it that the directory named <em>img/avatars</em> is writable by PHP. You can later choose to save avatar images in a different directory (see Admin/Options). Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.</p>';
I'm not sure if it makes sense, but I think the code should look more like this (replace 0777 with the appropriate number, I haven't used chmod before )
// Lets try using chmod, just in case
@chmod('./cache/', 0777);
@chmod('./img/avatars/', 0777);
// Check if the cache directory is writable
if (!@is_writable('./cache/'))
$alerts .= '<p style="font-size: 1.1em"><span style="color: #C03000"><strong>The cache directory is currently not writable!</strong></span> In order for PunBB to function properly, the directory named <em>cache</em> must be writable by PHP. Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.</p>';
// Check if default avatar directory is writable
if (!@is_writable('./img/avatars/'))
$alerts .= '<p style="font-size: 1.1em"><span style="color: #C03000"><strong>The avatar directory is currently not writable!</strong></span> If you want users to be able to upload their own avatar images you must see to it that the directory named <em>img/avatars</em> is writable by PHP. You can later choose to save avatar images in a different directory (see Admin/Options). Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.</p>';
6,905 2005-07-05 12:38
Re: Impossible to create a new group (4 replies, posted in PunBB 1.2 bug reports)
That's not creating a new group, that's editing a group (the mode in POST isn't add). However, the issue with the id does need to be addressed
6,906 2005-06-23 01:12
Re: Upgrade 1.0.1 to 1.2.5? (16 replies, posted in PunBB 1.2 discussion)
Oh, just FYI: I'm going to be leaving for about 12 days starting tomorrow, and I won't have Internet access. So, if it doesn't work, feel free to do it the old fashioned way
6,907 2005-06-23 00:26
Re: Upgrade 1.0.1 to 1.2.5? (16 replies, posted in PunBB 1.2 discussion)
Alright, cool
The script should work fine, but it might take a while to work
6,908 2005-06-23 00:01
Re: Upgrade 1.0.1 to 1.2.5? (16 replies, posted in PunBB 1.2 discussion)
Alright, do you have the file? Does it work alright? It IS a lot of queries to run (mmm, maybe I should put in a short stop after each version)
6,909 2005-06-22 23:50
Re: Upgrade 1.0.1 to 1.2.5? (16 replies, posted in PunBB 1.2 discussion)
I sent you an email via the form: respond and I'll send you the file
6,910 2005-06-22 23:42
Re: Upgrade 1.0.1 to 1.2.5? (16 replies, posted in PunBB 1.2 discussion)
You download 1.1, then 1.2, then 1.2.5 (they won't seem to be there, but keep looking, they're there, just sorted differently then you would expect)
I just made a script that does all the updating steps if you want to test it (if you do, make sure to have a backup copy of your database: this could have issues)
6,911 2005-06-22 23:14
Re: Upgrade 1.0.1 to 1.2.5? (16 replies, posted in PunBB 1.2 discussion)
I actually just realized I gave you an extra step, silly me
6,912 2005-06-22 22:45
Re: Upgrade 1.0.1 to 1.2.5? (16 replies, posted in PunBB 1.2 discussion)
Most likely not
However, you should do it in steps.
First, download PunBB 1.1, replace all the files, take 10_to_11_update.php out of the scripts folder and put it in the forum root. Then, run the file. Delete it after.
After that, download PunBB 1.2, replace all the files, take 11_to_12_update.php out of the extras folder and put it in the forum root. Run it, delete it after.
Finally, download PunBB 1.2.5, replace all the files, take 12_to_125_update.php out of the extras folder and put it in the forum root. Run it, delete it after
Repetitive, I know. And, in fact, this gives me a VERY good idea
6,913 2005-06-22 20:21
Re: Selecting language by guests (4 replies, posted in PunBB 1.2 troubleshooting)
Well, how do you want it to be remembered? I mean, I suppose you could append something like language=en to every URL, but that would take a LOT more work
6,914 2005-06-22 20:12
Re: The file 'config.php' doesn't exist or is corrupt. Please help! (4 replies, posted in PunBB 1.2 troubleshooting)
Odd, that looks fine
in include/common.php find
@include PUN_ROOT.'config.php';
remove the @ and tell me what you get when trying to view the forum
6,915 2005-06-22 19:18
Re: I need a little something.. (5 replies, posted in PunBB 1.2 discussion)
Ah, I see
replace $fid there with $cur_posting['id']
6,916 2005-06-22 18:15
Re: I need a little something.. (5 replies, posted in PunBB 1.2 discussion)
FIND
// If the posting user is logged in, increment his/her post count
if (!$pun_user['is_guest'])
{
$low_prio = ($db_type == 'mysql') ? 'LOW_PRIORITY ' : '';
$db->query('UPDATE '.$low_prio.$db->prefix.'users SET num_posts=num_posts+1, last_post='.$now.' WHERE id='.$pun_user['id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
}
REPLACE WITH
// If the posting user is logged in, increment his/her post count
if (!$pun_user['is_guest'] && $fid != '5')
{
$low_prio = ($db_type == 'mysql') ? 'LOW_PRIORITY ' : '';
$db->query('UPDATE '.$low_prio.$db->prefix.'users SET num_posts=num_posts+1, last_post='.$now.' WHERE id='.$pun_user['id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
}
6,917 2005-06-22 11:21
Re: Selecting language by guests (4 replies, posted in PunBB 1.2 troubleshooting)
You'd have to mod language select for guests to take the value from a cookie, and then make a page that lets them pick the language
6,918 2005-06-22 00:08
Re: PunBB 1.2.5 (67 replies, posted in News)
Just the upload folder, and yes, upload the update/upgrade file to the main folder
6,919 2005-06-22 00:03
Re: Moved server,mysql something missing (2 replies, posted in PunBB 1.2 troubleshooting)
Well, I would make sure the posts table was fully copied
6,920 2005-06-21 22:41
Re: Bad HTTP_Referer: Bt I didn't change the location! (2 replies, posted in PunBB 1.2 troubleshooting)
There's a sticky in this forum that deals with this issue
6,921 2005-06-21 20:26
Re: PunBB 1.2.5 (67 replies, posted in News)
I would think so, I know of a bunch of outstanding "issues" that while they aren't on the level of giving anyone admin access they do give moderators a bit too much power (along with a whole lot of undefined index possibilities I was bored enough to find )
6,922 2005-06-21 14:59
Re: PunBB 1.2.5 (67 replies, posted in News)
Use the same instructions I gave to Cailean
6,923 2005-06-21 14:16
Re: Need to increase 64Kb post limit ? how ? (5 replies, posted in PunBB 1.2 troubleshooting)
trance: the database field can't hold that much, you need to change it as well
Although I don't know what's causing your error now
6,924 2005-06-21 13:42
Re: Need to increase 64Kb post limit ? how ? (5 replies, posted in PunBB 1.2 troubleshooting)
It's in post.php, and you have to change the database column so it can contain more text
6,925 2005-06-20 23:28
Re: PunBB 1.2.5 (67 replies, posted in News)
OK, here's what you should do (note that if you have any mods they'll be lost, although I'm sure some can be brought back, since we're not deleting the database)
Download PunBB 1.2 and copy over all your files with those
Get the 11_to_12_update.php script and run it
Download PunBB 1.2.5, overwrite the files, and run the update script in the extras folder there