![]() |
Can anyone assist please... I get an error reported when I try to load the new page which is:
Fatal error: Call to undefined function: gettemplate() in ......../forums/privacy.php on line 7 ... and line 7 is highlighted in red below Code:
<?php Can anyone advice please... thanks |
"Undefined function" looks like it can't find global.php.
Is this file (privacy.php) in the same directory as global.php? It needs to be. Also, make sure your forumprivacy template is part of the default template style. I also copied it to all of my other template styles. |
Hi Mythlander,
Thanks for the reply so promptly... much appreciated... Quote:
Quote:
Can you suggest something else for me to try please...? is it to do with vB3 Gold perhaps...? |
Well this is a vB2 hack. I'm not sure if it works with vB3. Heck, I couldn't tell you if vB3 even has a gettemplate() function! :D
[Edit] I just checked. It looks like gettemplate() no longer exists in vB3. It's now fetch_template(). Also, I found a thread on doing this for vB3 here. |
Yup, this hack won't work on vB3. :) Use the link I provided in my previous message for the same (apparent) functionality.
|
Quote:
|
All times are GMT. The time now is 09:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|