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.
Goin to /admin/content/types/export, the form is missing, only prefix "This form will process a content type ..." is displayed.
Workaround:
1. Edit content_copy.module and rename funtion content_copy_theme() to disabled_content_copy_theme() in line 59
2. disable and re-enable content_copy module
3. The form works now. Second page looks messud up, but you can proceed.
Comments
Comment #1
chrisbudy CreditAttribution: chrisbudy commentedI ran into this same issue recently when having to go in to update a D6 site.
A better work-around
Looks like it's related to PHP and the 'pass by reference' ability of function arguments. I'm guessing something changed in the default behavior in newer versions of PHP compared to how it used to work? Anyway, if you add an '&' on line 624 of content_copy.module (in front of '$vars'), it all works again, and doesn't make it crazy to use/look at.
And following up now that I know the issue, I was able to find others who've solved this problem long ago: https://www.drupal.org/node/2230081
:)
Comment #2
chrisbudy CreditAttribution: chrisbudy commentedMarking as duplicate of #2230081: Content Type Export doesn't work on PHP 5.4
Comment #3
petercook CreditAttribution: petercook commentedAh great to see at least one other person in the world is still working with Drupal 6. The beauty of it now is that we can hack core and modules as there are no more updates.
Thanks for the help.