Skip to content
This repository has been archived by the owner on Jan 14, 2019. It is now read-only.

Auto complete error #2

Open
curtisdelicata opened this issue Dec 25, 2017 · 4 comments
Open

Auto complete error #2

curtisdelicata opened this issue Dec 25, 2017 · 4 comments

Comments

@curtisdelicata
Copy link

curtisdelicata commented Dec 25, 2017

includes/session.php:151 /modules_v3/branch_export/module.php:1491 Use of undefined constant WT_AUTOCOMPLETE_JS_URL - assumed 'WT_AUTOCOMPLETE_JS_URL' #0 /modules_v3/branch_export/module.php:1491 ErrorException("/modules_v3/branch_export/module.php:1491 Use of undefined constant WT_AUTOCOMPLETE_JS_URL - assumed 'WT_AUTOCOMPLETE_JS_URL'") #1 /module.php:25 modAction('')

@hollisterca
Copy link
Contributor

WT Version? php Version? Branch export module Version?

@curtisdelicata
Copy link
Author

2.0.0-dev - latest git
7.1
latest git

@curtisdelicata
Copy link
Author

curtisdelicata commented Dec 25, 2017

Oh, didn't spot the development branch on here had been updated. Let me test it.

Edit; Same error. It never asked for initializing.

@BlasiusSecundus
Copy link
Owner

I never tested it with 2.0-dev, only with 1.7.9.

Probably there are compatibility-breaking changes in 2.0, and we'll need different branches for 1.7.9/2.0 support. Apparently, the WT_AUTOCOMPLETE_JS_URL constant seems to be missing. Also, the file referenced by the constant in 1.7.9 (assets/js-1.7.9/autocomplete.js) seems to be missing from 2.0. As far as I can tell from taking a quick look at the 2.0 dev branch js files, its functionality has been incorporated into webtrees.js, and autocomplete.js is no longer required.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants