Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.6
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2009 at 09:37 UTC
Updated:
26 Jun 2010 at 07:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehnerCould you disable js and have a look what php error is there.
Comment #2
andrew.eatherington@gmail.com commentedThanks.
The PHP error is:
Fatal error: Cannot redeclare phptemplate_preprocess_page() in ..../sites/all/themes/blueprint/template.php on line 17Strange as this is not happening on another site. I have copied that files' content into this one and the same error is being thrown.
Comment #3
andrew.eatherington@gmail.com commentedHere is the template.php file. If you can spot anything it would be a great help.
I've looked and can't seem to see anything amiss. I've also copied a 'working' file but still the same error.
Thanks
Comment #4
andrew.eatherington@gmail.com commentedComment #5
dawehnerrename the function to yourtheme_preprocess_page
It was your fault not views one :)
Comment #6
andrew.eatherington@gmail.com commentedThanks - That works but I'm still a little confused as the same function name (phptemplate_preprocess_page()) is in use on several sites. I have many functions in here that are prefixed with phptemplate and quite a few others with blueprint (the theme name - it's a base theme).
Just checked the Garland theme and it also follows this pattern.
Comment #7
dawehnerI think you shouldn't use phptemplate at all in your theme.
1. its not needed.
2. in d7 i think it is removed.
3. It was used in d5 when there was no theme registry, but theme stuff in modules, for example theme_username
Comment #8
andrew.eatherington@gmail.com commentedOh okay - this is D6 does that follow the same?
If so I will send on to the theme developer.
Thanks again
Comment #9
dawehnerIn d6 there is the theme registry. There is afaik no reason to use phptemplate_ in your theme.
Comment #11
ivaneric79 commentedhi, i have a similar problem , but when i hit the information link, i disable javascript and i recibe "Forbidden
You do not have permission to access this document. " i all my views