There shouldn't be a config.php: it's a file you have to upload from output generated by install.php.
1,777 2007-12-01 12:45
Re: Problems after changing to "application/xhtml+xml" from "text/html" (10 replies, posted in PunBB 1.2 troubleshooting)
Dwedit:
From the second version of your forum
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
You'll probably want to change that as well.
Also, you're lacking this at the top
<?xml version="1.0" encoding="UTF-8" ?>
1,778 2007-12-01 12:41
Re: Users can't log in (5 replies, posted in PunBB 1.2 troubleshooting)
Please advise why that isn't a PunBB message and how it may be appearring.
Since it isn't a PunBB message, I don't know
Have you installed any modifications that could be giving that message?
Please advise what happens if I delete a user and he re-registers with identical username/email address - will this work?
You'll lose all the posts, etc linked to that user (and by lose I mean you can either delete them or they won't be linked to the user anymore).
Could you give me a username/password to see this for myself? Also, could you set the email for the account to smartys at this domain so I can do a forgot password request on the account?
1,780 2007-12-01 12:12
Re: Making backups (3 replies, posted in PunBB 1.2 troubleshooting)
Use the AP DB Management plugin?
1,781 2007-12-01 04:18
Re: Problems after changing to "application/xhtml+xml" from "text/html" (10 replies, posted in PunBB 1.2 troubleshooting)
Could you link to the site?
1,782 2007-11-30 22:09
Re: validation question (2 replies, posted in PunBB 1.2 troubleshooting)
What Bekko said
Closed
1,783 2007-11-30 22:08
Re: Timezone in version 1.2.15 (9 replies, posted in PunBB 1.2 troubleshooting)
OK, then that's right
Like I said, in 1.3 PunBB uses GMT and allows you to set the guest timezone. It's even possible to set the guest timezone now by modifying include/functions.php.
1,784 2007-11-30 18:31
Re: Attachment links don't appear (1 replies, posted in PunBB 1.2 troubleshooting)
Attachments are not a part of PunBB by default
1,785 2007-11-30 18:30
Re: Timezone in version 1.2.15 (9 replies, posted in PunBB 1.2 troubleshooting)
No, the server timezone should be set such that the time given to guests is GMT. If you set it to something else, the timezones in the profile won't make sense
1,786 2007-11-30 11:00
Re: admin_options.php?action=foo (6 replies, posted in PunBB 1.2 troubleshooting)
Could you check your error_log and see if it tells you more?
1,787 2007-11-29 23:46
Re: admin_options.php?action=foo (6 replies, posted in PunBB 1.2 troubleshooting)
The mod security rules are a large and complex ruleset. I don't know what ruleset you're using and I don't know why things would have changed suddenly. The most recent rules from gotroot.com should not have an issue like this.
1,788 2007-11-29 22:09
Re: Users can't log in (5 replies, posted in PunBB 1.2 troubleshooting)
Passwords too similar? That's not a PunBB error
1,789 2007-11-29 22:06
Re: admin_options.php?action=foo (6 replies, posted in PunBB 1.2 troubleshooting)
Talk to your host, that sounds like bad mod_security rules
1,790 2007-11-28 01:19
Re: Moderators (2 replies, posted in PunBB 1.2 troubleshooting)
Multiple moderator groups are not a feature of 1.2, they are a feature in the currently under development 1.3.
Implementing multiple moderator groups takes more than just "copying" a row in the database.
And the ability to ban, etc is currently a board-wide setting, but it does make more sense as a usergroup setting. I'll bring it up.
1,791 2007-11-28 00:19
Re: Use of several SQL servers (10 replies, posted in Feature requests)
Someone posted a fix to the permissions issue in that mod very similar to the one I just coded
1,792 2007-11-28 00:10
Re: Use of several SQL servers (10 replies, posted in Feature requests)
Erm, if your search tables are on a separate server, you have to make a new connection to that server to search/update the search.
Ah, my understanding was that he wanted to put search *requests* on a different server, since that's where the evil, difficult queries are.
Oh, and the fulltext mod can't really be trusted as it has proven to have quite a bit of issues with permissions.
Bah, yet another thing to put on my todo list to look at
1,793 2007-11-27 23:16
Re: Use of several SQL servers (10 replies, posted in Feature requests)
Bekko: That's not true
I'm assuming this is a master/save setup, with one of the slaves being used exclusively for search. You would still write to the master.
1,794 2007-11-27 15:07
Re: Use of several SQL servers (10 replies, posted in Feature requests)
Yann: would my solution work?
Also, have you tried the fulltext search mod for 1.2?
1,795 2007-11-26 01:30
Re: phpBB 3 to punbb convertor ? (55 replies, posted in PunBB 1.2 discussion)
Oh dear, you found a bug in the converter. And you have no idea how looking through all that code made me want to rewrite the entire thing (there will be a rewrite for 1.3).
The easiest fix for you is to open the converter's functions.php, find
// Have no id
if($last == ''){
echo '<script type="text/javascript">window.location="index.php?page='.++$_GET['page'].'"</script>';
return;
}
and replace it with
// Have no id
if($last == -1){
echo '<script type="text/javascript">window.location="index.php?page='.++$_GET['page'].'"</script>';
return;
}
I don't even know why the code was set to '', the code seemed to mostly use -1
1,796 2007-11-25 20:30
Re: phpBB 3 to punbb convertor ? (55 replies, posted in PunBB 1.2 discussion)
received. I'm not going to be able to do anything with it for a few hours though.
1,797 2007-11-25 20:24
Re: phpBB 3 to punbb convertor ? (55 replies, posted in PunBB 1.2 discussion)
Right
1,798 2007-11-25 20:22
Re: phpBB 3 to punbb convertor ? (55 replies, posted in PunBB 1.2 discussion)
It doesn't even make sense, the differences between the default forums.php and the one I gave you are
1. My forums.php EXCLUDES forums that were treated as categories
2. My forums.php populates cat_id correctly
Neither change should cause a primary key error. If anything, the first change should make one less likely.
Could you email me an unconverted database dump, smartys at this domain, to test?
1,799 2007-11-25 20:18
Re: phpBB 3 to punbb convertor ? (55 replies, posted in PunBB 1.2 discussion)
The problem I assume is the forums being set to invalid categories, which that code I gave you should address. Let me take another look at the code.
1,800 2007-11-25 20:11
Re: phpBB 3 to punbb convertor ? (55 replies, posted in PunBB 1.2 discussion)
Did you use this code for forums.php? If not, you should.
<?php
// Fetch forum info
$result = $fdb->query('SELECT * FROM '.$_SESSION['php'].$_SESSION['phpnuke'].'forums WHERE forum_id>'.$start.' AND forum_type != 0 ORDER BY forum_id LIMIT '.$_SESSION['limit']) or myerror('phpBB: Unable to get table: forums', __FILE__, __LINE__, $fdb->error());
$last_id = -1;
while($ob = $fdb->fetch_assoc($result))
{
$last_id = $ob['forum_id'];
echo $ob['forum_name'].' ('.$ob['forum_id'].")<br>\n"; flush();
// Check for anonymous poster id problem
$ob['forum_last_post_id'] == -1 ? $ob['forum_last_post_id'] = 1 : null;
// Fetch user info
$userres = $fdb->query('SELECT users.username, posts.post_time FROM '.$_SESSION['php'].'users AS users, '.$_SESSION['php'].$_SESSION['phpnuke'].'posts AS posts WHERE users.user_id=posts.poster_id AND posts.post_id='.$ob['forum_last_post_id']) or myerror("Unable to fetch user info for forum conversion.", __FILE__, __LINE__, $fdb->error());
$userinfo = $fdb->fetch_assoc($userres);
// Change last_post = 0 to null to prevent the time-bug.
$userinfo['post_time'] == 0 ? $userinfo['post_time'] = 'null' : null;
$ob['forum_last_post_id'] == 0 ? $ob['forum_last_post_id'] = 'null' : null;
// Unset variables
if(!isset($userinfo['username']))
$userinfo['username'] = 'null';
// Dataarray
$todb = array(
'id' => $ob['forum_id'],
'forum_name' => $ob['forum_name'],
'forum_desc' => $ob['forum_desc'],
'num_topics' => $ob['forum_topics'],
'num_posts' => $ob['forum_posts'],
'disp_position'=> $ob['forum_order'],
'last_poster' => $userinfo['username'],
'last_post_id' => $ob['forum_last_post_id'],
'last_post' => $userinfo['post_time'],
'cat_id' => $ob['parent_id'],
);
// Save data
insertdata('forums', $todb, __FILE__, __LINE__);
}
convredirect('forum_id', $_SESSION['phpnuke'].'forums', $last_id);
?>