#1 May 28, 2015 6:15am

visconti
Member
From: Netherlands
Registered: May 22, 2015
Posts: 27

Events extension posting blanks

I've already updated the core to the lastest version prior to installing the events extension however when I post a new event or category it's not saving the form data to the database.

Does anyone know what's up?

REOCd.jpg

As you can see other data like ID, recurring and dates are stored like a charm

Last edited by visconti (May 28, 2015 7:05am)

Offline

#2 May 28, 2015 12:25pm

jmason03
Member
Registered: January 9, 2014
Posts: 123

Re: Events extension posting blanks

It appears that there is an issue with the installExtension function that causes the module form to not be created correctly. Each field is given a numeric column identifier rather than the appropriate text identifier which causes issues when BigTree tries to process the module data when you click "Save and Publish". A quick fix that will solve this specific issue is to go into your database and edit the table: bigtree_module_forms. Find the entry that corresponds to your "Events" module and you'll want to edit the "fields" column, changing the number in each instance of "column":(number) to whatever the title for that field entry is.

So an example for the first two. You'll see "column":0 and change it to "column":"title" and then on "column":1 change it to "column":"description"

You'll need to do this for each instance of "column":(number)  in the entire string. Then, update your database with that new string and it should solve your problem.

Obviously this only fixes this specific instance of the problem, Tim and his team will have to publish a solution in an upgrade to fix the code so that the column titles are generated correctly. Also, if you have any other extensions installed you may want to check those for this problem as well (excluding any that don't come with a standard module form).

Offline

#3 May 28, 2015 12:42pm

visconti
Member
From: Netherlands
Registered: May 22, 2015
Posts: 27

Re: Events extension posting blanks

Cheers man, worked like a charm smile!

Offline

#4 May 28, 2015 1:00pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Events extension posting blanks

Thanks for finding (and tracking down) this bug!

A fix is available in this commit:
https://github.com/bigtreecms/BigTree-C … 43549d9ebb

This will only affect future extension installs, so you'll need to uninstall / reinstall the extension to fix the broken forms.

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.