I upgraded to the 5.x-3.0-beta version today and with the module enabled, I receive the following error in the Apache error log and am unable to navigate my site without getting a white screen.
[Thu Feb 21 19:41:36 2008] [error] [client 192.168.1.5] PHP Fatal error: Cannot redeclare phptemplate_username() (previously declared in /usr/local/apache2/htdocs/drupal/sites/all/modules/activity/activity.module:548) in /usr/local/apache2/htdocs/drupal/themes/newsflash/template.php on line 181
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | activity_225136-remove-username-theme.patch | 2.21 KB | sirkitree |
Comments
Comment #1
sirkitree commentedYeah, I think I'm going to take this out of the 5.x-3 branch. Seems to be causing more problems then it is worth. I'll but it back in if someone comes up with a better way to implement. Thought I'm surprised that it gives you this considering it does a check if (!function_exists('phptemplate_username') {... so this might be the first implementation in the module order of things. In any case, I'll mark this as fixed as soon as beta 2 is released.
Comment #2
WISEOZ commentedThank you! The patch worked for that one error.
I am now getting this error on the activity screen. Do you want me to log this as a separate issue?
Comment #3
webappl commentedI'm using template.php in my theme and your code
is not working for me. But
does the trick.
Comment #4
jaydub commentedNo longer applies