September 7, 201213 yr This is probably me being a complete idiot but I haven't got a clue here. I've been given a D7 site to finish off and it has a bunch of Drupal pages all with php includes to actual php files. Some of these pages have dependencies on them (Eg. some pages need an ID to be specified) however if I am on a completely unrelated page (such as the home page) which doesn't include any of these php files I see error messages (generated by these php files) at the bottom of the site. The home page is http://www.new.ediblesworld.co.uk and at the bottom you can see an error message generated by one of the php files (that isn't intended to be included on that page) I hope somebody can help!
September 10, 201213 yr Hi, have you checked out admin/structure/block ? It may simply be an embedded code in a block region. If this is the case to get it working go to admin/modules and enable the PHP filter for content types in drupals optional modules section. If you do not want it there at all simply disable the block region. Hope this helps
Create an account or sign in to comment