2,901

(35 replies, posted in PunBB 1.2 troubleshooting)

I'm afraid we can't really help you either: a 500 error is too generic for us to see what the issue is. As I said though, keep trying to comment out things and see what helps

2,902

(28 replies, posted in General discussion)

mindlessoath linked you to MyPunBB, that's a free PunBB forum hosting service.

icedmango wrote:

and u are sure that is b/c of this javascript???? anyways- thank you for taking your time

Like I said, that's the only thing I can think of that would affect it. However, I'm not having any issues right now.

Well, as far as I can tell, that's the only difference between your copy of PunBB and this copy. I would have a talk with your host if it's affecting your ability to copy/paste

No, that's code that comes with PunBB. It's fine, leave it there (plus, it isn't loaded on most pages).
The http://a.cba.pl/cba2.js type stuff is what I'm talking about.

icedmango wrote:

my friend has xp and she installed now firefox and couldn't copy&paste as well- this is really so weird, maybe a script is needed for our forum to allow firefox to copy text and insert into a textfield, I can't even use the ctrl+c, I can only copy text outside text field, but when I click e.g. post reply and want to insert a text then this is not possible

I don't know what to tell you, I'm not having any issues with it using Firefox 1.5 and XP
But there's no script to enable copy/pasting, it's a feature of the program.

Edit: Mmm, it looks like you removed the Google ads and not the javascript I asked you to. Try removing all of the Javascript you added and see how it works.

icedmango wrote:

wow, thank you, you know, we tried the pm mod and got this message:

File: /var/www/virtual/kamikitten.net/forum.kamikitten.net/install_mod.php
Line: 62

PunBB reported: Unable to create table messages.

Database reported: SQL logic error or missing database (Errno: 1)

just maybe you know this error?

The PM mod doesn't install properly with SQLite, the create table queries need to be rewritten.

icedmango wrote:
Smartys wrote:

Pasting works fine for me now smile
And there's no such thing as mysqlite, there's MySQL and there's SQLite wink

still doesn't work for me, I think I have the problem, I have firefox and I have windows vista business, but I can paste in this forum

I should use i.e.

Try clearing your cache. If that doesn't work, I'm not sure what to tell you: I'm using Firefox too (perhaps the problem is Vista?)

Pasting works fine for me now smile
And there's no such thing as mysqlite, there's MySQL and there's SQLite wink

It has to do with the Javascript you're loading on your page (not the Google ads, the other stuff)

You need to edit extern.php so that the links for polls link to viewpoll.php as opposed to viewtopic.php

2,911

(3 replies, posted in PunBB 1.2 troubleshooting)

PunBB does not delete topics automatically. Either a moderator/administrator deleted the topic or an administrator ran the prune tool (and the topic was old enough). There is no limit on how large a topic can be, however larger topics can take longer to process.

Link?

Moved to Modifications
Make sure you made all the edits correctly is my only suggestion, really tongue
You can post your admin_forums.php and maybe someone can see what's wrong

2,914

(5 replies, posted in PunBB 1.2 troubleshooting)

In an unmodded PunBB, deleted means delete. There's no such thing as flagging for deletion, you run a delete query and it's done

Alternative date/time schemes would be extensions smile

2,916

(29 replies, posted in Programming)

A couple things
1. You don't need session_start twice: in fact, that should be issuing a notice or a warning tongue
2. at the checkpoint in register.php, we know $_SESSION values will be set. So, the code can instead look like

        if (isset ($_POST['spamcode']) && $_POST['spamcode'] != '' && $_POST['spamcode'] == $_SESSION['answer'])
        {
                session_unset();
                session_destroy();
        }
        else
        {
                session_unset();
                session_destroy();
                message("$register_failed");
        }
Dr.Jeckyl wrote:

edit: i just figured a quicker and painless way of doing this... just resubmit the posts. edit + do nothing + submit = clean urls. big_smile i'll just do this as i come along them.

Yup, because preparse gets called on them tongue

2,918

(35 replies, posted in PunBB 1.2 troubleshooting)

Yeah, try it out

Make sure everything was actually uploaded correctly

2,920

(8 replies, posted in PunBB 1.2 troubleshooting)

http://www.shedrockonline.com/
From the affiliates box on your site wink

2,921

(29 replies, posted in Programming)

MattF wrote:
Smartys wrote:

What happens if I don't have a valid session when I submit the form (like most bots won't)? All session variables won't be set.

Hope you don't mind me picking your brain again. smile In what way would this bit cause a problem?


Cheers,

Matt

It's together with the other bit that it causes the issue (because ('' == null) evaluates to true)

2,922

(29 replies, posted in Programming)

The reason it doesn't work? You need to move your session_start() to before the if statement (I'm looking at here). Otherwise, $_SESSION is never set at that point

2,923

(8 replies, posted in PunBB 1.2 troubleshooting)

Yes, I understand what you're asking. However, you're using a highly modified version of PunBB. I have no idea what code you already have in there and what needs adjusting. That's why you need to ask the developer(s) of MegaPun.

2,924

(8 replies, posted in PunBB 1.2 troubleshooting)

Oh, I'm unsure: PunBB's index page is the forum index. You should ask wherever you downloaded that modification from smile
Edit: Which looks to be MegaPun. smile

2,925

(8 replies, posted in PunBB 1.2 troubleshooting)

You mean a sticky topic?