![]() |
Error on Construct_navbits ($navbits); in a test mod
Trying out that mod How to create your own vbulletin powerd....
first i coudnt get global to connect until i entered Full http path. then it worked. now im getting error on navbits.. Code:
$navbits = array(); for the test purpose.. then i thought proberly some directory issue. but i got test.php in both forums/test.php and in folder under forum same error every time.. Fatal error: Call to undefined function construct_navbits() in URL on line 42 and line 42 is the $navbits = construct_navbits($navbits); Suggestions ? |
Can we see your full php code?
|
Ofcourse ;) nothing additional than from the mod..
template is named test in all skins and contain excaktly the same info as mod. Code:
<?php Line 8 - - define('THIS_SCRIPT', 'test'); Line 23 - 'test' Line 32 - Global url Line 40 - $navbits[$parent] = 'test'; Line 44 - eval('print_output("' . fetch_template('test') . '");'); If anything then just a blank page right,, not an error. |
Your line
Code:
require_once(' global.php url '); |
Quote:
im not really sure if im gonna respond to that. i chose not to. Edit : changed my mind, i am.. Ofcourse, no sense in showing internal file links ewen if it is extremely and logical to find out, no reason to tempt fate. and if you read post #1 i said that was working fine. the problem is the navbits. |
Was unaware if it was intentional or not. My apologies if it wasn't ;p
|
Quote:
|
The include of global.php should be just "./global.php". You need to change the current working directory first, though. Use chdir() to do this.
|
All times are GMT. The time now is 03:51 PM. |
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:
|