Do the FluxBB people answer questions for PunBB problems?

I've thought about moving my forum over to FluxBB, but it would mean I have to start from scratch, right? I'd like to avoid that because I have a lot of mods and I don't wanna redo everything, at least not before version 1.3 is out. I know that I'll have to do things from scratch at some point, either when changing to PunBB 1.3 or indeed moving to FluxBB 1.3, but I'd like to wait until either final version is out.

-TeeJay

Hey guys, I hope one of you can help me. I'm kinda embarrassed because I only just found out that all this time, I've been omitting a crucial step when doing all my updates.

But let's start with my problem. I recently updated to 1.2.19 and since then, I got e-mails from two users who had similar problems. One newly registered user reported that she wasn't able to log in to the forum anymore, she only got a blank page. Another user changed her e-mail address and also couldn't log in anymore afterwards. I tried myself and had the same problem when I registered a new test user. All old users from before the update don't have that problem.

Here's where it gets embarrassing. For all the updates I've made to PunBB (I think I started out with version 1.2.13 or 1.2.14), I never ran the 12_to_121x_update.php file. Since I have a lot of mods in the forum, I usually update through the HDIFF file. All I've been doing is edit my files accordingly and upload them to the server. A friend of mine just told me I should have run that update php file every time to make the database conform with the update. When I tried to run it now, of course I get an error message (see below). I have not made manual updates to my database.

An error was encountered
File: /www/htdocs/w0072f62/forum/12_to_1219_update.php
Line: 69

PunBB reported: Version mismatch. This script updates version 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.2.11, 1.2.12, 1.2.13, 1.2.14, 1.2.15, 1.2.16, 1.2.17, 1.2.18 to version 1.2.19. The database 'd0031b5f' doesn't seem to be running a supported version.

Is there any way this can be fixed without me purging my database? I'm not very experienced in that area and I'm kinda scared of losing all my posts. Of course I have SQL backups of the database from various stages, but I'd like to avoid messing with that.

Can someone help? Please?? I'd be eternally grateful!

FYI: I've reset my forum to version 1.2.17 now because it doesn't seem to have that problem. But for security reasons, I'd obviously love to go back to version 1.2.19.

-TeeJay
www.chris-marquette.com/forum

I actually found a few more mistakes in the same file. I myself am using the English profile, so I never noticed until now. Of course I corrected it in my own forum.

As to helping you with the 1.3 German language file, it would depend on how much work that'll be. I have a full time job and plenty other things keeping me busy in my free time, so I'd rather not take on a huge project that'll swallow a whole lot of my spare time. But if you're looking for someone who will beta-read the language files, sure, I can do that. Just please keep in mind that I can't program PHP myself, I can use it and maybe change a few things that are logical to me.

Feel free to contact me through the form e-mail here in PubBB, maybe we can take this offline via e-mail (and since I'm German, you can write in German too). smile

-TeeJay

Not sure if this belong here, so please move it if it doesn't.

I found a mistake in the German language misc.php file. The original says:

'E-mail disclosure note'    =>    'Bitte beachten Sie, das durch absenden dieses Formulars Ihre E-Mail Adresse dem Empfänger preisgegeben wird.',

But it should read:

'E-mail disclosure note'    =>    'Bitte beachten Sie, dass durch Absenden dieses Formulars Ihre E-Mail Adresse dem Empfänger preisgegeben wird.',

Would be cool if this could be corrected.

-TeeJay

I replaced my old misc.php file with one from the latest clean version, and that seems to have solved the problem. Thanks for the help, guys. smile

-TeeJay

Okay, so I think you may mean this. In the same file (misc.php), lines 185 to 189 say this:

        // Get the topic ID
        $result = $db->query('SELECT topic_id FROM '.$db->prefix.'posts WHERE id='.$post_id) or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());
        if (!$db->num_rows($result))
            message($lang_common['Bad request']);

        $topic_id = $db->result($result);

-TeeJay

You're talking to someone who doesn't know anything about PHP programming. wink What does that mean?

-TeeJay

In debug mode, I get this error:

An error was encountered
File: /www/htdocs/w0072f62/forum/misc.php
Line: 83

PunBB reported: Unable to fetch topic info

Database reported: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND t.moved_to IS NULL' at line 1 (Errno: 1064)

Lines 82 to 85 in the misc.php file read as follows:

        // Make sure the user can view the topic
     $result = $db->query('SELECT 1 FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=t.forum_id AND fp.group_id=1) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id='.$topic_id.' AND t.moved_to IS NULL') or error('Unable to fetch topic info', __FILE__, __LINE__, $db->error());
     if (!$db->num_rows($result))
   message($lang_common['Bad request']);

Is this enough info to let me know how I can possibly fix it? Would be great if you could help. Thanks!

-TeeJay

I'm having a problem with the form e-mail in my forum. When I click on the link below the avatar for sending an e-mail to a user via the forum's form e-mail, I get the following error:

An error was encountered

Error: Unable to fetch topic info.

I've tried searching if someone has had the same problem before, but I came up empty (or didn't look in the right place). Since I don't know PHP, I have no idea where to even look. Would it help if I pasted code from a certain file? If so, please let me know from which file. My forum is located at www.chris-marquette.com/forum. I'm using version 1.2.17, but the last handful of versions were updated through manual Hdiff copying and pasting, so maybe something went wrong in the process. The upgrade was done a while ago, but I only just realized form e-mail isn't working today. I haven't made any other changes recently, and the rest of the forum seems to work fine.

I would be grateful if someone could help out. Thanks!

