Forums

HTTP 500 updating a record

waynesworld 13 Jun, 2012
OK - I've been playing with CF and ChronoConnectivity for the past 24 hours and can't for the life of me work out why I'm getting an error if I try to update data.

I've set up a test CF form on my local machine with just one text field, connected to a data table and the form when entered from a menu option with menu type Chronoforms>DisplayForm works as expected, i.e. adds a new record to the table.

I've set up a connection using ChronoEngine and happily linked everything up to display the table data from a second menu option in the front end of type Chronoforms>Connection Data List. Again, the form loads and displays as expected. However, if I click one of the entries in the list to edit it, it opens the original input form with the field populated, but changing and submitting the text in the one and only field is causing an HTTP500 error.

There's no validation/JS or additional code in this test form so at the moment I'm stumped. Am I doing something silly?

Any help anyone can give would be muchly appreciated (I'm actually a Windows programmer by trade so please speak slowly and use small words 🤣 )

[EDIT] By the way - I've attached debuggers at various form events in the Wizard (submit, data save etc), and it's still going to HTTP500

Thanks
GreyHead 15 Jun, 2012
Hi waynesworld,

Really hard to tell without adding debug code but a 500 Internal Server Error is probably coming because there is a loop in the code that never completes or a DB query which doesn't resolve.

Does the edit form work if you run it 'stand-alone' from the URL without the CC part?

Bob
waynesworld 15 Jun, 2012
Hi Bob,

I've somehow managed to fix the problem. I uninstalled and re-intalled the module, component and plugin which I downloaded a couple of days ago and it's working now.

Strange

Thanks

Wayne
This topic is locked and no more replies can be posted.