Hello,
Opencart 2.1.0.1 - I moved entirely from HTTP to HTTPS and I have a problem because of this.
I cannot edit the status of orders which were made before I switched to HTTPS. When I open the order in the admin panel, I get an error Undefined. I can review the order, I can even edit any of its details but I cannot change the status to DELIVERED.
Can you please tell me a fix or a workaround until we edit all older orders?
EDIT: I found out that if I edit the order, then I can change its status. However, If I edit every order before changing the status, people will get pointless emails about it. Any ideas?
Opencart 2.1.0.1 - I moved entirely from HTTP to HTTPS and I have a problem because of this.
I cannot edit the status of orders which were made before I switched to HTTPS. When I open the order in the admin panel, I get an error Undefined. I can review the order, I can even edit any of its details but I cannot change the status to DELIVERED.
Can you please tell me a fix or a workaround until we edit all older orders?
EDIT: I found out that if I edit the order, then I can change its status. However, If I edit every order before changing the status, people will get pointless emails about it. Any ideas?
You have changed from http in https in admin/config.php ?
But in .httacces ?
But in .httacces ?
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
The admin's .htaccess has only this: ErrorDocument 403 / order deny,allow.
The .htaccess in the public_html was edited to redirect all pages to HTTPS.
The puzzling part is that after editing an order, it starts working perfectly fine with no errors. Also orders which were made after I had switched to HTTPS work perfectly fine.
The .htaccess in the public_html was edited to redirect all pages to HTTPS.
The puzzling part is that after editing an order, it starts working perfectly fine with no errors. Also orders which were made after I had switched to HTTPS work perfectly fine.
config.php from admin directory...not .httacces..
You have this?
Also clear ocmod cache and vqmod if you have.
You have this?
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'https://you_website/admin/');
define('HTTP_CATALOG', 'https://you_website/');
// HTTPS
define('HTTPS_SERVER', 'https://you_website/admin/');
define('HTTPS_CATALOG', 'https://you_website/');
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Change
admin/system/config/catalog.php
and
admin/system/config/admin.php
Set
Code: Select all
$_['site_ssl'] = false;
to
Code: Select all
$_['site_ssl'] = true;
admin/system/config/catalog.php
and
admin/system/config/admin.php
Set
Code: Select all
$_['site_ssl'] = false;
to
Code: Select all
$_['site_ssl'] = true;
Last edited by ioannisgr on Fri May 04, 2018 1:06 am, edited 1 time in total.
Thank you! There is the solution!Rob Assink wrote: ↑Tue May 01, 2018 1:32 amI think your answer is in this post,
viewtopic.php?t=153203
regards,
Who is online
Users browsing this forum: No registered users and 53 guests