-TeeJay

10

(71 replies, posted in News)

Thanks so much, Smartys!! That did it. I'm so glad that everything's working fine again. smile

-TeeJay

11

(71 replies, posted in News)

Not sure if I should be posting this here or in Troubleshooting, but I'm also having the redirect-to-index problem after I've upgraded to version 1.2.16 today. (Meaning that whenever you post something, once you hit the Submit button, you are redirected to the index page of the forum and not to your post you just made.) Since I don't know much about PHP, I have no idea how to fix it and I haven't found anything when I searched the forum from which I could gather how to fix it. Maybe I'm just not well-versed enough to understand how I can fix it...

So I would really appreciate if someone could help me out. I also don't know what code you need me to post so you can see where my problem might be. You don't want me to post the whole functions.php code, right? I'm using some mods, so I don't just want to go and replace my functions.php with the one from the update package.

I'm guessing this is what's causing the problem, though, right?

    // Prefix with o_base_url (unless it's there already)
    $destination_url = 'index.php';    
    if (strpos($destination_url, $pun_config['o_base_url']) !== 0)
     $destination_url = $pun_config['o_base_url'].'/'.$destination_url;
     
     // Do a little spring cleaning
     $destination_url = preg_replace('/([\r\n])|(%0[ad])|(;[\s]*data[\s]*:)/i', '', $destination_url);

Help! smile

My forum is located at www.chris-marquette.com/forum
You can post without registering in the Guestbook section if anyone wants to try it out to see what I mean.

-TeeJay

12

(10 replies, posted in PunBB 1.2 troubleshooting)

I am not a PHP programmer, so I can't help you with writing scripts that might automatically block access like I think you're looking for. What I can suggest is that you set up a forum on your message board that only registered members can access where it is allowed to post images and links. Of course that would mean more of an administrative effort as someone would have to monitor that users don't post these where it's not allowed if you're looking for that kind of control on your message board.

I believe PunBB also has a gallery mod or plugin, but I've never used it. Maybe it's possible to set that up only for registered users? That's as far as the extent of my brainstorming goes...

-TeeJay

13

(10 replies, posted in PunBB 1.2 troubleshooting)

Would it help if you linked the resized image to the original size one through bbCode? Then users initially see the resized image but can look at the full size one when they click on it. That's how I always do it when I wanna make sure users have the opportunity to see the full size image and not just a scaled down version.

-TeeJay

Sorry for posting too soon, I found the solution to my problem. It was indeed the mod I'm using, which is EasyBBcode. I changed the size attributes in it and things now work fine. If any of the admins wants to delete this topic, go ahead, that would be fine.

-TeeJay

I just added new smileys to my forum, the way it was described in the FAQ. I also deleted the width="15" and height="15" attribute from parser.php because my smiles are bigger than that. When inserted into the post, they look just fine, but the problem I'm having is that in the Quick Post and Post Reply pages they still appear as 15x15, which looks crap. I tried looking around in the forum, but I couldn't find a solution to my problem, so please excuse if this has been posted before.

I also think I'm using a mod to display the smileys in the posting pages in the first place, but I can't remember which one, I'm afraid. Maybe someone can help. Please? Thanks!

-TeeJay

16

(5 replies, posted in Feature requests)

I have a question that kinda relates to this one, so I thought I'd post it here and not open a new thread. On our message board, I have a topic were I post what I've updated on my website. I'd like to put an HTML link into my website that takes the user automatically to the last post of that topic. Is that even possible? If so, how? (Please note that I don't know much about PHP programming.)

Thanks in advance for any answers.

-TeeJay

17

(13 replies, posted in PunBB 1.2 troubleshooting)

Thanks, Paul. Very much appreciated. I'll try that when I hear back from my user.

-TeeJay

18

(13 replies, posted in PunBB 1.2 troubleshooting)

Thanks, guys. I know it's hard to pinpoint anything at this point without more information. It's frustrating for me as well because I want to keep my users happy. I'll let you know if I receive more information that might help. I'll ask about the Search form.

-TeeJay

19

(13 replies, posted in PunBB 1.2 troubleshooting)

Unfortunately, I still don't have a screenshot from the user, nor more information about her system, but she told me it's still not working for her. She can't see the login or password text entry boxes on the login page. Anyone got any other idea how to fix this? Is there another way to have this person log in to the message board? I suppose I could create an open section where you don't have to register to post, but I'm reluctant to do so. Plus it doesn't really solve the problem.

I'd be very grateful for any information anyone can share. I'm not a PHP whiz, btw. I know the basics and how to copy and paste, but that's about it. wink And I'll try to get you screenshots and more info about this user if I can.

-TeeJay

20

(13 replies, posted in PunBB 1.2 troubleshooting)

Thanks, I added it to the CSS files that are set as default for our forum and also to the base.css. This user with the problems isn't exactly a fountain of information, so I don't think I'll get a screenshot from her. But I'll ask. Maybe this fixed the problem for her. I'll let you know if it did or get any further info off her.

-TeeJay

21

(13 replies, posted in PunBB 1.2 troubleshooting)

A user on my message board seems to have that same problem. Also an AOL user, but I don't know if she's on a Mac or PC. Since you offered a quick fix hack, I'm not quite sure what to do with it. When you say "main stylesheet", which file exactly is that? Is it the CSS file in the ...\forum\style\ folder that I'm using as a default for my forum? Or the one in ...\forum\style\imports\? Or another one all together? Any help would be greatly appreciated. Thanks!

My forum can be found here: www.chris-marquette.com/forum

-TeeJay