Hoje foi instalado o meu Certificado SSL pela minha hospedagem, porém está acontecendo alguns problemas!!!
E fiz conforme ensinado no tutorial "Habilitar a conexão https no OpenCart": (obrigado Manoel mais uma vez pela ajuda)
https://www.opencartbrasil.com.br/tutori ... -opencart/
- Fiz a seguinte alteração no arquivo ...\public_html\config.php:
// HTTPS
define('HTTPS_SERVER', '
https://www.metaospano.com/');
define('HTTPS_IMAGE', '
https://www.metaospano.com/image/');
- Essa outra alteração no arquivo ...\public_html\admin\config.php:
// HTTPS
define('HTTPS_SERVER', '
https://www.metaospano.com/admin/');
define('HTTPS_CATALOG', '
https://www.metaospano.com/');
define('HTTPS_IMAGE', '
https://www.metaospano.com/image/');
- O meu arquivo .htacess está configurado conforme segue abaixo:
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^metaospano\.com\.br$ [OR]
RewriteCond %{HTTP_HOST} ^www\.metaospano\.com\.br$
RewriteRule ^/?$ "http\:\/\/www\.metaospano\.com\/\." [R=301,L]
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^metaospano\.com$
RewriteRule ^(.*)$
http://www.metaospano.com/$1 [r=301,L]
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} ^metaospano\.com$
RewriteRule ^(.*)$
https://www.metaospano.com/$1 [r=301,L]
- No Google Chrome está aparecendo o seguinte erro no topo da minha loja:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mopweb/public_html/config.php:2) in /home/mopweb/public_html/system/library/session.php on line 11
- No Mozila Firefox está aparecendo o seguinte erro no topo da minha loja:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/mopweb/public_html/config.php:2) in /home/mopweb/public_html/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mopweb/public_html/config.php:2) in /home/mopweb/public_html/system/library/session.php on line 11
- No Internet Explorer está aparecendo o seguinte erro no topo da minha loja:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/mopweb/public_html/config.php:2) in /home/mopweb/public_html/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mopweb/public_html/config.php:2) in /home/mopweb/public_html/system/library/session.php on line 11Warning: Cannot modify header information - headers already sent by (output started at /home/mopweb/public_html/config.php:2) in /home/mopweb/public_html/index.php on line 177Warning: Cannot modify header information - headers already sent by (output started at /home/mopweb/public_html/config.php:2) in /home/mopweb/public_html/system/library/currency.php on line 45
Grato desde já, para aqueles que puderem me ajudar!!!