"Most likely the ajax url is incorrec" after moving to HTTPS

Discuss MySQL Ajax Table Editor

"Most likely the ajax url is incorrec" after moving to HTTPS

Postby sslUser » Tue Jul 31, 2018 11:11 pm

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!
sslUser
 
Posts: 1
Joined: Tue Jul 31, 2018 10:56 pm

Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 6 guests

cron