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

Fatal error when Members config settings not set #133

Closed
bauhouse opened this issue May 16, 2011 · 4 comments
Closed

Fatal error when Members config settings not set #133

bauhouse opened this issue May 16, 2011 · 4 comments
Assignees
Milestone

Comments

@bauhouse
Copy link
Member

So, here's the use case:

A developer creates a Members section, sets this section as the Active Members Section, creates the Member Roles and creates an entry for a new member in the Symphony admin to test the system. The developer creates a login page to test logging in a member and encounters the following error:

Fatal error: Call to a member function get() on a non-object in /Users/stephen/Sites/mockups/project/extensions/members/lib/member.symphony.php on line 200

It is not clear to the developer that the Members section must be saved after it has been selected as the Active Members Section to save the Members extension configuration settings to the config.php file. The extension should throw an exception to inform the developer that the Members section must be resaved to save the Members extension configuration settings.

These instructions should also be included in the documentation.

@ghost ghost assigned brendo May 16, 2011
@brendo
Copy link
Member

brendo commented May 16, 2011

That behaviour is pretty ugly, I'd like to try and automate that if I could. Will look into

@brendo
Copy link
Member

brendo commented May 17, 2011

Actually, I've looked into this and the fields should be saving values when created to the config file is no Active Members Section is set, see here

So when saving the field, if the current member section is the one set in the config, or if there is no Members section set in the config, this will save the current field_id to the config file.

Is this off a completely clean install of Symphony & Members?

@brendo brendo closed this as completed in c950a81 May 17, 2011
@brendo
Copy link
Member

brendo commented May 17, 2011

Nevermind, this was related to the Member: Password field, should be all fixed now :)

@bauhouse
Copy link
Member Author

Thanks for the fix :)

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