I am using E-Publish on two sites. On the first, it works perfectly. On the second, whenever I try to add a topic, I get a form for editing the miscellaneous topic instead. I cannot find any reason for a difference between the two sites. I followed the directions for setting up the E-Publish module on both of them. Does anyone have any idea where this bug might have originated?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | epublish.module-add_topic.patch | 316 bytes | darren oh |
Comments
Comment #1
darren ohThe problem was caused by a single line in the function epublish_form_topic. The only reason I can find that it would work on one site and not the other is that one uses PHP4 and the other uses PHP5. This is the line that causes trouble on the site using PHP5:
Once its removed, I can add new topics to both sites and still edit existing topics. I'm attaching a patch for review.
Comment #2
kuldip zala commentedNow,
This bug resolved in current epublish module of 4.x .
You can download and enjoy.
Kuldip
Comment #3
techrobo commentedNever got this issue.
Latest CVS commit is perfect.