Customizing SMF > SMF Coding Discussion

when a guest tries to reply to a topic

(1/2) > >>

ivogomes:
When a guest tries to reply to a topic, but doesn't fill any field in the form, the following errors appear on top of my board:


--- Code: ---Notice: Undefined index: email in /home/pdc/public_html/forum/Sources/Post.php on line 824
Notice: Undefined index: guestname in /home/pdc/public_html/forum/Sources/Post.php on line 403
Notice: Undefined index: email in /home/pdc/public_html/forum/Sources/Post.php on line 405
--- End code ---

I have all the latest versions of the files, including the language files.

I tried to test it on this forum, but guests aren't allowed to post here ;)

[Unknown]:
What version is this under?  RC1 or Beta 5 Public?

I'm pretty sure I fixed a not-so-often issue with guest posting... had to do with what permissions you gave them, I think.  In RC1, of course.

-[Unknown]

ivogomes:
It's under RC1

Try to reply to a topic and leave it all blank. The error messages are all ok on the form, but on top of the page I get that undefined index error...

Owdy:
For : http://www.simplemachines.org/community/index.php?topic=15220.0

[Unknown]:
Alright, well, I just fixed any possible remaining issues.... it only happened if you directly accessed ?action=post2 without actually posting.  Usuaully this means you're trying to get an error anyway :P.

-[Unknown]

Navigation

[0] Message Index

[#] Next page

Go to full version