WordPress.org

Ready to get started?Download WordPress

Forums

Eazyest Gallery
Port other than standard is not used (50002 instead of 80) (3 posts)

  1. Martin Ament
    Member
    Posted 1 year ago #

    I use version 0.1.2 of your plugin.

    I have a Installation on a non standard Port. I use 50002 instead of Port 80.

    Your Plugin was working fine, but the Port was not recognized and all the thumbnails and pictures used the URL without the spezial Port.

    I fixed this for me. Perheaps the Patch is useful for outhers too:

    -
    martin@suse-nas:~/public_html/wordpress/wp-content/plugins/eazyest-gallery> diff eazyest-gallery.php eazyest-gallery.php.orig
    396,397c396
    < //Portfix by Martin Ament
    < $this->address = trailingslashit( $this->_resolve_href( trailingslashit( $http . $_SERVER['HTTP_HOST'] . ':' . $_SERVER['SERVER_PORT'] ), substr( $this->root, strlen( $this->home_dir() ) ) ) );
    ---
    > $this->address = trailingslashit( $this->_resolve_href( trailingslashit( $http . $_SERVER['HTTP_HOST'] ), substr( $this->root, strlen( $this->home_dir() ) ) ) );

    http://wordpress.org/extend/plugins/eazyest-gallery/

  2. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks,
    I'll add this path to the coming release

  3. klihelp
    Member
    Plugin Author

    Posted 6 months ago #

    Is this fixed?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.