Work around solution found:

Insert $header=""; before line 95 in email.php

There is something about the header my mailer just didn't like. Leaving out the header just gives the email a return address of "webmaster@<my domain>.com, which is acceptable for now.

--gary

Clicking "logout" does nothing. It leaves me logged in.

I've had seven people sign up so far, and all seven have NOT gotten their emailed passwords.

For now I've had to turn off the "Verify registrations" option.

ON EDIT: I made myself a dummy user and registered to an alt email addy. I got NO password email. I went to admin and cllick on "send email" to my dummy user, and sent a test email. The email never arrived.

Since I am not using SMTP I commented out line 85 if ($pun_config['o_smtp_host'] != '') in the file email.php and the block of code dealing with SMTP, so it will always use php mail() function. It still doesn't send an email.

I inserted :echo($to."<br>".$subject."<br>".$message."<br>".$headers."<br>");
after the call to mail(). It shows the correct values, but the mail never arrives.

thanks,

--gary

3

(5 replies, posted in PunBB 1.2 show off)

Quaker,

The site is all custom php. It took me about 4 days to write and debug, but then I do php for a living, so I've had loads of practice.

--gary

AHA! Time to revisit my site html. Most of it is in css, but a few old habits slipped through.

The text lines in the body of the post appear just fine in Firefox, but the same posts in IE6 show up with every line centered on the page.

It turns out that my site common header file has a <div align="center"> to center the whole page in the browser window. But while Firefox ignores that align at a deeper level of nesting, leaving the forum posts aligned left, IE applies that div alignment to everything deeper. The solution was to close the div at the end of my header include file, making it work in both Firefox and IE.

Darn those browser differences.

--gary
http://howto.fiziwig.com/

6

(5 replies, posted in PunBB 1.2 troubleshooting)

For what it's worth, the php site reports that this is a php bug that was fixed in version 4.1.16 and 5.0.17. My hosting service runs version 4.1.1 and there's nothing I can do about that.

However, what DID work is to run the query ALTER TABLE `users` CHANGE `username` `username` VARCHAR( 200 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL or go into phpMyAdmin and alter the username field in the table users to collation latin1_swedish_ci. After that the problem went away. I don't know yet if it will have any important side effects, but the research I did on the mySQL forums indicates that the change is harmless in English-language applications since Swedish has all the same Latin letters plus a few extras.

7

(5 replies, posted in PunBB 1.2 troubleshooting)

I'm having the same problem. I just installed punBB over the weekend and I haven't made any changes to any db tables, but when I try to register a new user I get:

File: /howto/forum/register.php
Line: 135

PunBB reported: Unable to fetch user info

Database reported: Illegal mix of collations (armscii8_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation '=' (Errno: 1267)

All other forum functions seem to work fine. Strangely, I was able to register a user right after I installed the BB, but now a few days later I can't. All tables have collation armscii8_general_ci and none have been changed since installation. All my other (non-forum) databases are all armscii8_bin, but that shouldn't make any difference to the forum database.

I get the same error with Foxfire and IE7 (which is not surprising considering it's a mySQL error)

Any suggestions?

--gary

8

(5 replies, posted in PunBB 1.2 show off)

Thanks for that pointer to extern.php. I had no trouble figuring out how to use it. The only tricky part was that I had put the forum tables into a different database from my main site database so I had to re-select my own database right after the include so that the rest of my page script would work properly.

Now I have the most recent posts on the front page sidebar. Of course there aren't any recent posts yet because there aren't any visitors yet. But the site is only a couple days old. smile

--gary
http://howto.fiziwig.com

9

(5 replies, posted in PunBB 1.2 show off)

I'm building a new hobby website just for fun and I wanted a forum, but I dreaded diving into that task. I was going to write my forum from scratch, but then I stumbled across PunBB. It took me two hours from download to working forum, including my own custom skin to match the rest of my site! I couldn't be happier.

The site hasn't launched yet so there's no traffic yet (except my mom and my kids and grandkids) so there are no posts, but even the empty forum sure looks nice!

Next I need to figure out how to get some forum info like newest post, etc. into my main page header sidebar.

Thanks to the dev team for a slick and easy forum script.
 
--gary ( shameless plug: http://howto.fiziwig.com/ )