WordPress.org

Ready to get started?Download WordPress

Forums

Media File Manager
SyntaxError: Unexpected token (8 posts)

  1. iversoncru
    Member
    Posted 1 year ago #

    hi there!
    i just installed the plugin and when i go to Media -> Media File Manager, i get this error:

    SyntaxError: Unexpected token < [{"ids":0,"name":"2013","isdir":1,"isthumb":0,"norename":0,"id":"","thumbnail_url":"http:\/\/iversoncru.eshost.es\/wp-content\/plugins\/media-file-manager\/images\/dir.png"}]

    twice!

    any ideas? thanksss!!

    http://wordpress.org/extend/plugins/media-file-manager/

  2. mrcavallo
    Member
    Posted 1 year ago #

    hello - i have used this plugin for all my sites - however have started to get this error on mine as well:

    SyntaxError: Unexpected token <
    Warning: array_key_exists() expects parameter 2 to be array, string given in /home/brussels/public_html/wp-content/plugins/media-file-manager/media-relocator.php on line 211
    [{"ids":40,"name":"folio","isdir":1,"isemptydir":0,"isthumb":0,"norename":0,"id":"","thumbnail_url":"http:\/\/brusselsprout.biz\/wp-content\/plugins\/media-file-manager\/images\/dir.png"},{"ids":36,"name":"home-slider","isdir":1,"isemptydir":0,"isthumb":0,"norename":0,"id":"","thumbnail_url":"http:\/\/brusselsprout.biz\/wp-content\/plugins\/media-file-manager\/images\/dir.png"},

    and it continues for a couple of pages.

    any suggestions as i cannot find any plugin like it.

    thanks.

  3. aueda
    Member
    Plugin Author

    Posted 11 months ago #

    What version of PHP, WordPress, browser are you using?

  4. aueda
    Member
    Plugin Author

    Posted 11 months ago #

    Will you please do the following test to help me to solve the problem?

    (1)Download the test version of plugin and install it:
    http://tempspace.net/plugins/media-file-manager_test_130819.zip

    (2)You may see the same error as before and additional output like "******* ????? ******". What do you see between two "*******"s?

  5. aueda
    Member
    Plugin Author

    Posted 11 months ago #

    Would you please do the following test?

    (1)Download the test version of plugin and install it:
    http://tempspace.net/plugins/media-file-manager_test_130822.zip

    (2)Download the log file.
    (Settings -> Media-file-manager -> Download Log

    (3)Send me the log file (orguezzr at gmail dot com)

  6. sblessley
    Member
    Posted 8 months ago #

    I am also experiencing this problem. WordPress is 3.7.1, PHP 5.3.

    With your test version, the initial error text changes to
    "SyntaxError: Unexpected token A An error occured. Please download log file and send to the plugin author."

    There are no "Settings" in the plugin. Can you tell me where this log file is? I only find out_log.php and .php~

  7. aueda
    Member
    Plugin Author

    Posted 7 months ago #

  8. sblessley
    Member
    Posted 7 months ago #

    Yes! Thank you! 優しいです。

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic