Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The form rendered at /admin/content/types/export is always blank due to starting on step one and the 'content_copy_export_form.tpl.php' having:
if ($form['#step'] == 2):
Comment | File | Size | Author |
---|---|---|---|
#7 | 2088747-7.patch | 1006 bytes | travis-bradbury |
Comments
Comment #1
b_sharpe CreditAttribution: b_sharpe commentedJust an update:
If you delete content_copy_export_form.tpl.php, then the initial form renders (step 1), but then step 2 is not formatted correctly
Comment #2
b_sharpe CreditAttribution: b_sharpe commentedComment #3
srees CreditAttribution: srees commentedDid you ever figure out what the cause was? I've had this come up and am assuming a conflict with another module, but there are no errors anywhere...
Comment #4
alieffring CreditAttribution: alieffring commentedI managed to get the form to show up by removing the newlines at the end of content_copy_export-form.tpl.php.
Comment #5
srees CreditAttribution: srees commentedalieffring: Bingo. Thank you. I don't have this issue on my PHP 5.3 servers, but I do on my 5.5.9. Weird.
Anyway, that got me to the second page, which still had a busted layout.
The fix for the busted layout is to add the '&' to the function arguments for template_preprocess_content_copy_export_form at the bottom of content_copy.module.
Line 622 should look like:
function template_preprocess_content_copy_export_form(&$vars) {
...Comment #6
homoludens CreditAttribution: homoludens commentedJust to confirm, fixes from #4 and #5 are working for me too.
Comment #7
travis-bradbury CreditAttribution: travis-bradbury at Acro Commerce commentedComment #8
phanophite CreditAttribution: phanophite commentedI have experienced this issue as well after migrating my server to Ubuntu 14.04 (to PHP 5.5.9). Applying this patched fixed my issue.