Page 2 of 2
Re: admin error in http://
Posted: Wed Dec 31, 2008 3:38 am
by yl
Re: admin error in http://
Posted: Wed Dec 31, 2008 4:11 am
by JNeuhoff
That beats me. Can you PM me your OpenCart admin login details so I can see what is going wrong there? You can always change your OpenCart login password later on.
Re: admin error in http://
Posted: Wed Dec 31, 2008 6:35 am
by JNeuhoff
OK, I logged into your OpenCart admin and I can see this error. I then did a backup of your database and loaded it to my OpenCart 0.7.9RC5 test server, and I managed to reproduce your error. The only way to get rid of this error is by changing the database with the following SQL command:
Code: Select all
UPDATE `setting` SET `value` = '0' WHERE `setting`.`setting_id` =483 LIMIT 1 ;
That corresponds to OpenCart's admin panel
Admin > Configuration > Settings > Admin > Use SSL:No
If you use SSL for the admin portion, then it comes up with this error. I think the reason for this error is in your
config.php. The following line in your config.php needs a value:
Code: Select all
define('HTTPS_BASE', '[color=red]https://www.swingnq.com/cart95/[/color]');
Re: admin error in http://
Posted: Wed Dec 31, 2008 7:01 am
by yl
Eventually, nail it out!!

Thank you!

Problem is my site does not allow me to save the change.
Re: admin error in http://
Posted: Mon Jan 05, 2009 6:04 am
by yl
I put the admin SSL off. Does it mean my admin session is unsecured?
Re: admin error in http://
Posted: Mon Jan 05, 2009 7:17 am
by Qphoria
yes. But you can't set it to yes unless you actually have a working SSL certificate
Re: admin error in http://
Posted: Mon Jan 05, 2009 7:24 am
by yl
Thank you Q!

Re: admin error in http://
Posted: Fri Jan 09, 2009 8:09 pm
by Qphoria
JNeuhoff wrote:
The only way to get rid of this error is by changing the database with the following SQL command:
Code: Select all
UPDATE `setting` SET `value` = '0' WHERE `setting`.`setting_id` =483 LIMIT 1 ;
That corresponds to OpenCart's admin panel
Admin > Configuration > Settings > Admin > Use SSL:No
Technically that is a relative sql statement. Setting id is auto-inc'd and likely wont be id 483 ever again.
You'd want to use:
Code: Select all
UPDATE `setting` SET `value` = '0' WHERE `type` = 'admin' and `key`= 'config_ssl' ;
But no matter, we are fixing the bug in the code to prevent this problem.
Re: admin error in http://
Posted: Fri Jan 09, 2009 9:10 pm
by hm2k
I'm gonna lock this thread as I am assuming it's fixed here:
http://forum.opencart.com/index.php/top ... l#msg13690