1

(12 replies, posted in PunBB 1.2 bug reports)

Yes, it worked ^_^

Thanks a million - you guys are great!

2

(12 replies, posted in PunBB 1.2 bug reports)

doh! I missed the obvious again!

Ok, I found the line with o_regs_verify - and there is no value set for it. I take it this is the problem? And I should set the value to 1, right?

3

(12 replies, posted in PunBB 1.2 bug reports)

ok, I browsed the config table in mysql and saw many items that started with the o_ thing, but nothing that read o_regs_verify. So I'm either looking at the wrong table or this could be precisely what's wrong.

I'm sorry if I'm slow to catch on, but the finer points of databases isn't my strong suit. I thank you for bearing with me - and for all the help so far!

4

(12 replies, posted in PunBB 1.2 bug reports)

I did change the prefix to my table prefix. I just edited that part out when pasting it here.

Obviously I don't know what the results are telling me, hence the need for help.

5

(12 replies, posted in PunBB 1.2 bug reports)

ok, this is what I was told after the query:

MySQL said:  

#1064 - You have an error in your SQL syntax near '[prefix]config where conf_name="o_regs_verify" LIMIT 0, 30' at line 1

so...am I right in assuming something in my config file is mucking up the works here?

6

(12 replies, posted in PunBB 1.2 bug reports)

ok, this is the code from the same area of my register.php page

if ($pun_config['o_regs_verify'] == '1')
    {
        $email2 = strtolower(trim($_POST['req_email2']));

        $password1 = random_pass(8);
        $password2 = $password1;
    }
    else
    {
        $password1 = trim($_POST['req_password1']);
        $password2 = trim($_POST['req_password2']);
    }

On first glance it looks the same as what you posted.

What's even funnier is I run another site with a punBB board, and it works fine. So I even tried taking its register.php page and using it to replace the one on the board I'm having trouble on...and it still doesn't work. That kinda tells me that maybe the problem is with another page rather than the register.php page.

It's also important to note that this board I'm having trouble on was hacked before I could do the update (the update issued before this most recent one). What I ended up doing was deleting the old board's files entirely, and just uploading and installing all new files that were of the latest update package at the time. It seemed to work ok except for this registration issue and the fact that my custom skin no longer works.
On my other site, I got to update that one before it was hacked so I never did have these problems with it. Still, it seems like if I just started over with all new files and an install, everything should still work properly. Unless...me keeping the old database has something to do with this (i.e. I kept the old db so posts up to my last backup were preserved, but the files for the actual board were totally replaced).

I have gotten the most recent update to install properly, but this registration issue is still lingering. Perhaps someone more schooled in php and databases can shed some light on why I'm having trouble with the board in question.

I thank you in advance for your time and advice.

7

(12 replies, posted in PunBB 1.2 bug reports)

I've been informed that people cannot register. Upon logging out and trying to register like a "new" user, I see what they mean.

The register page on my board does not show a password field. You fill out the form as it appears, and when you hit register, you are told to go back and choose a longer password. Eh, ok. Hard to do when you're given no field in which to input a password!

This error also shows up along the top of the page, after you hit register.

Notice: Undefined index: req_password1 in /home/virtual/site84/fst/var/www/html/bulletin/register.php on line 94

Notice: Undefined index: req_password2 in /home/virtual/site84/fst/var/www/html/bulletin/register.php on line 95


Of course, if I knew php better, I might have a clue what that means. Any help?

And yes, I am running the new version of punBB

Also my board is located here if that might help:
http://www.purrsiathunder.net/bulletin/index.php

8

(13 replies, posted in PunBB 1.2 troubleshooting)

I got hacked, too. Yes, before the latest update - I had just found out about the update a day before, put it off and this happens >.< Teach me to put these things off.

A guy broke into the board, made himself admin, and then deleted all my forums but one, which he put obscene messages in. I couldn't figure out how to get my admin status back, so I deleted all the files and old db.

I did get the last db backup re-installed, and a backup of my files back up. The board would technically be good as new now, but I ran into a few snags. The updated version won't install, but I think I found another thread here dealing with that problem (some error about the version I'm running not being compatible), so I'll check that out first before rehashing it here.

Anyway, I just wanted to say, you weren't alone in being hacked. And there is a way to upload the sql file. In php my admin, you should see tabs along the top once you select a db to look at. Second tab should say SQL. Click that. There you see two options. You can paste your sql file into the box, or use browse to find it on your comp. Mine took a LONG while to load, so just wait til it does. You also have to delete your old db first for it to not show errors when it's done. Hope that helps.