WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: flshow Manager] XML FILE Error (25 posts)

  1. ericnovak
    Member
    Posted 5 years ago #

    I get this error on my carousel when I embed it in the page.

    Stage loaderURL is http://www.abortaware.com/wp-content/plugins/flshow/flshowcarousel.swf
    currentDomain is abortaware.com
    Message: loading XML data
    XML data file: http://www.abortaware.com/?p=249

    INVALID XML FILE:
    TypeError Error #1085

    Any idea how to fix it?

  2. nieohne
    Member
    Posted 5 years ago #

    I got the same error....

    INVALID XML FILE:
    TypeError Error #1090

    Anybody know what to do??

  3. nieohne
    Member
    Posted 5 years ago #

    I just found out that wp saves the xmlfile in the upload folder, but flShow wants it to be in plugins/flshow/resources. So I moved the xmlfile to that destination and it works. But that is not a good way, does anybody know how to change the path?

  4. cipolo
    Member
    Posted 5 years ago #

    your errors seem to be different error #'s. I had the 1085 error before and it was because I hadn't closed a <p> tag.

    I cannot seem to find your xml file or the slide show where you listed it. Did you pull it?

  5. redb68
    Member
    Posted 5 years ago #

    Does someone can help me about this 1085 issue. Many thx

  6. cipolo
    Member
    Posted 5 years ago #

    I would suggest either posting your code or creating a test page we can reference and then posting the link.

  7. jwurster
    Member
    Posted 5 years ago #

    I am getting the same error and have left a comment on the plugin author's site.

  8. pgmccullough
    Member
    Posted 5 years ago #

    exact same problem for me. I tried moving the xml file, which was indeed in the uploads folder. But it didn't make any difference. Anything?

  9. schwooba
    Member
    Posted 5 years ago #

    Anyone have a solution to this??? I'm getting the same #1085 error message...Thanks!

  10. jwurster
    Member
    Posted 5 years ago #

    I moved the xml file and it didn't matter. It seems like it is looking for the xml in the wrong place which has to do with the post url. In my case it's looking for wurster.ws/wordpress/uncategorized/test-flshow. For some reason, while creating my post, it auto-saved it before I had a chance to select a category. Then I selected a category for it "Photo Albums" but maybe it didn't update the place where flshow stores it's data.

  11. schwooba
    Member
    Posted 5 years ago #

    Yep, I moved the xml file too with no luck. When I create a carousel, for example "123", I would get the error message...

    XML data file: http://www.domain.com/123

    INVALID XML FILE:
    TypeError Error #1085

    Something is misplaced. Hopefully, somebody with more knowledge could shed some light.

  12. kckal
    Member
    Posted 5 years ago #

    What version of wp are you running? I can only get it working in 2.6.
    By following the set up instructions via the plugin, this works when I test it in v2.6. In v2.7, I get an input/output error in regard to loading the xml regardless of where I save it (/resources or /uploads).

  13. jwurster
    Member
    Posted 5 years ago #

    I am running 2.7.1. You can see the error here.

  14. freyro
    Member
    Posted 5 years ago #

    ok interesting. I run also on 2.7.1 and get the same errors. Really hope we soon get the attention of developer.

  15. steph-n
    Member
    Posted 5 years ago #

    Somebody find the solution please?

  16. BrandiBoyd
    Member
    Posted 5 years ago #

    Ok. I know very little php and nada about flash- just a caviat, but this is how I fixed it for myself.
    Of course, I didn't save my errors to copy here (sorry) and don't want to reproduce them at the moment, but I was getting the input/output error, not the #1085 error.
    It looked to me like flshow manager was looking for the .xml file in both the root directory of my wordpress install, and in the plugins/flshow-manager/resources/ directory, under the title/name that I gave it in the setup which was just for my reference. For example I gave my first flshow gallery the name Home Page, which became the slug home-page. flshow was looking for "http://mysite/wordpress_root/home-page", and "http://mysite/wordpress_root/plugins/flshow-manager/resources/home-page". So it's looking for two files that (a)don't exist where they are, and (b)have no file extensions.

    So I took my .xml file, which was actually named flShow_carousel_446.xml (446 being the ID number of the carousel in the flshow manager interface), and actually located at /wordpress_root/uploads/flShow_carousel_446.xml ... and I copied it to the /wordpress_root/ AND the wordpress_root/plugins/flshow-manager/resources/ directories, renaming it home-page.xml in both places. I also left it in the uploads folder as is.

    Then I found line 805- 811 in flshow.php, which echo the filenames into your page. Mine looked like this:

    <script type="text/javascript">
    			jQuery(document).ready(function() {
    				var flashVars = {xmlfile: '<?php echo $show->guid; ?>'};
    				var objectVars = {bgcolor: '<?php echo $background; ?>',  allowFullScreen: <?php echo $fullscreen; ?>, wmode: '<?php echo $wmode; ?>'};
    				swfobject.embedSWF( '<?php echo path_join( $fl_show->plugin_url, 'resources/flShowCarousel.swf' ); ?>', '<?php echo $flash_container_id ?>', "100%", "100%", "9", false, flashVars, objectVars);
    			});
    		</script>

    and I added
    , ('.xml')
    on line 807 just after
    '<?php echo $show->guid
    so that the end result (all of line 807) looks like this:

    var flashVars = {xmlfile: '<?php echo $show->guid, ('.xml'); ?>'};

    Which has worked for me, with one carousel. When I have time to try adding more I will see what happens. Good luck.

  17. steph-n
    Member
    Posted 5 years ago #

    BrandiBoyd, you're the best!
    Thank you very much!
    Your explication is perfect, even for a french guy ;)

    Encore une fois, merci beaucoup de ton aide!

  18. steph-n
    Member
    Posted 5 years ago #

    Shit, the problem is back :'( !
    lol
    everything is good now! (i used a second carrousel with an incorrect number -> the first doesn't work anymore)

  19. mochapj
    Member
    Posted 5 years ago #

    I'm also getting the 1085 error as seen here:

    http://www.foodieandtheeveryman.com/

    I tried BrandiBoyd's suggestion too, but it didn't seem to fix anything.

    Anyone else have any ideas?

  20. CreativeWP
    Member
    Posted 5 years ago #

    Has any one worked out this plugin?

  21. CreativeWP
    Member
    Posted 5 years ago #

    I have a problem with a plugin that you helped to create, FLShow. I have a problem with the plugin, the xml is placed in a folder which is different to where is been pointed. What I mean is this: The folder where the xml gets saved is in /wp-content/upload/ BUT, the plugin looks for the file in a folder which does not exist, in fact, the folder name is the name of the xml which is the photo album within the root the folder. So even if I create a folder with that name within the root folder, which the file added, still gets an error.

    Can you help all those people who are using it (at least trying).

    What I have gather so far, is that just about any one who used this plugin gave up! Please help

  22. BrandiBoyd
    Member
    Posted 5 years ago #

    Hi.
    None of us helped create the plugin, and the creator doesn't seem to be involved here.

    It's always helpful to give the actual error you are having; this thread involves two errors for the flShow plugin- an I/O error and error #1085.
    It sounds like you are having the same trouble I did - the I/O error. It is actually not that the plugin is looking for a folder which doesn't exist.
    It is both that the plugin is looking for a file name without the extension on it (i.e.- your-flshow-file instead of your-flshow-file.xml), and that it is looking for that file in two places where it does not naturally exist- you have to copy it there manually via ftp, AND add a bit of code to a plugin file to make it look for a file instead of a folder.

    If it is the I/O error you should be able to use the fix: here (above).
    Delete the folders you created. Then follow the steps in that post above. Edit your file in a text editor or the plugin editor.

    Unfortunately I don't have a solution for the #1085 error as I can't reproduce it on my own setup. If someone wants to give me access to theirs with the offending error I will give it a shot sometime in the next week but can't promise anything.

  23. rico31
    Member
    Posted 5 years ago #

    Hi,

    I have the same problem with #1085 error.
    The difference with you workaround is there is no directory under the wordpress_root/plugins/flshow-manager/resources/...
    Thanks for your help.

  24. dsonesuk
    Member
    Posted 4 years ago #

    if you replace:

    var flashVars = {xmlfile: '<?php echo $show->guid, ('.xml'); ?>'}

    with:

    var flashVars = {xmlfile: '<?php echo "http://".$_SERVER['HTTP_HOST']?>/wp-content/uploads/flShow_carousel_<?php echo $flshow_id.".xml";?>' };

    it should find the uploads directory where your xml file is placed, and the id ref (flShow_carousel_XXX, where XXX equals id ref) and add xml extension.

  25. papa4174
    Member
    Posted 4 years ago #

    dsonesuk you are the master. thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic