PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

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: 3038
Location: United Kingdom

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

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: 6373
Location: Vsetin, Czech Republic

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

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 Visit poster's website
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

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

You have to be missing something in mainfile.php, that is where filter() is defined
View user's profile Send private message Visit poster's website
NeapolitanWorld
Involved
Involved


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

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

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


Joined: Apr 20, 2008
Posts: 56

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

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


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

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

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 to the forums!


I switched to Raven about a month ago and will never go back Smile
View user's profile Send private message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

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

TQ
View user's profile Send private message
jackel
Worker
Worker


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

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

erick08,

Your welcome there is a really great bunch of people here to help you
View user's profile Send private message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

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


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

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

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


Joined: Apr 20, 2008
Posts: 56

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

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


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

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

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


Joined: Apr 30, 2004
Posts: 3221

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

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

function filter($what, $strip="", $save="", $type="") {
View user's profile Send private message Visit poster's website
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

Hello evaders99,

Quote:

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


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

TQ Razz
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

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

It is in mainfile.php (along with the entire function itself.. more than that line). Your phpNuke package should have it
View user's profile Send private message Visit poster's website
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

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
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum