View Issue Details

IDProjectCategoryView StatusLast Update
0003319Composr[All Projects] General / Uncategorisedpublic2017-07-12 13:41
ReporterPaul Flavel (2)Assigned ToChris Graham 
SeverityMajor-bug 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0003319: Uncaught SyntaxError: Unexpected token
DescriptionSince upgrading from 10.1.0 beta1 to beta2, unable to upload images within an article. Getting the following console error.

Uncaught SyntaxError: Unexpected token <
    at generate_background_preview (posting_ssl.js?1499761414:63)
    at posting_ssl.js?1499761414:54
    at Object.finished (modalwindow_ssl.js:59)
    at Object.option (modalwindow_ssl.js:66)
    at iframe.contentWindow.faux_close (modalwindow_ssl.js:136)
    at comcode_helper.php?type=step3&field_name=post&utheme=admin:71

Cleared cache etc.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Paul Flavel (2)

2017-07-11 12:44

reporter   ~0005165

Disabled minify javascript in cloudflare, now working. Though this should not cause it to break.

Chris Graham

2017-07-11 23:05

administrator   ~0005168

Well done on spotting the cause.

This should fix it:
https://github.com/ocproducts/composr/commit/0b3a928e08fcd2e8f5ef283f4ab1180d2ea44e5c

Paul Flavel

2017-07-12 13:41

reporter   ~0005169

Cheers for the fix chris

Issue History

Date Modified Username Field Change
2017-07-11 09:04 Paul Flavel (2) New Issue
2017-07-11 12:44 Paul Flavel (2) Note Added: 0005165
2017-07-11 23:05 Chris Graham Note Added: 0005168
2017-07-11 23:05 Chris Graham Status non-assigned => resolved
2017-07-11 23:05 Chris Graham Resolution open => fixed
2017-07-11 23:05 Chris Graham Assigned To => Chris Graham
2017-07-12 13:41 Paul Flavel Note Added: 0005169
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised