• Resolved mila6452

    (@mila6452)


    We have moved our website from one provider to another. The photo upload worked well on the old site. On the new site we have moved the photos using the “Photo Albums/Upload Photos” menu on the wp-admin page. It worked. But no one of our users – neither administrator nor any user role – is able to upload photos from the website (frontend). The upload photos link appear in the album, user can select the photo to upload, the slider goes to 100% and suddenly got a 403 error flashing for a millisec, than nothing happens. We have tried with very small and large photos, using only one photo. Neither admin nor other user type was success.
    Why we can upload from the wp-admin and cannot upload from the frontend?Our internal ticket.

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

    (@opajaap)

    This is most likely caused by your .htaccess file. pls compare them from the two sites to find the difference.

    Thread Starter mila6452

    (@mila6452)

    Thanks for your replay!

    1. we havent modified the .htaccess file
    1.1 the .htaccess on the new provider:
    BEGIN WordPress
    # A BEGIN WordPress és az END WordPress sorok k?z?tti tartalom dinamikusan lett létrehozva, és csak WordPress sz?r?k módosíthatják. E kett? sor k?z?tti bármilyen kézi módosítás el fog veszni.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    1.2 The .htaccess on the old provider:
    # BEGIN WordPress
    # A BEGIN WordPress és az END WordPress sorok k?z?tti tartalom dinamikusan lett létrehozva, és csak WordPress sz?r?k módosíthatják. E kett? sor k?z?tti bármilyen kézi módosítás el fog veszni.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /ujhonlap/wordpress/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /ujhonlap/wordpress/index.php [L]
    </IfModule>

    # END WordPress

    There are no differences that could modify the access permissions.

    2. I still don’t understand why it works on the admin page and why it doesn’t work on the frontend. (The .htaccess is the same on the server)
    Why the admin can upload photos from the wp-admin site but the same admin cannot upload from the frontend?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    On the settings page, in the selectionbox labeled:Show settings related to:
    select Uploads.

    Do this on both sites and compare the settings; correct the differences.

    Thread Starter mila6452

    (@mila6452)

    Thank you Jacob for your reply!

    There are no differences in the two settings!

    BUT

    Could you answer of my question, please: (Thinking that you have one server)
    Why I (admin) can upload photos from the wp-admin/admin.php?page=wppa_upload_photos and the same admin user (and no one else) can NOT upload photos from the frontend (into the album) ? ????
    see our screenshot: https://share.clickup.com/t/h/8yrbfd/EA7E34CNPTBATBR

    I guess that answering that question would solve the problem.
    Thx!

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Your link https://share.clickup.com/t/h/8yrbfd/EA7E34CNPTBATBR automatically changes into
    https://share.clickup.com/ showing an empty screen with a single logo.

    If the wp and wppa versions are equal, the only ideas i have left are:
    – are the same other plugins installed on both sites?
    – Try changing Table II-H3: User upload Ajax

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I have seen the screenshots now.

    Try changing the setting of Table IV-A1.1 Ajax NON Admin

    Thread Starter mila6452

    (@mila6452)

    “1.1 Ajax NON Admin Frontend ajax use no admin files.” checkbox was checked.

    I removed this check, and finally anybody could upload photos.

    Thanks for your patient support!

    With love:
    -mila-

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cannot upload photos from the frontend’ is closed to new replies.