I just updated the module on my development site to the most recent swftools and get the following error:

PHP Warning:  Unexpected character in input:  '\\' (ASCII=92) state=1 in /PATH/sites/all/modules/swftools/swftools.module on line 407, referer: http://DOMAIN
PHP Parse error:  parse error, unexpected ';' in /PATH/sites/all/modules/swftools/swftools.module on line 407, referer: http://DOMAIN

I removed the backslash before "HTML within swftools.module 1.3.2.4.2.42:

Patch attached.

CommentFileSizeAuthor
swftoolsmodule.patch719 bytessolutiondrop

Comments

sime’s picture

Status: Needs review » Fixed
GWD’s picture

I just downloaded what I think is the latest version. There was a second error in line 407

was:
print_r($vars); print ("HTML: \n". check_plain($output); die();

I think it should be

print_r($vars); print ("HTML: \n". check_plain($output)); die();

with the close parentheses on the print("HTML... etc

sime’s picture

Yes, I think I got this last night. The change will reflect in the download in the coming day.

Anonymous’s picture

Status: Fixed » Closed (fixed)