Quote:
Originally posted by The Piper
[options]templatequeryon[/options]
Is what messes things up. If I remove that line, as I did in the template "test" (check it out, I changed it also to [cansee]everyone[/cantsee], so you should be able to: http://www.pinkfloydfan.net/forums/show.php?pg=test), things show up, although the queries don't work (of course).
|
Can you put the line back in the template. I want to see the error message. And needless to say: Your webqueries (that is in the webtempate) exists in your database right? If webtemplate tries to process an webtemplate which exists in the webtemplate but does not exist in your database (ie vb cp), this error can occur. So please double check you have existing (at least default) webqueries in your admin cp. (via modify webquery). If I'm not wrong you should have
_last_10_threads [edit] [remove]
Gets user's last 10 threads from forum database
_privateevents [edit] [remove]
Gets user's recent private calender event list
webqueries by default. Check their content seems intact too..For example as for _privateevents :
Query is:
SELECT eventid, eventdate, subject FROM calendar_events WHERE userid="$user_userid" AND public="0" ORDER BY eventdate ASC
Table Row is:
<li><normalfont><a href="$bburl/calendar.php?s=&action=getinfo&eventid=??eventid?? ">??subject??</a></normalfont> <smallfont>(??eventdate??)</smallfont></li>
Does they look good?