Severity: Warning
Message: Creating default object from empty value
Filename: forum/mod.forum_core.php
Line Number: 1401
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: checkboxes/ft.checkboxes.php
Line Number: 82
___________
A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: libraries/Functions.php
Line Number: 1449
___________
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/content/79/8296179/html/tideland/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 393
_______________
I have a feeling that it’s something to do with my return=“template group/template/url_title” because any edits I made in the SAEF are being made even though I’m getting an error.
Any information would help.
Thanks
oh and i’m runing 2.2.2
Severity: Warning
Message: in_array() [function.in-array]: Wrong datatype for second argument
Filename: libraries/safecracker_lib.php
Line Number: 761
Fatal error: [] operator not supported for strings in /nfs/c03/h01/mnt/52502/domains/krossinkeuka.org/html/sys/expressionengine/third_party/safecracker/libraries/safecracker_lib.php on line 763
The safecracker section of my template is as follows:
{exp:safecracker channel="sponsor" author_id="CURRENT_USER" limit="1" dynamic_title="[sponsor_name]"}
<input type=“hidden” name=“title” id=“title” value=”{title}”>
<input type=“hidden” name=“url_title” id=“url_title” value=”{url_title}”>
<input type=“hidden” name=“entry_date” id=“entry_date” value=”{entry_date format="%Y-%m-%d %g:%i"}”>
<input type=“hidden” name=“sponsor_participant” id=“sponsor_participant” value=”{segment_2}”>
<tr>
<td>
<label for=“sponsor_name”>Your Name <span class=“asterisk”>*</span></label>
<input type=“text” name=“sponsor_name” id=“sponsor_name” value=”{sponsor_name}”>
</td>
<td>
<label for=“sponsor_email_address”>Email Address <span class=“asterisk”>*</span></label>
<input type=“text” name=“sponsor_email_address” id=“sponsor_email_address” value=”“>
</td>
<td>
<label for=“sponsor_amount”>Amount: <span class=“asterisk”>*</span></label>
<input type=“text” name=“sponsor_amount” id=“sponsor_amount” value=”{sponsor_amount}”>
</td>
<td>
<input type=“submit” name=“submit” value=“Submit” class=“button”>
</td>
</tr>
{/exp:safecracker}
The field is set to Searchable but when I search for a word I know appears in one of my fields, the no results message is returned.
This is with ExpressionEngine 2.1.4. We’ll update to ExpressionEngine 2.2.0 within the next few days.
]]>Any idea why after moving a site from one host to another the tag exp:safecracker started to output only javascript?
Consider such code:
{exp:safecracker channel="ebook_common" return="technical/test15"}
<p>Title<br />
<input type="text" name="title" id="title" value="{title}" size="50" maxlength="100"></p>
<p>URL Title<br />
<input type="text" name="url_title" id='url_title' value="{url_title}" maxlength="75" size="50" /></p>
<label for="categories">Categories</label>
<select name="category[]" id="categories" size="4" multiple="multiple">
{categories}
<option value="{category_id}"{selected}>{category_name}</option>
{/categories}
</select>
<p>Project Title<br />
<input type="text" name="project_title" id='project_title' value="{project_title}" maxlength="75" size="50" /></p>
<p><input type="submit" name="submit" value="Submit" />
{/exp:safecracker}
This code outputs:
< script type="text/javascript" charset="utf-8" src="http://www.antiquityillustrated.com/index.php?ACT=48&ui=core,widget,mouse,position,draggable,resizable,button,dialog,datepicker&plugin=scrollable,scrollable.navigator,ee_filebrowser,markitup,thickbox&v=1292840586&use_live_url=y&include_jquery=y">[removed]
< script type="text/javascript" charset="utf-8">
// <![CDATA[
$(document).ready(function() {
if (typeof SafeCracker == "undefined" || ! SafeCracker) { var SafeCracker = {markItUpFields:{}};}
$.datepicker.setDefaults({dateFormat:$.datepicker.W3C+EE.date_obj_time});
$.datepicker.setDefaults({defaultDate: new Date(1308724328000)});
});
// ]]>
< /script>
<style type="text/css">.hasDatepicker{background:#fff url(http://...
There is channel ebook_common, there are fields in that channel, Safecracker is installed. I tried to uninstall and reinstall Safecracker, but it did not help.
Thanks.
]]>The error I’m getting is “Upload path does not appear to be valid.”
]]>I have begun using SafeCracker for a multitude on member accessible forms, so that only selected fields are displayed (others are for admin purposes) and because the documentation states that the custom_fields loop is weak, I am not using the {custom_fields} loop but instead am using {field:field_name} and {fieldname} tags to display and populate my forms.
However I can not find in the documentation or forum how to tell if a field is required without using the custom_fields loop. I understand I can get the label: instructions: and error:(s) but as I understand it there is not a {required:field_name} tag.
Can anyone help?
If I have to rebuild my forms with the loop it will take a while hence why I’m asking here first.
Many Thanks,
Blatant (Danny)
]]>
A PHP Error was encountered
Severity: User Warning
Message: unexpected operator '+'
Filename: libraries/Evalmath.php
Line Number: 361
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/native5/public_html/buybees/nb_admin/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 405
Fatal error: ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: Cannot use output buffering in output buffering display handlers in /home/native5/public_html/buybees/nb_admin/codeigniter/system/core/Exceptions.php on line 166
Im not sure if this is because I was using a select_dropdown field as my custom field to generate the dynamic_title or what. I realize that these are php errors maybe unrelated to SC but I already tried posting my first php errors to EE Forums (see thread here) and I am getting no help there. Now my site is messed up again because I removed dynamic_title and went back to a simple SC form and now I get these same errors no matter what (both on new entry and edit).
I really need to be able to use SafeCracker and use dynamic_title.
HELP PLEASE!!!
]]>
{exp:safecracker channel="{channel}" return="/news" entry_id="{segment_3}" author_only="yes" name="myform" author_id="CURRENT_USER"}