Breadcrumb error with Advanced Forum module activated
Osfer - August 13, 2008 - 08:19
| Project: | Kommunity |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | stoeckler |
| Status: | active |
Jump to:
Description
Trying to access the Theme settings causes a blank screen with this information:
Fatal error: Cannot redeclare kommunity_breadcrumb() (previously declared in /public_html/sites/all/themes/kommunity/template.php:10) in /public_html/sites/all/themes/kommunity/template.php on line 14

#1
After a reinstall of Drupal 6.3, there is no longer an error. However, changing the colors and the page and sidebar width results in the following error, displayed on all pages:
warning: file_put_contents(sites/all/themes/kommunity/layout.css) [function.file-put-contents]: failed to open stream: Permission denied in /public_html/sites/all/themes/kommunity/template.php on line 342.
#2
Found the problem: the breadcrumb error in the first post only happens when the Advanced Forum module is activated. Deactivating it makes the configuration page for Kommunity accessible again!
#3
Concerning the second post, check for correct file permissions (see other issue's reply) and if you like, report if it's working then.
Thanks!
#4
Hi there! Regarding the second post, you're right, that was the problem. I hadn't read the Readme!
Is this a secure solution, though? Not all Drupal users will have the know-how (or the permission) to restrict write privileges only to the FTP user. Would there be a security vulnerability if unauthorized users had the ability to write to the files specified in the readme?
#5
Hi,
there could be a security vulnerability by making the files writeable to anyone (chmod 0777). The only way to prevent that would be some kind of check that the appropriate files would not be publicly writeable. You can, of course, after changing the options to your liking, restore the files to read-only permissions.
#6
Understood. Thanks!
#7
Even after applying the correct file permissions i still cannot access the page while the Advanced Forum module is activated.
#8
I've installed Drupal 6.4 with "no extras" and this theme. I've the same problem.
#9
A fix for this would be nice. This really is a killing bug.
#10