After enabling a module in "Index Module Assets", I receive the following error on context edit pages: Warning: preg_match() [function.preg-match]: No ending delimiter '.' found in file_scan_directory() (line 2035 of /www/content/htdocs/ [...] /includes/file.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | index_module_files-1335430-2.patch | 501 bytes | doublejosh |
Comments
Comment #1
progzy commentedI had the same problem.
Warning: preg_match(): No ending delimiter '.' found in file_scan_directory() (line 2035 ... includes/file.inc).It is a delimiter problem in a regex as reported and fixed here: http://drupal.org/node/1393184
Comment #2
doublejosh commentedHere is the patch to fix this problem.
The
_context_addassets_scandirfunction creates it's preg_match mask incorrectly. Just need backslashing.Marking this later issue as a dupe: #1396246: Regex pattern warning + bad src path for module search
Comment #3
doublejosh commentedMarking major since this is a key element of the module.
Comment #4
doublejosh commentedPing. - This really needs to get patched.
Comment #5
BrockBoland commentedI'm not sure what happened here: I downloaded beta1 and it looks like this patch has already been applied.
Comment #6
jtwalters commentedPretty sure this is fixed in 7.x-1.x-dev.
Comment #7
jtwalters commented