• Resolved russ668

    (@russ668)


    Our current issue is that we have one user that is getting the “You are not authorized to upload files” error when trying to add pictures to the ad. Others are ending up in the Incomplete category. Most are working though, so not sure how to track this down. We compared permissions, roles and attributes of the user accounts and they are setup similar.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @russ668,

    Sorry that you ran into issues here!

    Can you tell me a bit more?
    – What version of WP are you running here?
    – What exact version of AWPCP? (number, please)
    – What version of PHP?
    – Have you tried a conflict test yet? Here is an article about how to test for theme and plugin conflicts with AWPCP, which may help pinpoint the issue: https://awpcp.com/forum/faq/how-to-test-for-plugintheme-conflicts/

    Please let me know.

    Thread Starter russ668

    (@russ668)

    – What version of WP are you running here? v5.01
    – What exact version of AWPCP? 3.9.3
    – What version of PHP? 7.2.10

    I have not tried the conflict test as it breaks a lot of things on our intranet.

    Hi @russ668,

    That conflict test will be important then. It’s quite likely that something else is throwing a JavaScript error during the image upload (which relies heavily on JavaScript to run), so one error on the page can break everything.

    It’s important to test AWPCP by itself on a default theme, as this allows you to rule out what is the cause and what is not.

    If you have a staging site, you can do this without breaking your production site. But that conflict test is really the best next step to figuring this out.

    Please let me know.

    Thread Starter russ668

    (@russ668)

    But why would it only happen for less than 10 percent of our staff? It’s only happening for like 5 out of 200 employees.

    Hi @russ668,

    Conflicts are tricky. One particularly nasty conflict is where JavaScript loads and successfully works on some users, but due to a randomized load order, which can happen depending on what is installed, fails for some subset of users. Those are some of the worst kind of conflicts, but other possibilities exist.

    The fact that it’s happening for some but not all users could be an environmental issue as well–for example, if you’re on shared hosting, and the unlucky users happen to access when the server load peaks, the shared hosting co will randomly kill your background process and the user is left with an error that is neither consistent nor explainable from their behavior.

    Both are super frustrating, but a conflict test still helps to narrow down the cause.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Random users not able to post classified’ is closed to new replies.