WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
[resolved] Undefined variable (2 posts)

  1. KarlEngstrom
    Member
    Posted 1 year ago #

    I'm watching the debug.log load up with the following error:
    Undefined variable: upload_path in /home/user/public_html/wp-content/plugins/wordpress-https/lib/WordPressHTTPS/Module/Parser.php on line 116

    I'm also seeing mega lines of trash at the bottom of secured pages in Chrome if the user is logged in.

    Anyone else?

    http://wordpress.org/extend/plugins/wordpress-https/

  2. KarlEngstrom
    Member
    Posted 1 year ago #

    I found what was apprently the issue, and not with WPHTTPS at all.
    Jigoshop had writen to my .htaccess file and somewhere along the lines I developed DOS CRLF characters in it, like so:

    ^M
    #Rewrite jigoshop Checkout to https^M
    RewriteCond %{HTTPS} off^M
    RewriteCond %{REQUEST_URI} /checkout/^M
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]^M
    ^M
    #traffic to http://, except /checkout^M
    RewriteCond %{HTTPS} on^M
    RewriteCond %{REQUEST_URI} !(/checkout/)^M
    RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [L]^M

    It was screwing up a myriad of things :-P
    I removed all that junk from the htaccess file & all is good.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.