Moodle plugins directory: Windows Share access (AKA Network Drive Access, SMB Web Client) | Moodle.org
Windows Share access (AKA Network Drive Access, SMB Web Client)
Blocks ::: block_smb_web_client
Maintained by Guy Thomas
Access windows shares via a Moodle web interface.
Latest release:
32 sites
16 downloads
4 fans
Current versions available: 1
Access windows shares via a Moodle web interface.
Configuring shares is done by adding them to a text area field (easier to edit, etc). This text area field is progressively enhanced in to a YUI3 table as per the following screen shot.
Useful links
Contributors
Guy Thomas (Lead maintainer): Main Developer
Marc Coyles
Please login to view contributors details and/or to contact them
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
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
Notice: Undefined index: homeDirectory in /var/www/html/blocks/smb_web_client/class_smbwebclient_moodle.php on line 164
Colin
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
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.
All good here too... many thanks
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
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..
But tx again for compliment...