Closed ArnaudSi closed 4 years ago
Hello, Did you have more informations ? The file and the line where this exception occurs ?
Hello,
I only have this error on my moodle:
Default exception handler: Exception\xc2\xa0: [] operator not supported for strings Debug: \nError code: generalexceptionmessage\n* line 101 of /mod/wims/view.php: Error thrown\n, referer: https://mymoodle/course/view.php?id=481
Nothing on wims server
Thanks
Thank's, It better with that. I look at it and come back soon ;)
Hello again, Can you replace the file wimsinterface.class.php by the one attached in this archive, and tell me if the missconfiguration is better reported ? wimsinterface.class.php.zip
Great ! I found the problem ! It was a bad ip parameter.
I used this notation : ident_site=192.168.2. Because for the test my moodle server are in other network zone, with a dynamique NAT, so, i don't know ip of my moodle server... yes, it not really pratical...
I saw it's possible to have multiple address like that : ident_site=192.168.2.xxx xxx.xx.xxx.xx yy.yy.yy.yy But is it possible to have a pool of ip address ? Thanks again !
Did you try the wimsinterface.class.php file to solve your problem ? yes you can put several IP in ident_site=192.168.2.xxx xxx.xx.xxx.xx yy.yy.yy.yy
yes I tried with your file, and that's why I saw the error.
Thank again...
Ok, thanks ! I've integrated these changes in a new release v0.3.3. Have a nice day !
Hello,
When i try to use wims mod for moodle i have this error message :
Exception : [] operator not supported for strings
I think the configuration of the module is good, i didn't have error message in apache (moodle and wims) or in wims logs.
Moodle version is Moodle 3.7.1+ (Build: 20190824) Wims server : WIMS-4.21a mod_wims : 0.3.2
misconfiguration ? but where ?
Thanks