The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Newbie question
![]() what am i doing wrong here PHP Code:
PHP Code:
Advice welcome ![]() |
#2
|
||||
|
||||
![]()
First: where is $forumid coming from?
![]() Change: function fetch_censored_text($text) Into: function fetch_censored_text($text,$forumid) Second: It's a function, just like the end... return the text: Change: print $text; Into: return $text; |
#3
|
||||
|
||||
![]()
Will that make it work?
|
#4
|
||||
|
||||
![]()
Missing argument 2 for fetch_censored_text() in /home/general/public_html/forum/includes/functions.php on line 342
doh ![]() |
#5
|
||||
|
||||
![]()
i kind of know what that error means, and obviously know why it has appeared, but not too brainy on how to sort it
![]() |
#6
|
||||
|
||||
![]()
Well i have figured out why im getting there error and how to fix it
![]() ![]() |
#7
|
||||
|
||||
![]()
ok ok i have searched, Newthread.php, newpost.php, showthread.php, showpost.php, init.php and no where can i find where fetch_censored_text
is defined. Help ![]() |
#8
|
||||
|
||||
![]()
/home/general/public_html/forum/includes/functions.php
hmm, that's a good hint to where it's defined ![]() |
#9
|
||||
|
||||
![]()
Well the only time i found it in that file, is the code i placed above Xenon.
|
#10
|
||||
|
||||
![]()
well but you are calling it incorrectly
![]() you have to add two parameters, but are just providing one ![]() change PHP Code:
PHP Code:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|