Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter pennymachines

    (@pennymachines)

    Just to add (in case it’s relevant), I have Yoast SEO installed and active. In this I’ve set permalinks to Strip the category base (usually /category/) from the category URL.
    I also tried it without that setting. Either way, the same problem with upload occurred.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    First: you should set up your site entirely working as you want before you acivate any optimizing feature or plugin.

    Second: i need a live link to the page on the site that shows the problem.

    Recommendations:

    1. De-activate/disable all kind of optimisations
    2. Untick Table IV-A1.1

    and try again

    Thread Starter pennymachines

    (@pennymachines)

    Thank you Jacob.

    I deactivated all plugins and reverted to un-modded theme (Twenty Twelve) but the only thing which made frontend photo upload function was changing Table IV-A1.1 to Frontend ajax use no admin files.

    The images now upload fine. However, upon upload the user sees an alert box ‘x photos successfully uploaded’ (can this be disabled?) and a blank page is displayed.
    I tried After successfull front-end upload, go to the home page but that made no difference.

    There is a testing page here: http://pennymachines.co.uk/archive/gallery/

    login as:
    User: testman
    Password: testing123

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Currently the ajax from admin is actvated on the upload widget.
    You did not de-activate all other plugins, Yoast is still active.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Here you can see it working on 2012: http://beta.opajaap.nl/

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The blank page has the same cause as the fact that you do not see a green progression bar.
    This means that there is a conflict with jQuery libraries.

    First make your site really standard before adding any kind of optimizers

    Thread Starter pennymachines

    (@pennymachines)

    OK, thank you very much again for your help.

    I reactivated plugins when I found they weren’t affecting the issue. I have now deactivated my child theme via Network Admin which has resolved the problem.

    I’m guessing therefore, from your comments that the jQuery conflict is from header.php in my child theme.

    It contains a link to this library: http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js

    I’ll now try to resolve this.

    One other question – Is it possible to switch off the “file successfully uploaded” alert box?

    Thread Starter pennymachines

    (@pennymachines)

    Just to report, removing that library fixed the issue.

    I still have to deselect Frontend ajax use no admin files else the upload gets stuck on “processing” and shows page not found in the field below the album. Not an issue because it works fine with the table IV-A1.1 unticked – I’m just not sure what it means.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Never trust non-(wp)-standard jQuery libraries.

    There is no switch yet to suppress the message.

    IV-A1.1 is there for people that filesystem protect wp-admin/ from front-end usage.

    Thread Starter pennymachines

    (@pennymachines)

    > IV-A1.1 is there for people that filesystem protect wp-admin/ from front-end usage
    OK, that makes sense now. Thanks.

    >There is no switch yet to suppress the message.
    Can I suggest you add one? I find the alert box method ugly and intrusive. I would prefer to reserve such things for when something doesn’t work, rather than when it does. The best confirmation that the upload has worked is seeing the image in the album, so maybe there could be an option to reload or redirect to the album after file upload?

    Thanks for an amazing plugin, by the way.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I would prefer to reserve such things for when something doesn’t work, rather than when it does.

    Good point. In the next version there is a switch in Table VII-B12 to switch off alert boxes on successful create album/upload photo.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Photo upload fails from frontend’ is closed to new replies.