Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to make module work #16

Closed
sbgraphicdesign opened this issue May 25, 2024 · 3 comments
Closed

Unable to make module work #16

sbgraphicdesign opened this issue May 25, 2024 · 3 comments

Comments

@sbgraphicdesign
Copy link

sbgraphicdesign commented May 25, 2024

I'm getting several errors when trying to get this module running. I installed the latest released version, which was giving an error message:

Warning: Undefined array key "module" in feeds_system_info_alter() (line 899 of /home/sitename/public_html/modules/feeds/feeds.module).

I was able to set up an importer though and ran the import, only to get this error;

Error: Class "Flow\JSONPath\JSONPath" not found in FeedsJSONPathParser->jsonPath() (line 116 of /home/sitename/public_html/modules/feeds_jsonpath_parser/FeedsJSONPathParser.inc).

I then installed the 'dev' version which appears to have been updated a couple of years ago, but never released. This install required XAutoload module, which was fine but once installed I am presented with this message in the Status report:

The [JSONPath](https://github.com/SoftCreatR/JSONPath) library is missing. Download https://github.com/SoftCreatR/JSONPath/archive/0.8.0.tar.gz and place the contents of JSONPath-0.8.0 in sites/all/libraries/jsonpath and enable the modules "libraries" and "xautoload".

I did as suggested, installing the Libraries module, which is now deprecated by the way. However the Status Report persists and the module is still throwing the same error about the class not being found when trying to import a json file.

I've tried this with two different site installs (although on the same server) with the same results. I've been using Feeds to import content from CSV files on these sites, so does appear to be an issue related to this module.

I've been using the drupal 7 version of this module for years, and whilst the settings are slightly different, I think I've got everything set up correctly. It seems to me that the module is not finding the jsonpath library, so unsure if that's an issue with the module or my server environment. Any help or advice gratefully received, as I need to get the D7 site migrated to Backdrop and this element is integral to the site. Thanks.

@laryn
Copy link
Member

laryn commented Sep 14, 2024

@sbgraphicdesign Would you be willing to test the PR on #17 ?

@sbgraphicdesign
Copy link
Author

sbgraphicdesign commented Sep 15, 2024 via email

@jenlampton
Copy link
Member

I'm going to make a new release, so no need to test the PR. Please update to the latest version, and if you still have the same problem, feel free to re-open this issue.

here is the new release

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

No branches or pull requests

3 participants