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

  • Resolved KarlEngstrom

    (@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?

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

Viewing 1 replies (of 1 total)
  • 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 😛
    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.