SafeCracker form relative path with SafeCracker File
Posted: 06 June 2011 07:04 PM   [ Ignore ]
Wallflower
Avatar
Rank
Total Posts:  9
Joined  2011-01-18

Is it possible to use a relative path with a SafeCracker File field in a Safecracker form? I typically use a “../images” path setup, but I just discovered that I get an error unless I set an absolute path.

The error I’m getting is “Upload path does not appear to be valid.”

Profile
 
 
Posted: 06 June 2011 07:43 PM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Hey Andrew, SafeCracker and File are now owned and supported by EllisLab, you should now use their ExpressionEngine forums for official support.

You haven’t been the first to report issues using relative paths. Keep in mind that the path should be relative to your system path.

Profile
 
 
Posted: 06 June 2011 07:50 PM   [ Ignore ]   [ # 2 ]
Wallflower
Avatar
Rank
Total Posts:  9
Joined  2011-01-18

Cool, thanks for the quick reply. I’ll take my question over there.

Profile