Hi,
I'm getting the "Something went wrong Most likely the ajax url is incorrect." error after moving my website (shared hosting, managed via cPanel) to HTTPS. Everything had been working fine for 2 years.
I have scoured through the .php and .js files but I cannot find any reference to the ajax url, other than:
<script type="text/javascript">
trackHistory = false;
var ajaxUrl = '<?php echo $_SERVER['PHP_SELF']; ?>';
toAjaxTableEditor('update_html','');
</script>
I've tried setting ajaxUrl to nameOfMyPage.php , https://domain.name/nameOfMyPage.php and str_replace("http","https",$_SERVER['PHP_SELF'] , with no results.
In any case, ajaxUrl is getting filled with the path to "self" from the root folder, without protocol and domain parts, e.g. /my/site/nameOfMyPage.php (full path is https://domain.name/my/site/nameOfMyPage.php)
Do I need any extra configuration after moving to HTTPS?
Thanks in advance!