【发布时间】:2021-10-19 13:26:51
【问题描述】:
在前台商店完全运行后,我已将 OSCommerce v2.2 升级到 v2.3.4.1。但管理员收到如下错误:
警告:使用未定义的常量 ENABLE_SSL - 假定为“ENABLE_SSL” (这将在 PHP 的未来版本中引发错误) /home/inceptio/public_html/curtispayments/test-os/admin/includes/functions/html_output.php 第 14 行
警告:无法修改标头信息 - 标头已由 (输出开始于 /home/inceptio/public_html/curtispayments/test-os/admin/includes/functions/html_output.php:14) 在 /home/inceptio/public_html/curtispayments/test-os/admin/includes/functions/general.php 第 25 行
我已经在我的网站上启用了 SSL。另外,在两个 configure.php 文件中添加以下代码
define('ENABLE_SSL', true);
当我在管理员 configure.php 中插入上述代码时:
此页面无法正常工作
管理员:https://inceptionsystem.com/curtispayments/test-os/admin/
正面:https://inceptionsystem.com/curtispayments/test-os/
我该如何解决这个问题?有没有人建议非常感谢?
谢谢
【问题讨论】:
标签: php ssl oscommerce