[Zope] "Object does not support this operation"
WrestGalen@aol.com
WrestGalen@aol.com
Fri, 18 May 2001 21:16:37 EDT
Hello everyone. I have a web page with a member base. When people wish to become "New" members, they mearly fill out the join form, and click ok. This goes into a folder called member_lists/profiles/ and clones a dtml-document called blank_sheet, and then modifies the properties of this clone to match the new information inputted by the user. However, when I submit the join (this had worked previously, but once we had updated the join form, it ceased working. On our other test page as well, which is strange since we didn't update that.) it gives me a "Object blank_sheet does not support this operation" error.
The join form submits its data to submit_join, which does all the work. Here is the code for submit_join.
<!--#var standard_html_header-->
<dtml-with "PARENTS[-1].f_member_lists.profiles">
<dtml-with "manage_clone(blank_sheet,'new_' + REQUEST['character_name'],REQUEST)">
<dtml-call "manage_changeProperties(
title=REQUEST['character_name'],
age=REQUEST['age'],
gender=REQUEST['gender'],
politics=REQUEST['politics'],
real_name=REQUEST['real_name'],
character_name=REQUEST['character_name'],
location=REQUEST['location'],
race=REQUEST['race'],
character_class=REQUEST['character_class'],
specialization=REQUEST['specialization'],
discipline_1=REQUEST['discipline_1'],
discipline_2=REQUEST['discipline_2'],
discipline_3=REQUEST['discipline_3'],
char_description=REQUEST['char_description'],
icq=REQUEST['icq'],
aim=REQUEST['aim'],
email=REQUEST['email'],
days_active=REQUEST['days_active'],
hours_on=REQUEST['hours_on'],
currently_play=REQUEST['currently_play'],
game_genres=REQUEST['game_genres'],
used_play=REQUEST['used_play'],
reasons=REQUEST['reasons'],
where_hear=REQUEST['where_hear'],
goals=REQUEST['goals'],
contribute=REQUEST['contribute'],
leadership=REQUEST['leadership'],
drink=REQUEST['drink'],
aliens=REQUEST['aliens'],
animals=REQUEST['animals'],
website=REQUEST['website'],
)">
</dtml-with>
</dtml-with>
<P>Thank you for filling out our application!</P>
<p>A confirmation e-mail has been sent to you.</p>
<P>To return to the main page, click <a href="http://thekindred.mamey.com/">here</A>.</P>
<!--#var standard_html_footer-->
and here is code for the blank_sheet
<TABLE WIDTH="300" ALIGN="CENTER" VALIGN="TOP">
<TR>
<TD COLSPAN=2> <B>Personal Information</B> </TD>
</TR>
<TR>
<TD> Name:
<TD> <dtml-if real_name><dtml-var real_name></dtml-if real_name> </TD>
</TR>
<TR>
<TD> Age: </TD>
<TD> <dtml-if age><dtml-var age></dtml-if > </TD>
</TR>
<TR>
<TD> Gender: </TD>
<TD> <dtml-var gender></TD>
</TR>
<TR>
<TD> Political Party: </TD>
<TD> <dtml-var politics> </TD>
</TR>
<TR>
<TD> Location: </TD>
<TD> <dtml-if location><dtml-var location></dtml-if > </TD>
</TR>
<TR>
<TD> ICQ#: </TD>
<TD> <dtml-if icq><dtml-var icq></dtml-if> </TD>
</TR>
<TR>
<TD> AIM: </TD>
<TD> <dtml-if aim><dtml-var aim></dtml-if> </TD>
</TR>
<TR>
<TD> E-mail: </TD>
<TD> <dtml-if email><dtml-var email></dtml-if> </TD>
</TR>
<TR>
<TD> Aliens: </TD>
<TD> <dtml-if aliens><dtml-var aliens></dtml-if > </TD>
</TR>
<TR>
<TD COLSPAN=2><B>Character Information</B></TD>
</TR>
<TR>
<TD> Characters Name: </TD>
<TD> <dtml-if character_name><dtml-var character_name></dtml-if > </TD>
</TR>
<TR>
<TD> Race: </TD>
<TD> <dtml-if race><dtml-var race></dtml-if> </TD>
<TR>
<TD> Class: </TD>
<TD> <dtml-if class><dtml-var character_class></dtml-if > </TD>
</TR>
<TR>
<TD> Specialization: </TD>
<TD> <dtml-if specialization><dtml-var specialization></dtml-if>
<TD> Diciplines: </TD>
</TR>
<TR>
<TD align="center" colspan="2"><dtml-if discipline_1><dtml-var discipline_1></dtml-if></TD>
</TR>
<TR>
<TD align="center" colspan="2"><dtml-if discipline_2><dtml-var discipline_2></dtml-if></TD>
</TR>
<TR>
<TD align="center" colspan="2"><dtml-if discipline_3><dtml-var discipline_3></dtml-if></TD>
</TR>
<TR>
<TR>
<TD> Small Furry Animals: </TD>
<TD> <dtml-if animals><dtml-var animals></dtml-if > </TD>
</TR>
<TR>
<TD> Character Description: </TD>
<TD><TEXTAREA COLS="20" ROWS="5"><dtml-if char_description><dtml-var char_description></dtml-if></TEXTAREA></TD>
</TR>
<TR>
<TD> Days most active: </TD>
<TD> <dtml-if days_active><dtml-var days_active></dtml-if> </TD>
</TR>
<TR>
<TD> Hours spent online each day: </TD>
<TD> <dtml-if hours_on><dtml-var hours_on></dtml-if> </TD>
</TR>
<TR>
<TD> Game Genres enjoyed: </TD>
<TD> <dtml-if game_genres><dtml-var game_genres></dtml-if > </TD>
</TR>
<TR>
<TD> Reasons for joining the <dtml-if guild_name><dtml-var guild_name></dtml-if></TD>
<TD> <TEXTAREA ROWS="5" ><dtml-if reasons><dtml-var reasons></dtml-if></TEXTAREA> </TD>
</TR>
<TR>
<TD> Where did you hear about us? </TD>
<TD> <dtml-if where_hear><dtml-var where_hear></dtml-if> </TD>
</TR>
<TR>
<TD> What do you want to achieve playing shadowbane? </TD>
<TD> <dtml-if goals><dtml-var goals></dtml-if> </TD>
</TR>
<TR>
<TD> What do you think you can contribute to the guild? </TD>
<TD> <TEXTAREA ROWS="5"><dtml-if contribute><dtml-var contribute></dtml-if></TEXTAREA></TD>
</TR>
<TR>
<TD> Leadership Experience: </TD>
<TD> <dtml-if leadership><dtml-var leadership></dtml-if > </TD>
</TR>
<TR>
<TD> Coke or Pepsi?: </TD>
<TD> <dtml-if drink><dtml-var drink></dtml-if > </TD>
</TR>
<TR>
<TD> Favorite Website: </TD>
<TD> <dtml-if website><dtml-var website></dtml-if > </TD>
</TR>
</TABLE>
I have been goofing around with proxy on the pages, and I origionally thought that was the issue, but I made a copy of blank_sheet AND submit_join in which I didn’t touch the proxy, and those still had the same error.
I also have a java script running for the fourm, which checks to make sure all the fields are filled in, but that is on join_form, not submit_join, so I don’t think that’s it (don’t see why it would be either).
Any help would be greatly appreciated. Thank you.