This module has terrific potential and I thank you for all the work you've put into it.

Using php 4.4.4, MySql 4.1.21, Drupal 4.7.4, subform v30:

I can get a subform to appear in a parent content node with a select list for existing children and a form for new children. However, when I click any of the submit buttons (Save under subform/select, Create under subform/new, or Submit at the bottom of the page) over 15 seconds passes and I end up with a white screen. None of the changes I make ever get written to the database.

This is true even if I change a single field in the main node and click submit. If I go in and remove the subform field from the parent node, submit starts working again.

I'm thinking maybe this is a timeout error? Why would that be? Both the parent node and the child node have fewer than a dozen fields each. Where would I put a set_time_limit() to something longer to test the timeout idea?

Any other thoughts on what this could be?

Comments

googhome’s picture

In my setup, php's max_execution_time is set to the standard 30 seconds, so that's probably not it after all.

googhome’s picture

It may or may not be relevant, but I'm also using Organic Groups.

If I was submitting as a user who wasn't allowed to post outside his/her group, the failure could be related to subform's attempt to create a new child record without a group.

However, the failure occurs even when I submit as Admin (User 1), so I'm probably anticipating another problem should we figure this one out.

MrTaco’s picture

Assigned: Unassigned » MrTaco
Status: Active » Fixed

i get the same thing in php 4.4.2 sometimes

for me, its a bug in array_walk in php, and it triggers during drupal's attempt to de-magic quote return data

if you use php 5, or disable magic quotes, you should be fine

Anonymous’s picture

Status: Fixed » Closed (fixed)