Windows Share access (AKA Network Drive Access, SMB Web Client)
Maintained by
Guy Thomas
Access windows shares via a Moodle web interface.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
But tx again for compliment...
It was related to changing the session name when it had been previously defined.
After a look around, the session name has already been defined in the include file... so this is redundant ?? Cannot see anywhere to change it on the config page..
So I just commented out this line of code in the routine and it seems to work fine..
Sorry to be a pain.. but I have just upgraded to Moodle version 3.7.1 on Ubuntu 18.04, and more importantly, PHP 7.2.
When I try to use the block I get this error .................
Warning: session_name(): Cannot change session name when session is active in /mnt/d2/moodle/blocks/smb_web_client/class_smbwebclient.php on line 267
This appears to be a known problem with PHP 7.2 as other people are complaining as well..
For instance https://bugs.php.net/bug.php?id=76358
Would you have a moment to have a look... ?
Yours in hope
Peter
All good here too... many thanks
Sadly, to make the plugin pass all Moodle's coding style checks I'd have to do some significant rewriting which is why you can only get it from github.
Have you had any opportunity to take a look at this issue. I know you are extremely busy and appreciate that this is not your full time. job.
I have staff and students really desperate to access their files from home.
Hope you are well.
Colin
Notice: Undefined index: homeDirectory in /var/www/html/blocks/smb_web_client/class_smbwebclient_moodle.php on line 164
Colin
When accessing the home directory this message appears.
Sorry, you cannot view your homedirectory online
Error Message: No home directory specified in ldap for this user
Any ideas?
Cheers
Colin
The fixed shares seem to come up fine... but when I try to access my Home directory (presumably dynamic) .. it comes up with this error
Coding error detected, it must be fixed by a programmer: print_header() can not be used any more. Please use $PAGE methods instead.
More information about this error