Topic: Various Bugs

install.php
In install.php, the administrator email check isn't the same as the one in email.php is_valid_email function.
Using a non existant DB layer:
Fatal error: Cannot instantiate non-existent class: dblayer in c:\apache\apache\htdocs\upload\install.php on line 352

The description for database name says:

The name of the database that PunBB will be installed into. The database must exist. For SQLite, this is the relative path to the database file. If it doesn't exists, PunBB will attempt to create it.

If I put in a non existant database, I get:
An error occured on line 55 in file c:\apache\apache\htdocs\upload\include\dblayer\mysql.php.
PunBB reported: Unable to select database. MySQL reported: Unknown database 'meep'

post.php
http://forumname.com/post.php?fid=1&tid=1
It ends up posting to the topic (tid is checked first), but it also loads the subject field wink

Probably more to come, but I'd better post now wink

Re: Various Bugs

Fixed.

"Programming is like sex: one mistake and you have to support it for the rest of your life."