Support » Plugin: WordPress HTTPS (SSL) » Undefined variable

  • Resolved KarlEngstrom


    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?

Viewing 1 replies (of 1 total)
  • KarlEngstrom


    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:

    #Rewrite jigoshop Checkout to https^M
    RewriteCond %{HTTPS} off^M
    RewriteCond %{REQUEST_URI} /checkout/^M
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]^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 😛
    I removed all that junk from the htaccess file & all is good.

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined variable’ is closed to new replies.