Hi @onehundred
Please check if the self request are not blocked on your server ?
Also, check if the abc.com server is able to find out/locate the abc.com
It might happen that on the abc.com the requests are blocked to self-domain using htaccess file.
To Check this create a test.php file on abc.com server and send the curl request to that domain.
The code for the same is as follows:
$url = 'http://abc.com/';
$useragent = 'Opera/9.80 (J2ME/MIDP; Opera Mini/4.2.14912/870; U; id) Presto/2.4.15';
$ch = curl_init('');
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_USERAGENT, $useragent); // set user agent
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
echo $output = curl_exec($ch);
curl_close($ch);
echo $contents;
$url="http://abc.com/lms"
Add the above code in test.php and check it’s output. If it shows abc.com/lms Homepage then please contact us so that we can check the issue at your end.
Thank you. I’ve had a reply via email too, and you/they are going to look at my website.
Hello, I have the same problem.
Wordpress: http://vps536028.ovh.net/
Moodle: http://vps536028.ovh.net/acceso-examen/
I have tried your code: http://vps536028.ovh.net/test.php
But we have the website in maintenance mode.
We haven’t redirected the domain yet, can that be the problem?
Thank you very much.
Hi @binfor
I am having the same/similar problem on one of my site.
please let me know how did you solve it?
Thank you.
-
This reply was modified 3 years, 10 months ago by
vinay.
Hello,
We change the url to the main domain.
And we were using https, we had to indicate that in config.php:
$CFG->wwwwroot =’https://domain.com’;
I hope you can work it out.
Greetings
@binford . Could it possible to speak spanish with you about that problem ?
Thanks
Hi @binford
Thank you for the reply.
I have used the same configuration/setting as you have mentioned, but it still doesn’t work.
Thank you.
Buenos días,
Lo siento, no recuerdo exactamente cómo resolvimos el problema porque dimos muchas vueltas y tocamos muchas cosas.
Cambiamos la url al dominio principal con https y seguimos todas las instrucciones de instalación del módulo tanto en WordPress como en Moodle: https://edwiser.org/bridge/documentation/
Espero que lo podáis solucionar.
Un saludo.