WordPress.org

Support

Support » Plugins and Hacks » Eazyest Gallery » Port other than standard is not used (50002 instead of 80)

Port other than standard is not used (50002 instead of 80)

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Port other than standard is not used (50002 instead of 80)’ is closed to new replies.
Skip to toolbar