Author |
Message |
erick08
Regular


Joined: Apr 20, 2008
Posts: 56
|
Posted:
Sat Feb 21, 2009 9:26 am |
|
Hello Raven,
I'am newbe, help me. I install phpnuke 8.0 i recieve the error:
Fatal error: Call to undefined function filter() in /home/*****/public_html/modules/News/index.php on line 48
How to fix...
Quote: |
} else {
$qdb = "WHERE topic='$new_topic'";
$result_a = $db->sql_query("SELECT topictext FROM ".$prefix."_topics WHERE topicid='$new_topic'");
$row_a = $db->sql_fetchrow($result_a);
$numrows_a = $db->sql_numrows($result_a);
Line 48 --> $topic_title = filter($row_a['topictext'], "nohtml");
OpenTable();
if ($numrows_a == 0) {
[/code]
TQ |
|
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Sat Feb 21, 2009 11:08 am |
|
If this is a new install we would always recommend using RavenNuke.  |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Feb 21, 2009 2:20 pm |
|
Indeed. RavenNuke (tm) is way better but from the error you are getting it looks like a file was missed from the upload or is corrupted. |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sat Feb 21, 2009 6:50 pm |
|
You have to be missing something in mainfile.php, that is where filter() is defined |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
NeapolitanWorld
Involved


Joined: Nov 06, 2005
Posts: 339
Location: Los Angeles, USA
|
Posted:
Sat Feb 21, 2009 11:46 pm |
|
I'm not part of the Raven team. I'm only a happy Raven user. erick08 the best thing you can do is remove 8.0 and install Raven Nuke latest version.
Good luck,
jc |
_________________ My Raven Site Only registered users can see links on this board! Get registered or login! |
|
|
 |
erick08

|
Posted:
Mon Feb 23, 2009 1:49 am |
|
Ok Tq All,
NeapolitanWorld, maybe you right. I never heard the Raven Nuke. But I happy and wish to use it. Where can I download it? Sory my Eng
Broken....
TQ |
|
|
|
 |
jackel
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA
|
Posted:
Mon Feb 23, 2009 1:58 am |
|
erick08 wrote: | Ok Tq All,
NeapolitanWorld, maybe you right. I never heard the Raven Nuke. But I happy and wish to use it. Where can I download it? Sory my Eng
Broken....
TQ |
Only registered users can see links on this board! Get registered or login!
I switched to Raven about a month ago and will never go back  |
|
|
|
 |
erick08

|
Posted:
Mon Feb 23, 2009 2:48 am |
|
Ok Jackel I got it. Thanks for the link. I'm back shortly....
TQ |
|
|
|
 |
jackel

|
Posted:
Mon Feb 23, 2009 3:42 am |
|
erick08,
Your welcome there is a really great bunch of people here to help you |
|
|
|
 |
erick08

|
Posted:
Mon Feb 23, 2009 5:21 am |
|
Tq Jackel,
evaders99 wrote;
Quote: |
You have to be missing something in mainfile.php, that is where filter() is defined
|
Hi, Avaders99 what is missing.. help me... |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Mon Feb 23, 2009 6:51 am |
|
erick08, if you are going to switch to RavenNuke(tm) - my recommendation as well - you will not have this issue. Are you still planning on using 8.0? If not, then I'd prefer us to not waste our time trying to get that working... |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
erick08

|
Posted:
Mon Feb 23, 2009 8:15 am |
|
Ok montego, actualy I planning to switch to RavenNuke(tm) now..... but I don't know succes or no.... I still need you help... I try it first...
TQ |
|
|
|
 |
montego

|
Posted:
Mon Feb 23, 2009 5:57 pm |
|
Definitely read and follow the included HowToInstall manual and it will answer most of your questions. For any additional ones, just search the forums here first as many have gone before you and their questions have been answered already. If you get stuck, do not hesitate to ask. |
|
|
|
 |
evaders99

|
Posted:
Mon Feb 23, 2009 9:22 pm |
|
To answer your question, using 8.0, you should have a line in mainfile.php
Quote: |
function filter($what, $strip="", $save="", $type="") {
|
|
|
|
|
 |
erick08

|
Posted:
Wed Feb 25, 2009 10:42 am |
|
Hello evaders99,
Quote: |
function filter($what, $strip="", $save="", $type="") {
|
Where part can I put this code in mainfile.php?
TQ  |
|
|
|
 |
evaders99

|
Posted:
Wed Feb 25, 2009 8:02 pm |
|
It is in mainfile.php (along with the entire function itself.. more than that line). Your phpNuke package should have it |
|
|
|
 |
erick08

|
Posted:
Thu Feb 26, 2009 12:18 pm |
|
evaders99 wrote: | It is in mainfile.php (along with the entire function itself.. more than that line). Your phpNuke package should have it |
Yes It work.... Great evaders99........ TQ so much..
also thaks to all Raven PHP Scripts staff..... TQ |
|
|
|
 |
|