simonread
Forum Replies Created
-
Thanks for your help skippy. I had removed the code from my main header.php file, however I looked around my webspace and came across an older version of the file which still had the code in from when I had my WordPress set up within a subfolder. I didn’t think it would affect it anymore but hey, it did. Removed it and everything seems to be working fine. Sorry for wasting your time, and thanks again for your help 🙂
OK, I think I’m getting somewhere. Turns out it was a combination of ShortStats and the Poll plugin that was causing the errors; I’ve removed the offending PHP from the template until I can work out what was causing them. However, I still get this same error:
Fatal error: Call to undefined function: vote_poll() in /home/virtual/site79/fst/var/www/html/wp-content/themes/default/header.php on line 2
on any wordpress Page I try to access on my site. I’m pretty sure this has something to do with the way WordPress archives pages, but does ANYBODY have any way they can help me here?
Anybody? I’ve seen this error mentioned before but nobody has a definite answer. Any help would be appreciated, thanks!
UPDATE:
OK, I’ve removed everything to do with the Poll system from my template, and whilst there are no errors on the main index page the same errors appear whenever I try to access a Page (WordPress’ definition of a page, not a html page that I have created myself). Could this have something to do with the way WordPress archives Pages? Anyone?If I turn off the plugin I get a blank page with this error on it:
Fatal error: Call to undefined function: vote_poll() in /home/virtual/site79/fst/var/www/html/wp-content/themes/default/header.php on line 2
I tried removing the snippet of PHP code which calls the poll, but strangely the above error still remains. However, if I remove “<?php vote_poll(); ?>” from the header then it goes back to the original page, with the original ‘WordPress database error’ on. This is getting more confusing by the second :/
Forum: Fixing WordPress
In reply to: Problem with Google/Search Highlight pluginAnyone?
Forum: Themes and Templates
In reply to: IE spews out another problem – content aligned wrongHeh. I was messing around with the Page templates and it appears to have fixed itself – seemed to be related to the Comments form, for some strange reason. I am an idiot, sorry for wasting your time.
Forum: Themes and Templates
In reply to: IE spews out another problem – content aligned wrongWell, damn. Thanks for you help – I guess it’s back to the drawing board for me.
Forum: Themes and Templates
In reply to: IE spews out another problem – content aligned wrongOuch, that’s a lot of errors. I’m not being lazy, but there’s no way I can fix all of those and/or make a new theme within my deadline (about 5 days). Honestly, it worked fine in every browser the other day, I’m just trying to find out what the relevent CSS or HTML values are that could have caused this. It must have something to do with the page.php because it only happens on Pages, but beyond that I really don’t know what to do.
Forum: Plugins
In reply to: Asset Management/download manager plugin?I’m on the lookout for something like this too, would save me a massive amount of time. Hope someone can help.
Forum: Themes and Templates
In reply to: Displaying comment form on certain pages onlyThat’s pretty neat skippy, I’ll remember that. WordPress continues to impress me 😀
Forum: Themes and Templates
In reply to: Displaying comment form on certain pages onlyWow, neat – never noticed that. Thanks for your help, and sorry for wasting your time.
Forum: Themes and Templates
In reply to: Problems with images and layout in KubrickThat’s a pretty neat article, thanks kickass. I’ll take into account what you said about Kubrick too. Thanks for your help!
Forum: Themes and Templates
In reply to: Problems with images and layout in KubrickAnd if you are making your own desing Kubrick isn’t the best thing to play around with…
Why, exactly? Just out of interest…
Forum: Fixing WordPress
In reply to: Positioning Images in postThanks folks 😀