Nov 12th, 2011, 11:56 AM
Very curious! There's definitely something strange going on.
First off, why are you calling ft_api_start_sessions() after the ft_api_init_form_page() call? The second function will automatically set up sessions, so the second one may overwrite the first and lose whatever's already set. It shouldn't be necessary and could only cause problems.
Digging a bit deeper in the code, I see that the 500 error is thrown in the ft_api_create_blank_submission() function, which is called by the ft_api_init_form_page() function. So for some reason, the following line is failing. It's saying that the form ID of 15 doesn't exist.
Have you modified the API code at all?
First off, why are you calling ft_api_start_sessions() after the ft_api_init_form_page() call? The second function will automatically set up sessions, so the second one may overwrite the first and lose whatever's already set. It shouldn't be necessary and could only cause problems.
Digging a bit deeper in the code, I see that the 500 error is thrown in the ft_api_create_blank_submission() function, which is called by the ft_api_init_form_page() function. So for some reason, the following line is failing. It's saying that the form ID of 15 doesn't exist.
Code:
if (!ft_check_form_exists($form_id))
Have you modified the API code at all?