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

500 Internal Server Error #2

Closed
KatieMFritz opened this issue Apr 11, 2019 · 9 comments
Closed

500 Internal Server Error #2

KatieMFritz opened this issue Apr 11, 2019 · 9 comments

Comments

@KatieMFritz
Copy link

When I set up an Asset List field type and go to an entry that's using it, I get a 500 Internal Server Error for the URL {baseUrl}?p=admin/actions/element-lists/element-indexes/get-elements in the console and the "An unknown error occurred" popup message in the Craft CP.

I can bring up the asset volume and select an asset, but then I get the popup message "Association Failed" and it doesn't save. 500 error for {baseUrl}http://dev.facadetectonics.org/index.php?p=admin/actions/element-lists/source/associate.

@nateiler
Copy link
Contributor

Hi Katie,

The {baseUrl} stands out to me. Can you check your site settings (/admin/settings/sites) and see if that variable is set in the 'Base Url' field? I would expect to see something like @web there.

By default, that variable isn't registered any longer:
https://craftcms.stackexchange.com/questions/23440/craft-3-how-can-i-set-dynamic-base-url-in-sites-setting/23714

If that doesn't help, can you provide the Craft and Plugin version you're using?

@KatieMFritz
Copy link
Author

KatieMFritz commented Apr 12, 2019 via email

@nateiler
Copy link
Contributor

Ah.

Can you provide the Craft and Plugin versions?

A screenshot of your settings might be handy too. I'm not able to reproduce anything on this end.

@KatieMFritz
Copy link
Author

Here you go. Thanks!

Field settings

Screen Shot 2019-04-16 at 1 02 05 PM

Craft settings

Plugin version: 2.0.0

Screen Shot 2019-04-16 at 1 02 49 PM

@nateiler
Copy link
Contributor

Thanks for providing that information.

I installed the same Craft CMS version and am running a similar PHP version; however I'm still able to reproduce. Very strange.

We have been working on an update which will likely come out early next week. The update will support switching between native element relation field types and Element List field types. I expect this update will assist w/ troubleshooting.

@nateiler
Copy link
Contributor

Hi Katie,

We recently released a 2.1 update for the plugin. The update requires a migration, but will align the relation data using Craft's native relation table. As a result, you should be able to switch back and forth between native element relation field types and Element List relation field types.

My hope is we'll get a better idea of what's going on in your case.

@KatieMFritz
Copy link
Author

KatieMFritz commented Apr 29, 2019 via email

@nateiler
Copy link
Contributor

nateiler commented Apr 30, 2019

I didn't looks close enough to your screenshot of the env to see Postgres.

Please upgrade to v2.1.1 composer require flipboxfactory/craft-element-lists:^2.1.1

There is a supporting package that should also get updated (as it's required). However if there is a dependency notice, you might need to run this as well: composer require flipboxfactory/craft-ember:^2.3.1

@KatieMFritz
Copy link
Author

Thanks! It seems to work now.

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

2 participants