Fatal error: Can't use function return value in write context in /home/redempt2/public_html/d6/modules/filebrowser/filebrowser.install on line 49
Fatal error: Can't use function return value in write context in /home/redempt2/public_html/d6/modules/filebrowser/filebrowser.install on line 49
Comments
Comment #1
Susurrus commentedInstead of this on line 49:
if (!empty(variable_get('filebrowser_root', ''))) {try
Also, does this error occur when you're trying to update or right after you visit a page after installing this module?
Comment #2
Susurrus commentedComment #3
aMakUzr commentedRe:
For me, the answers was "yes" 'n "had to remove the module then run update.php to get Drupal to run, at all"
After that I reinstalled the previous verison (6.x-2.x-dev datestamp = "1212365042") and made the suggested change to 6.x-2.0-beta.
Copying the 6.x-2.0-beta over the 6.x-2.x-dev (datestamp = "1212365042") version then running update.php yielded:
followed by
At that point I uninstalled 6.x-2.0-beta and then reinstalled it and that seems to have worked ('though an empty directory is not shown when subdirectories are requested).
BTW, I suggest the label for the "subdirectories" checkbox be changed to:
Allow subdirectory listings
Comment #4
Susurrus commentedOkay, I've committed that change I suggested you make. Needing to reinstall the module makes sense.
I've also committed the new suggested subdirectories label because it's more clear.
I'm curious now about the bug you found. Can you give me more detail as I'm not sure what "empty folder" means in this case.
Comment #5
Susurrus commentedI'm going to mark this fixed. If there is a bug, please file a separate issue for it.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.