![]() |
What am i doing wrong?
Newbie question :)
what am i doing wrong here PHP Code:
PHP Code:
Advice welcome :) |
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; |
Will that make it work?
|
Missing argument 2 for fetch_censored_text() in /home/general/public_html/forum/includes/functions.php on line 342
doh :) |
i kind of know what that error means, and obviously know why it has appeared, but not too brainy on how to sort it :)
|
Well i have figured out why im getting there error and how to fix it :) Just need to find out where censored_text() is defined etc :) Im gonna get this one!!!!
|
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 :) |
/home/general/public_html/forum/includes/functions.php
hmm, that's a good hint to where it's defined :p |
Well the only time i found it in that file, is the code i placed above Xenon.
|
well but you are calling it incorrectly :)
you have to add two parameters, but are just providing one :) change PHP Code:
PHP Code:
|
All times are GMT. The time now is 03:29 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:
|