Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: treo on March 14, 2004, 05:20:19 PM

Title: Editing Guest's Posts
Post by: treo on March 14, 2004, 05:20:19 PM
I just tried to edit a Guest Post and nothing happend but this:
Notice: Undefined index: guestname in /home/www/web2/html/board/Sources/Post.php on line 636
Notice: Undefined index: email in /home/www/web2/html/board/Sources/Post.php on line 641
Notice: Undefined index: email in /home/www/web2/html/board/Sources/Post.php on line 643
Title: Re: Editing Guest's Posts
Post by: [Unknown] on March 14, 2004, 05:23:56 PM
I can't duplicate.

-[Unknown]
Title: Re: Editing Guest's Posts
Post by: treo on March 14, 2004, 05:26:02 PM
with the new packages it works fine.
(see iurl tag thread)
Title: Re: Editing Guest's Posts
Post by: ku on March 15, 2004, 10:09:16 PM
what are the new packages that you are referring to?
i'm using the open public beta 4 and it returns the following when trying to overwrite the initial Simple Machines team message with my own:
(this is from "track user" info):

8: Undefined index: %s
File: /PATH-TO-SM/Sources/Post.php
Line: 641
?action=post2;start=0;msg=1;sesc=[...];board=1

8: Undefined index: %s
File: /PATH-TO-SM/Sources/Post.php
Line: 636
?action=post2;start=0;msg=1;sesc=[...];board=1

8: Undefined index: %s
File: /PATH-TO-SM/Sources/Post.php
Line: 643
?action=post2;start=0;msg=1;sesc=[...];board=1

8: Undefined index: %s
File: /PATH-TO-SM/Sources/Post.php
Line: 641
?action=post2;start=0;msg=1;sesc=[...];board=1

====
deleting the guest post and posting my own works fine.

also if i change only the user name and click Save, it works! And then change the message body and click Save, it works again. But if i change all the details at once, it results in the message above.

using win2k with the latest IE with the SQL server running on a linux box.
Title: Re: Editing Guest's Posts
Post by: [Unknown] on March 16, 2004, 12:46:40 AM
First off, it's SMF not SM :P.

Does it actually say %s?

Are you trying to set the email address to nothing?

-[Unknown]