WordPress.org

Support

Support » Plugins and Hacks » WP Photo Album Plus » [Resolved] [Plugin: WP Photo Album Plus] Upload not working with SSL

[Resolved] [Plugin: WP Photo Album Plus] Upload not working with SSL

  • Thanks so much for this plugin, I love it!

    I recently updated my site to require SSL admin, and I could no longer upload files using WPPA.

    I was able to fix it by replacing get_option(‘siteurl’) with get_admin_url() (and fixing up the relative path) in wppa_upload.php. It’s now working for me.

    For example, line 68 (in v3.0.2) went from:
    <form enctype="multipart/form-data" action="<?php echo(get_option('siteurl')) ?>/wp-admin/admin.php?page=upload_photos" method="post">
    to
    <form enctype="multipart/form-data" action="<?php echo(get_admin_url()) ?>admin.php?page=upload_photos" method="post">

    I think I found 5 places where this code was. Not sure if there’s a better way to fix it, but that at least worked for me.

    Thanks again for the plugin, I really appreciate all your work!

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WP Photo Album Plus] Upload not working with SSL’ is closed to new replies.
Skip to toolbar