1

I'm receiving a PHP parse error whenever the safecracker tag is parsed. The error is:

Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /srv/sites/xxx/xxx/xxx/expressionengine/modules/safecracker/libraries/safecracker_lib.php on line 2083

Running EE 2.5.3 on PHP 5.4.15.

7
  • It doesn't seem Safecraker module error. Can you share the safecracker tag here. Jun 4, 2013 at 15:02
  • Sure! Sorry, should have done that. I stripped out everything but:{exp:safecracker channel="blog"} <input name="title" type="text"> <input type="submit" value="Submit"> {/exp:safecracker}
    – user1602
    Jun 4, 2013 at 15:22
  • are you submitting the entry with guest member? Jun 4, 2013 at 15:39
  • I'm pretty sure EE is not tested/known to work with on PHP 5.4. Jun 4, 2013 at 15:45
  • The form won't even parse at all. I'm getting the error because I'm logged in as a superadmin and have debugging set to 1.
    – user1602
    Jun 4, 2013 at 15:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.