That's a quirk of the PHP heredoc syntax and Actinic using \ in file paths when previewing.
The filename will be products\13645.jpg and heredoc sees that as \136 followed by 45.
It should all be OK on the live site as the filename there will be only 13645.jpg.
My Tabber uses heredoc and there's never been any problems there. Image paths seem to be the most likely problem area.
Other things are interpreted by heredoc so be forewarned (although they should be OK on the live site). These are:
\n linefeed (LF or 0x0A (10) in ASCII)
\r carriage return (CR or 0x0D (13) in ASCII)
\t horizontal tab (HT or 0x09 (9) in ASCII)
\v vertical tab (VT or 0x0B (11) in ASCII) (since PHP 5.2.5)
\f form feed (FF or 0x0C (12) in ASCII) (since PHP 5.2.5)
\\ backslash
\$ dollar sign
\" double-quote
\[0-7]{1,3} the sequence of characters matching the regular expression is a character in octal notation
\x[0-9A-Fa-f]{1,2}
So you might also have problems with images in sub-folders whose filenames start with n, r, t, v, f, x.
The filename will be products\13645.jpg and heredoc sees that as \136 followed by 45.
It should all be OK on the live site as the filename there will be only 13645.jpg.
My Tabber uses heredoc and there's never been any problems there. Image paths seem to be the most likely problem area.
Other things are interpreted by heredoc so be forewarned (although they should be OK on the live site). These are:
\n linefeed (LF or 0x0A (10) in ASCII)
\r carriage return (CR or 0x0D (13) in ASCII)
\t horizontal tab (HT or 0x09 (9) in ASCII)
\v vertical tab (VT or 0x0B (11) in ASCII) (since PHP 5.2.5)
\f form feed (FF or 0x0C (12) in ASCII) (since PHP 5.2.5)
\\ backslash
\$ dollar sign
\" double-quote
\[0-7]{1,3} the sequence of characters matching the regular expression is a character in octal notation
\x[0-9A-Fa-f]{1,2}
So you might also have problems with images in sub-folders whose filenames start with n, r, t, v, f, x.
Comment