Hi again Freezhao,
Can you please provide some extra information on the problem.
1. how are you calling the showfiles reorder shortcode ?
is it embedded in a workflow content or is it embedded directly into a page or post.
Please paste the shortcode you are using here so I can see it.
2. Can you please paste the url of the page that you see this error output on.
3. Does this happen all the time or just with a specific images or files ? Can you get it to work at all ?
4. If you have multiple shortcodes on the one page can you reduce things to a more simple test i.e. a new post with just the shortcode in it. Does that then work ?
5.
The error output indicates that something failed when reordering the files. Typical causes of this (aside form bugs of course) would be not having write permissions on the directory so check that the directory location of the files is writable and that the users upload directory is writable.
So can you please check that the files and directories have write access
i.e.
the directory uploads/1 and the files in uploads/1/demofiles/default/
also check if a file something like
/uploads/1/file_order_demofiles__default.txt
was created, this should contain text detailing the new order of the files.
If it is there is it writable and does it contains the file names in the sorted order or not ?
6.) This is just a guess but the file
Snip20140428_2 (1).png
looks suspicious try renaming this file without the () parenthesis.
Did this help ?
Please try these things and then provide back as much information as you can.
regards,
Lynton
forget about 6. parenthesis should be fine.
Freezhao ,
I don’t know what your problem is, but this usually happens when something has already sent a response by the time the ajax response is called and so
the browser just displays the ajax xml response.
This can happen for example is PHP outputs something to the screen, for example an error or deprecation warning or similar.
The ajax response itself looks correct, but perhaps whatever PHP you are using causes some output to be sent therefore causing this behaviour.
I have released 1.2.4 now and addded some extra checks around the ajax handler code to discard any output produced.
Hopefully that may fix your problem.
Please try it and let me know.
Lynton
1. how are you calling the showfiles reorder shortcode ?
is it embedded in a workflow content or is it embedded directly into a page or post.
——I use the demo one without any extra editing.
Please paste the shortcode you are using here so I can see it.
——[wtf_fu id=’2′]
2. Can you please paste the url of the page that you see this error output on.
——I use the localhost so url in useless, and now with1.24 reorder function on My localhost is still froze,and in my edu.freezhao.com, it works but look bad, it turn the thumbnails into the vertical way with a control bar.
3. Does this happen all the time or just with a specific images or files ? Can you get it to work at all ?
——all frozen.
4. If you have multiple shortcodes on the one page can you reduce things to a more simple test i.e. a new post with just the shortcode in it. Does that then work ?
——I just use the [wtf_fu id=’2′]
5.The error output indicates that something failed when reordering the files. Typical causes of this (aside form bugs of course) would be not having write permissions on the directory so check that the directory location of the files is writable and that the users upload directory is writable.
——, localhost I dont think theres permissions problem, and I can edit directly.
So can you please check that the files and directories have write access
i.e.
the directory uploads/1 and the files in uploads/1/demofiles/default/
also check if a file something like
/uploads/1/file_order_demofiles__default.txt
was created, this should contain text detailing the new order of the files.
If it is there is it writable and does it contains the file names in the sorted order or not ?
——-file_order_demofiles__default.txt is exist, and there are 3files”file_order_demofiles__default.txt”,”file_order_main_dir__images.txt”,”file_order_wtf-fu_files__default.txt”, and all the same content in the files”User File ordering selections : ”
ok thanks for the answers.
Have you tried 1.2.4 yet ?
does that help ?
Can you can provide a link so that I can investigate it some more ?
lynton
I tried 1.2.4
http://edu.freezhao.com/9374-2
and you need give me ur mail add, then I can give you test account.
its just
lynton at wtf-fu.com
I logged in and tried
http://edu.freezhao.com/9374-2
and it worked fine for me, I tried several times and could not reproduce any problems.
I even uploaded an extra file and changed the order.
the other upload link you sent just gave a 404 not found error.
perhaps when you tried your browser cache just needed refreshing ?
try http://edu.freezhao.com/9374-2 again. do you still see the error ?
Hi FREEZhao,
I still cannot see any errors or the xml page output you pasted in the first post.
But when using chrome I saw the vertical display you mentioned, (this does not happen in firefox by the way).
Probably something in your theme is causing some extra padding and in chrome the display wraps.
See the screen shot I uploaded to the page.
Look at the firebug display in the image where I have turned off
#files_list overflow: auto
You could override this in your theme if it is causing problems.
I’ll see if that can be removed from the css, I don’t actually think it is needed now anymore.
Hi Freezhao,
I have reworked the css and removed the overlow : auto
Also I have corrected an issue I found with internet explorer.
Were you using the internet explorer browser ?
please try 1.2.5 and let me know if you still have problems
Hi Freezhao,
I assume all is working for you now so I’m resolving this.
Please open a new ticket if you are still having issues.
lynton
too busy on my course in these days, one more day later I will try.