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.
I found today that the version of drupal that we're using (v4.7.4) splits up the body of a page containing PHP for the teaser, though in code comments in './modules/node.module' says that it shouldn't. I'm not sure if this has already been caught or not. I searched around on the site, but was unable to find anything directly related to my problem.
I'm pretty sure that the problem stems from $delimeter being FALSE, and of course the position of '<?' in $body cannot be less than FALSE.
Anyway, I've attached my patch.
Comment | File | Size | Author |
---|---|---|---|
#3 | node_teaser_php_fix.patch | 765 bytes | collin |
php_node_fix_20061108.patch | 503 bytes | collin | |
Comments
Comment #1
collin CreditAttribution: collin commentedI'm pretty sure that the problem stems from $delimeter being FALSE, and of course the position of '<?' cannot be less than FALSE.
Comment #2
collin CreditAttribution: collin commentedChanged issue information.
Comment #3
collin CreditAttribution: collin commentedadded patch...in correct format
Comment #4
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedMoving to HEAD(?), need to be fixed there too.
Comment #5
drummCommitted to HEAD.
Comment #6
(not verified) CreditAttribution: commented