• Resolved neil40

    (@neil40)


    Not sure where to debug this, perhaps you may have a suggestion.
    When members of the website want to upload a picture to their gallery – this might be on the List of Galleries – click the ‘Upload Photo’ Link, or in their Gallery, click the Link.
    Click Browse to find the picture, then click the ‘Upload Photo’ button that appears.
    The progress bar reaches 100%, then a pop out says ‘Upload Successful’
    When you dismiss this pop out, immediately under the Comments box a pink banner appears that says ‘Upload Failed’ and under this, an image of a page that says !Error 404. Page Not Found.
    However, if you then go back to the Gallery you were loading to, the image IS uploaded.

    Not sure if this is related at all, or a separate issue.
    Under each image is a ‘MyChoice / Delete / Edit’ selection
    If I click MyChoice I get an ‘Are you sure’ pop out, if I click OK that dismisses, but I what has that done? Nothing seems obvious (I can’t find any documentation on what this is for or how to use it)
    If I click Delete, a pop out asks me to confirm. Clicking OK to confirm doesn’t seem to do anything obvious, and refreshing the page shows the image is still in the Gallery
    If I click Edit, nothing at all happens
    All using MS Edge browser.

    • This topic was modified 2 years, 8 months ago by neil40.
    • This topic was modified 2 years, 8 months ago by neil40.
    • This topic was modified 2 years, 8 months ago by neil40. Reason: added comment on Mychoice

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Documentation on the ‘My Choice’ feature is here:
    https://wppa.nl/nl/docs-by-subject/download/ tab: Multiple items

    The problems you describe have their cause in a misconfiguration of the ajax url.
    It should be
    https://www.addphoto.co.uk/wppaajax/
    but it is
    https://www.addphoto.co.uk/test/wppaajax/

    You can try this (but i am not sure it works):
    On the wp settings menu -> Permalinks simply press the Save changes button.

    If this does not help, go to the Photo albums -> Settings page,
    Advanced settings -> System -> I -> Item 5: Ajax method, and select:
    Frontend and Backend: Backend method

    BTW: Do you have any idea where the /test may came from?

    Thread Starter neil40

    (@neil40)

    Jacob,
    Thanks for your reply.
    The Permalinks didn’t fix it, but the Advanced settings did.
    /Test comes from the previous website manager who set it up this way. I believe he was trying a couple of setups and went with this one!
    If I look at WPS Settings Menu I see this:
    Wordpress Address (URL): https://www.addphoto.co.uk/test
    Site Address ((URL): https://www.addphoto.co.uk

    The 3 links on pictures now work as expected too. I can’t figure out where the Zip file is to download if you use MyChoice though

    • This reply was modified 2 years, 8 months ago by neil40.
    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Ok, fine to hear that it works now.

    There is always a confusion between the two addresses: wp and site.
    Even the doc on this is not clear to me.

    I use site_url() to set up the ajax links, but in the next version there will be an extra checkbox that uses (when checked) home_url() instead.

    So, if you want to, try ajax method Normal with the checkbox checked, as soon as it is released (in a few days). Would be nice to know if that solves the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upload picture error’ is closed to new replies.