Hi there
I tried updating from Build 20101019 to Build 20101102 and got the following after I submitted a form (though the data was written to db successfully):
A PHP Error was encountered
Severity: Notice
Message: Undefined index: entry_id
Filename: entry_reedirect/ext.entry_reedirect.php
Line Number: 142
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/false/public_html/cms/codeigniter/system/core/Exceptions.php:171)
Filename: libraries/Functions.php
Line Number: 739
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/false/public_html/cms/codeigniter/system/core/Exceptions.php:171)
Filename: libraries/Functions.php
Line Number: 377
I tried updating by both simply replacing old files with new, and by first uninstalling module/extension then reinstalling (is this required?), but it didn’t make any difference.
Here is my form code:
{exp:safecracker channel="{channels}" return="{channels}/item/URL_TITLE" datepicker="no" url_title="{segment_3}"}
<input type="hidden" name="status" {if member_group=="1"||member_group=="7"}value="Open"{if:else}value="Open"{/if}
<input type="hidden" name="entry_date" value="{entry_date}" />
<table class="additem" summary="Add an item - required">
<tr>
<th colspan="4" class="addstrap">Essentials <span>(required)</span></th>
</tr>
<tr>
<th><label for="title">Name of campaign</label></th>
<td colspan="3"><input type="text" name="title" id="title" value="{title}" size="50" maxlength="100" /></td>
</tr>
<tr>
<th><label for="camplace">Location</label></th>
<td><select name="camplace" id="camplace">
{options:camplace}
<option value="{option_value}"{selected}>{option_name}</option>
{/options:camplace}
</select></td>
<td colspan="2">
<div class="formhint">Select first letter(s) of postcode. If campaign spans more than one region, choose the most central postcode, or opt for "National".</div></td>
</tr>
<tr>
<th><label for="camtext">Description</label><div class="formhint">Write a short description of the campaign.</div></th>
<td colspan="3"><textarea cols="50" rows="10" name="camtext" id="camtext">{camtext}</textarea></td>
</tr>
<tr>
<th colspan="4" class="addstrap">Campaign contact details <span>(enter at least one)</span></th>
</tr>
<tr>
<th><label for="caminfo">Website</label></th>
<td colspan="3"><input type="text" name="caminfo" id="caminfo" value="{caminfo}" size="50" maxlength="200" /></td>
</tr>
<tr>
<th><label for="cammail">Email</label></th>
<td colspan="3"><input type="text" name="cammail" id="cammail" value="{cammail}" size="50" maxlength="100" /></td>
</tr>
<tr>
<th><label for="camtel">Telephone</label></th>
<td colspan="3"><input type="text" name="camtel" id="camtel" value="{camtel}" size="50" maxlength="100" /></td>
</tr>
<tr>
<th colspan="4" class="addstrap">Extras</th>
</tr>
<tr>
<th><label for="campost1">Campaign postcode</label></th>
<td><input type="text" name="campost1" id="campost1" value="{campost1}" size="5" maxlength="5" class="shortfield" />
<div class="formhint">1st part<br />(eg "SE1")</div></td>
<td><input type="text" name="campost2" id="campost2" value="{campost2}" size="4" maxlength="4" class="shortfield" />
<div class="formhint">2nd part รข?? if known<br />(eg "3AB")</div></td>
<td><div class="formhint">For local/regional campaigns: providing a full or partial postcode will help us better map the campaigns.</div></td>
</tr>
</table>
<p><input type="image" src="/img/send.png" alt="Send" title="Send" value="Submit" /></p>
<p class="small">Once you press "Send", your entry will be queued for approval. You will still be able to preview and amend it.</p>
{/exp:safecracker}
Thanks for your help.