Undefined index:
Posted: Tue Jul 05, 2016 4:05 pm
Hello,
Re website: http://www.regentroyalty.com
I am experiencing the following error when I attempt to access the Orders page in the Admin area:
2016-07-05 7:22:49 - PHP Notice: Undefined index: key in /home/rri/public_html/catalog/controller/api/login.php on line 11
I have the following code in the .htaccess file to redirect everything from http to https except for admin:
# For redirecting HTTP to HTTPS, comments are line by line
# below line checks for https flag
RewriteCond %{HTTPS} off
# below line excludes the mentioned URIs from redirection
RewriteCond %{REQUEST_URI} !^/(admin/)
# below line redirects all other URIs except the ones that are mentioned above
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
I have attached an image of the error I am receiving as well. If I remove the code from the .htaccess file there are no errors, however, I do wish to have the store redirect customers to the secure https version of the site by default.
Any advice or help would be greatly appreciated!
~rri
Re website: http://www.regentroyalty.com
I am experiencing the following error when I attempt to access the Orders page in the Admin area:
2016-07-05 7:22:49 - PHP Notice: Undefined index: key in /home/rri/public_html/catalog/controller/api/login.php on line 11
I have the following code in the .htaccess file to redirect everything from http to https except for admin:
# For redirecting HTTP to HTTPS, comments are line by line
# below line checks for https flag
RewriteCond %{HTTPS} off
# below line excludes the mentioned URIs from redirection
RewriteCond %{REQUEST_URI} !^/(admin/)
# below line redirects all other URIs except the ones that are mentioned above
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
I have attached an image of the error I am receiving as well. If I remove the code from the .htaccess file there are no errors, however, I do wish to have the store redirect customers to the secure https version of the site by default.
Any advice or help would be greatly appreciated!
~rri