I upgrade my store to last Magento version 1.9.2.4 and I add ssl, When I try save a new product or edit an existing product in Magento everything is saved correctly except upsell/related/cross sell products. Product is being saved with no errors. In var/log/ I don't have any errors. If I hit edit again the upsell product I selected before wasn't saved.
Update:
I try to turn off the https and now upsell/related/cross sell products can be selected from admin product page, what I can do to solve this, to work with https?
My server is on nginx and to work my store with https I add this in index.php
foreach (array(
'SERVER_PORT' => 443,
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_VISITOR' => '{"scheme":"https"}'
) as $key => $values) {
if (isset($_SERVER[$key]) && $_SERVER[$key] == $values) {
$_SERVER['HTTPS'] = 'on';
break;
}
}