Hello,
My EE version is 2.2.2.
I have this form to edit some channel entry at frontend
<?php
ini_set("memory_limit","-1");
?>
{exp:safecracker channel="apartment" include_jquery="yes" datepicker="yes" return="realestate/add_offered_rent_ad/URL_TITLE" url_title="{segment_3}" preserve_checkboxes="yes" require_entry="yes"}
<fieldset>
<label for="extra_notes_apt" id="extra_notes_apt_lbl">وصف حر</label>
<textarea id="extra_notes_apt" name="extra_notes_apt" dir="{text_direction}" rows="5">{extra_notes_apt}</textarea>
</fieldset>
<fieldset>
{custom_fields}
{if file}
{display_field}
{/if}
{/custom_fields}
</fieldset>
<fieldset>
<input type="submit" name="submit" value="Submit" />
</fieldset>
{/exp:safecracker}this form has some problem
1-file manager problem:
when i click “add file” the file manager dialog appear but the upload file button does work and the select drop down list of allowed upload directories has the all available directories in spite of i determined only one upload directory in custom field settings.
2-when i logged in with user whom is not a super admin , the form does not appear at all.
3-when i submitted the form the following error appear:
A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: libraries/Functions.php
Line Number: 1449
thank you in advance