• Resolved abeeken

    (@abeeken)


    Hello! I’m using Work The Flow to handle in page file uploads on a Network of WordPress sites that I’ve set up for students at our University in Lincoln. The sites use a custom theme as well as a custom plugin and a suite of third party plugins to allow students to manage content on fixed pages set up to a template to complete work for a given course.

    WTF was working just fine until I updated the network to 4.3 last week at which point I started getting the Unexpected token error. I’ve seen that this is uncommon however I cannot seem to find a specific fix. The plugin is on the latest version (3.0.1 according to my WP Admin) and I’ve also isolated it in a different theme with all other plugins turned off. I’m wondering if the issue therefore is specific to WP 4.3 or my specific environment but I’m not 100% sure where to start looking.

    While the issue isn’t particularly critical at present, students are returning this week to study so any ideas you may have as to the probable cause or solution would be greatly appreciated!

    https://www.ads-software.com/plugins/work-the-flow-file-upload/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author lynton_reed

    (@lynton_reed)

    Hi great to here that a whole university is using the plugin.

    I assume by network you mean a wordpress multisite installation and that students have their own sites within that.

    Can you please provide more details of your error and when it occurs and also if applicable when it does not occur.

    To be able to solve the problem you will need to provide as much information as possible so that I can replicate and diagnose the problem.

    So explicit steps to reproduce the problem will help a lot.
    Pasting any relevant short codes or error messages is also good.

    To be honest I have only done minimal testing on multi-site installations but if it worked prior to 4.3 then I’m sure we can isolate and solve this problem.

    The more you can detail the steps to reproduce it the more likely I can solve it.

    regards
    Lynton

    Thread Starter abeeken

    (@abeeken)

    Hello! Yes, it’s on a multisite, with the plugin running site by site rather than as a network activation. Basically we have a template site that we set up for each new course and then copy for each student. There is a page for them to upload supporting documentation on which we have WTF running with the following shortcodes:

    [wtf_fu_upload]

    [wtf_fu_show_files]

    This allows the students to upload their documentation and for moderators to see it in the page.

    The plugin seems to work fine until you try to upload a file. You choose the file, hit the Start Upload button and the progress bar goes up as if the upload is happening. Instead, a red ERROR indicator shows underneath the file in the uploader with the error SyntaxError: Unexpected token <.

    I’ve checked permissions on the folders, checked the other plugins and the theme but I still get the error which suggests a problem with 4.3 itself (or at least this particular installation).

    Plugin Author lynton_reed

    (@lynton_reed)

    sorry for delay in replying

    can you provide a link to the problem so that I can see it ?

    Thread Starter abeeken

    (@abeeken)

    Hey! Sorry about the delay on this, I’ve been out and about doing conferences so only just got my feet back under the desk.

    The network is on an installation which is heavily locked down – are there any channels I can contact you on to get some secure login details to you?

    Plugin Author lynton_reed

    (@lynton_reed)

    you can send to lynton at wtf-fu.com

    Plugin Author lynton_reed

    (@lynton_reed)

    user emailed to say that it now works after adjusting security settings on their servers. resolving.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress 4.3 update, SyntaxError: Unexpected token’ is closed to new replies.