Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0
Author Message
erick08
Regular
Regular



Joined: Apr 20, 2008
Posts: 56

PostPosted: Sat Feb 21, 2009 9:26 am Reply with quote

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
 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sat Feb 21, 2009 11:08 am Reply with quote

If this is a new install we would always recommend using RavenNuke. Wink
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Feb 21, 2009 2:20 pm Reply with quote

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.
 
View user's profile Send private message Send e-mail
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sat Feb 21, 2009 6:50 pm Reply with quote

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! 
View user's profile Send private message Visit poster's website
NeapolitanWorld
Involved
Involved



Joined: Nov 06, 2005
Posts: 339
Location: Los Angeles, USA

PostPosted: Sat Feb 21, 2009 11:46 pm Reply with quote

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! 
View user's profile Send private message
erick08







PostPosted: Mon Feb 23, 2009 1:49 am Reply with quote

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.... Embarassed

TQ
 
jackel
Worker
Worker



Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Mon Feb 23, 2009 1:58 am Reply with quote

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.... Embarassed

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 Smile
 
View user's profile Send private message
erick08







PostPosted: Mon Feb 23, 2009 2:48 am Reply with quote

Ok Jackel I got it. Thanks for the link. I'm back shortly....

TQ
 
jackel







PostPosted: Mon Feb 23, 2009 3:42 am Reply with quote

erick08,

Your welcome there is a really great bunch of people here to help you
 
erick08







PostPosted: Mon Feb 23, 2009 5:21 am Reply with quote

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

PostPosted: Mon Feb 23, 2009 6:51 am Reply with quote

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! 
View user's profile Send private message Visit poster's website
erick08







PostPosted: Mon Feb 23, 2009 8:15 am Reply with quote

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







PostPosted: Mon Feb 23, 2009 5:57 pm Reply with quote

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







PostPosted: Mon Feb 23, 2009 9:22 pm Reply with quote

To answer your question, using 8.0, you should have a line in mainfile.php
Quote:

function filter($what, $strip="", $save="", $type="") {
 
erick08







PostPosted: Wed Feb 25, 2009 10:42 am Reply with quote

Hello evaders99,

Quote:

function filter($what, $strip="", $save="", $type="") {


Where part can I put this code in mainfile.php?

TQ Razz
 
evaders99







PostPosted: Wed Feb 25, 2009 8:02 pm Reply with quote

It is in mainfile.php (along with the entire function itself.. more than that line). Your phpNuke package should have it
 
erick08







PostPosted: Thu Feb 26, 2009 12:18 pm Reply with quote

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
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©