I did a find/replace on a copy of the book module, changed some of the help text, etc, and tried to run essentially 2 book modules at the same time.

It almost worked. I get "Can't modify headers / headers already sent" messages when administrating either the original or its copy.

Both "Book" and its mimic "Serial" will run perfectly when the other is disabled.

Can this "copy" be modified further so that it doesn't interject headers? If so, how?

Comments

dman’s picture

I'm guessing you either haven't renamed ALL the functions and bits needed to the new version. Although you'd see the 'function already declared" error then.

Or it's just a variation on the usual whitespace errors. Did you actually look at the line numbers the error message gave you?

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

vm’s picture

How to: Duplicate the book.module = http://drupal.org/node/102446

Doesn't sound (not in your instructions) That you have created the "serial" database tables.

Chris Star’s picture

It was whitespace in line one of the serial.module file after find/replace instances of "book".
I found this thread with the answer a little later on.

Thanks everyone.