Is there any way to do this in an easy way?
My post count doesn't add up since I've removed and added some posts during development of my site. Can I have all the users post counts recounted?

Anyway, I'll try making a mod for this in the meantime.

Ah, it's time to upgrade I see.

If you have a member that's moderating a specific forum.
THen if you turn him into a user without removing his moderated forums, he's still listed at the main page.

Is this done by intention?
I'm running Version: 1.1.5

Never mind smile

I fixed it hours ago, just forgot to mention it here smile
I had to remove subscriptions and config in the database and then proceed. Works like a charm now smile

Alright, so it has nothing to do with the version of the markup language?

Weird, it keeps telling me that alot of tables can't be created, because they already exist.

Alright. But I'm not sure I've updated the database for 1.0.1.
Can I see that in some way?

And is it enough to just run the update-file from 1.0.1 to 1.1 and then use the update-file that comes with the 1.1.4 ?

Say what? smile
I thought that was only for the markup-part. So.. It's updating the database?
How can I be sure that it won't screw things up for me?

Edit: It looks like my version is PunBB 1.0.1 (yes, I'm not that up to date tongue).
So the update won't work correct?

I just updated the forum and config:ed and everything. But all I get is:

An error was encountered   
Error: Unable to update user visit data.

Almost sounds to me as it can't update stats for the users or something?
Well, please help me with this ASAP, it's quite urgent.

Thanx!

9

(11 replies, posted in PunBB 1.2 troubleshooting)

When I prune and choose Not include stickies..

10

(11 replies, posted in PunBB 1.2 troubleshooting)

No, I use 1.0.1 since not all PunBB-mods I use have been converted..

11

(11 replies, posted in PunBB 1.2 troubleshooting)

But I still don't have a clue what Build Index is..

12

(11 replies, posted in PunBB 1.2 troubleshooting)

I saw one thing now.. It deletes some topics each time.
So I ran it 4 times and now all the ones I wanted gone are..

13

(11 replies, posted in PunBB 1.2 troubleshooting)

Fatal error: Cannot redeclare split_words() (previously declared in /home/hlcae/public_html/forum/include/searchidx.php:39) in /home/hlcae/public_html/forum/include/searchidx.php on line 39

14

(11 replies, posted in PunBB 1.2 troubleshooting)

Tried to prune but I got an error about split-something and something in searchidx.. So if I rebuild the index, what happends? I mean, what does it do?

I just changed the php-file to look for version 1.0.1 instead of 1.0 so it would create the mysql-tables.. Then it's just rock and roll!

16

(14 replies, posted in PunBB 1.2 troubleshooting)

It's really weird. Can't remember why it would have changed that line, must have been an old mod ?

Anyways. I took a brand new from the 1.0.1 zip and made the modification(locked forum etc) that I wanted and now it works!
At least I think it does. Bbl if it's cranky.
Thx for the help!

17

(14 replies, posted in PunBB 1.2 troubleshooting)

Tried...
File: /home/hlcae/public_html/forum/viewforum.php
Line: 149

PunBB reported: Unable to fetch topic list for forum
Database reported: Unknown column 't.first_post_id' in 'on clause' (Errno: 1054)

18

(14 replies, posted in PunBB 1.2 troubleshooting)

$result = $db->query('SELECT DISTINCT p.poster_id AS hasposted, m.message, t.id, t.poster, t.subject, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p'.$useindex.' ON t.id=p.topic_id AND p.poster_id='.$cur_user['id'].' INNER JOIN '.$db->prefix.'posts AS m ON t.first_post_id = m.id WHERE t.id IN('.$threadids.') ORDER BY sticky DESC, last_post DESC' ) or error( 'Unable to fetch topic list for forum', __FILE__, __LINE__, $db->error() );

Is the code I found from the error.
t.replies hmm Should I just change to t.num_replies?

19

(14 replies, posted in PunBB 1.2 troubleshooting)

I have version 1.0.1 and the only mod I've performed and that has a connection to viewforum.php is EFAM.
So I compared the file with the EFAM-notes and everything checks out.

So, I don't really know what has happened.

Could you isolate the code that has to do with num_replies maybe? So I can check the .php ?

20

(14 replies, posted in PunBB 1.2 troubleshooting)

Hmm, perhaps I am?
The file is 10 473 b big.

21

(14 replies, posted in PunBB 1.2 troubleshooting)

CREATE TABLE `topics` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `poster` varchar(25) NOT NULL default '',
  `subject` varchar(70) NOT NULL default '',
  `posted` int(10) unsigned NOT NULL default '0',
  `last_post` int(10) unsigned NOT NULL default '0',
  `last_post_id` int(10) unsigned NOT NULL default '0',
  `last_poster` varchar(25) default NULL,
  `subscribers` text,
  `num_views` mediumint(8) unsigned NOT NULL default '0',
  `num_replies` mediumint(8) unsigned NOT NULL default '0',
  `closed` tinyint(1) NOT NULL default '0',
  `sticky` tinyint(1) NOT NULL default '0',
  `moved_to` int(10) unsigned default NULL,
  `forum_id` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `topics_forum_id_idx` (`forum_id`)
) TYPE=MyISAM AUTO_INCREMENT=69 ;

22

(14 replies, posted in PunBB 1.2 troubleshooting)

File: /home/hlcae/public_html/forum/viewforum.php
Line: 149

PunBB reported: Unable to fetch topic list for forum
Database reported: Unknown column 't.replies' in 'field list' (Errno: 1054)

23

(14 replies, posted in PunBB 1.2 troubleshooting)

OH! smile Forgot that.. Hold on then smile

My server just got hacked, so I uploaded everything again since it was only index* files whom were deleted.
I can watch the forum and it's categories, even the topics.
But when I click on one it stops hmm

What can they have done? Can somebody list all the forum-related tables in your database so I can see if something has vanished..

25

(4 replies, posted in PunBB 1.2 troubleshooting)

Sure sure wink