MySQLi Login has broken since updating site with a SSL certificate and static IP
Hello,
I've been running this site and cms (in a subdomain) for a couple of years. Yesterday the client wanted to update to a https address. I purchased a PositiveSSL Wildcard and Static IP from JustHost and after a couple of hours the front end was working; the cms subdomain was not.as it was were the site images were stored. Reading further I updated the .htaccess file with the following code:
# Justhost.com
#.htaccess WildCard SSL
RewriteEngine On
RewriteCond %{HTTP_HOST} ^subdomain.example.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /subfolder/$1
RewriteCond %{HTTP_HOST} ^subdomain.example.com$
RewriteRule ^(/)?$ subfolder/index.php [L]
Substituting my subdomain and domain. Hooray. Everything worked.
.
I tried to login to the CMS only to discover that the page would refresh with the subdomain/index.php url and an error Error in SQL syntax.
I have done everything I can think of to fix this problem. Any help would be greatly appreciated