craftsmancoding / query

Query offers a Snippet interface for querying any database collection, e.g. as an alternative to getResources
8 stars 0 forks source link

Install didn't work correctly #5

Closed JeffSokol closed 9 years ago

JeffSokol commented 9 years ago

First off, this snippet looks fantastic. I hope to be able to use it on all my sites. Great work.

I installed the package from package management, tried to run it and got this error:

[2015-05-14 15:06:09] (ERROR @ /core/cache/includes/elements/modsnippet/39.include.cache.php : 115) PHP warning: require_once(/core/components/query/vendor/autoload.php): failed to open stream: No such file or directory

I looked for the autoload.php file and it did not exist.

Thanks for your help.

fireproofsocks commented 9 years ago

Looks like the composer stuff didn't get packaged. You can install via Repoman and composer, but that's more technical. Which version of the package did you download?

JeffSokol commented 9 years ago

Hey Everett,

Thanks for the quick reply. I downloaded it today from here: http://modx.com/extras/package/query I believe it's 1.3.0

Also, it looks like the composer and craftsmancoding folders are there.

fireproofsocks commented 9 years ago

I repackaged this and release 1.3.1 today.

JeffSokol commented 9 years ago

Thanks Everett, I'm excited to try this out.