WordPress.org

Ready to get started?Download WordPress

Forums

EG-Attachments
[resolved] Missing/wrong attachments listed, wrong links (15 posts)

  1. paulblac
    Member
    Posted 2 years ago #

    I just upgraded to WordPress 3.3.1. EG attachments was working fine with my previous version 3.1.4.

    Now when I go to a page with attachments listed, it lists the correct number of attachments. However, it mixes up and duplicates some of them, so there is always something missing. This happens whether I specify certain IDs to show or not, sorting in various ways, etc.

    For example, on my free report download page, it previously (correctly) showed a colour version and a black&white version of the report to download. Now it shows 2 copies of the black&white version.

    I also noticed (not sure if this is a problem) that the links includes multiple IDs. For example, instead of

    http://www.someplace.com/report/?aid=917&sa=1

    It's showing...

    http://www.someplace.com/report/?aid=917&sa=1&aid=917&sa=1

    The more downloads on the page, the more show up. Here's another sample from my site:

    http://www.someplace.com/downloads/?aid=2433&sa=1&aid=2435&sa=1&aid=2436&sa=1&aid=2428&sa=1&aid=2429&sa=1&aid=2430&sa=1&aid=2431&sa=1&aid=2432&sa=1&aid=2433&sa=1

    Any help would be appreciated.

    Thanks,
    Paul

    http://wordpress.org/extend/plugins/eg-attachments/

  2. EmmanuelG
    Member
    Plugin Author

    Posted 2 years ago #

    Hi

    I made some tests with the version 1.9.2 of the plugin, and cannot get your results...

    Multiple display can occur when auto-shortcode is activated, while you have a manual shortcode at the same time.
    In this case, you can disable the auto-shortcode, or check the option "Disable auto-shortcode when a manual shortcode is detected".

    Emmanuel.

  3. paulblac
    Member
    Posted 2 years ago #

    Thanks for the quick reply Emmanuel.

    I checked the 'Disable' setting, and although auto-shortcodes were turned off, that setting was not. So I checked it and clicked Save.

    However, I noticed that none of my changes seemed to be saved in the Settings screen (if I left the page and came back, the options were not correct). So I deactivated and reactivated the plugin.

    Now the settings seem to save ok, and when I ran tests again, the problem with multiple 'aid' and 'sa' extensions is gone. Maybe something didn't save properly when I upgraded to WP 3.3.1?

    Anyways, there's still a problem with it mixing up the first attachment in the list. It always appears to be the same as the last attachment.

    For example:

    Correct
    File A
    File B
    File C
    File D

    Incorrect (this is what's happening)
    File D
    File B
    File C
    File D

    If I have only 2 files listed, it shows the last one twice. For example:

    Correct
    File A
    File B

    Incorrect (this is what's happening)
    File B
    File B

    Here is the shortcode I'm using:

    [attachments orderby="id ASC" label=doctitle fields="title,caption,size" force_saveas=1]

    I also use it on another page by listing specific IDs to display, and I get the same results. I also tried ordering by filename with the same results.

    Any ideas?

    Thanks,
    Paul

  4. EmmanuelG
    Member
    Plugin Author

    Posted 2 years ago #

    Questions:
    - Which version do you use?
    - When you upgraded the plugin, did you desactivate, and re-activate the plugin?

    "I noticed that none of my changes seemed to be saved in the Settings screen"
    This kind of error occurs when the field is not recorded in the plugin option entry (entry: eg-attachments-option, field: shortcode_auto_exclusive)

    Options are updated during plugin activation.

    If you can, desactivate the plugin, delete the option entry, and then reactivate the plugin.

  5. paulblac
    Member
    Posted 2 years ago #

    I'm using version 1.9.2. When I upgraded, I meant I upgraded WordPress to v 3.3.1. At first, I did not deactivate and reactivate EG-Attachments separately, but I did so yesterday and it solved the multiple 'aid' and 'sa' extensions showing up.

    I'm not sure what you mean by the deleting the option entry. Do you mean in the WP database?

    Paul

  6. paulblac
    Member
    Posted 2 years ago #

    I figured out how to delete the EGattachment options, so I completely uninstalled the plugin and re-installed it.

    Unfortunately, I still have the same problem -- the first file is always the same as the last file.

    In other words...

    Correct
    File A
    File B

    Incorrect (this is what's happening)
    File B
    File B

    Also, I noticed on a different page that the first attachment is missing completely, even though it's specified in the list as follows:

    [attachments orderby="id ASC" fields="title,filename,size" label=doctitle force_saveas=1 logged_users=1 nofollow=0 docid="2342,2341,2340,2337,2336,2335,2334,2333,2332,2331"]

    ID # 2331 is missing from the list. All the rest show up

    Any ideas?

    Thanks,
    Paul

  7. paulblac
    Member
    Posted 2 years ago #

    Hi Emmanuel,

    I'm not sure if you saw my message above, but it's still not working correctly. Does the plugin have a debug mode that could offer some insight?

    Any help you can offer would be appreciated.

    Thanks,
    Paul

  8. paulblac
    Member
    Posted 2 years ago #

    Hi Emmanuel,

    After further testing, I discovered that one of my plugins, Wishlist Member, was causing the problem. When I turned it off, EG-Attachments started working. When I turned it on, EGA stopped working.

    I've got Wishlist support looking into the problem, but they say they can't support third-party plugins. And my entire site is built around Wishlist Member, so I can't just get rid of the plugin.

    Have you ever seen this problem before? Any ideas on a solution? I have a test site I can let you see if you're interested.

    I will let you know what I hear from Wishlist tech support.

    Thank you,

    Paul

  9. EmmanuelG
    Member
    Plugin Author

    Posted 2 years ago #

    If I well understand, you pay for a plugin (Whishlist member), and the developper team doesn't give you any support ...

    Nevertheless, could you contact me by mail, we will discuss about how to manage the issue.

    Emmanuel.

  10. paulblac
    Member
    Posted 2 years ago #

    Yes, you understand correctly. I am pushing for their development team to look into it, as it's obviously their bug, but in the mean time, any help you can offer would be appreciated.

    I couldn't find a contact form on your website and I don't want to post my email on this forum. Could you send me a message using my website contact form? Then we can communicate by email.

    http://www.spirepoint.ca/contact

    Thank you for your help

    Paul

  11. EmmanuelG
    Member
    Plugin Author

    Posted 2 years ago #

    I sent you a mail.

    My contact page is: http://www.emmanuelgeorjon.com/contact/

    Emmanuel.

  12. EmmanuelG
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Paul,

    As discussed by mail, the bug is identified. As I will publish version 1.9.3 today, the fix will be published later, with the version 1.9.4.

    Emmanuel.

  13. paulblac
    Member
    Posted 2 years ago #

    Excellent, thank you! I just tested the change you sent by email (after upgrading to 1.9.3 and it works fine now). I'm looking forward to your final update.

    Thank you again! :)

    Paul

  14. EmmanuelG
    Member
    Plugin Author

    Posted 2 years ago #

    The version 1.9.4 is published and should solve your issue.

    Emmanuel.

  15. paulblac
    Member
    Posted 2 years ago #

    Thank you Emmanuel for all your hard work. I ran a quick test on my test site and it seems to be working. I'll update my main site and if I see any issues, I'll let you know.

    Thanks again!

    Paul

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic