Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 51
4 members and 47 guests
bea9qgchcomberc, peardir46, ral6qkeighqenpa, whyjjinternetvi
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
veiwtopic.php
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 71
Join Date: Jan 2003
Location: England
veiwtopic.php - 01-27-2003, 05:19 AM

Hi,

Ive got no idea why this has happened being that yesterday everything worked fine. What my problem is is when i go into the forums and choose a post that some1 has entered i get this error come up:
Fatal error: Call to undefined function: searchdir() in /home/thld185/public_html/home/modules/Forums/viewtopic.php on line 39

now on line 39 is this:
searchdir();

here is a few more lines so you get a better picture:

if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
include("config.php");
include("modules/".$module_name."/functions.php");
include("modules/".$module_name."/auth.php");
include("modules/".$module_name."/attachment.php");
searchdir(); <- this is the problem line
include ("modules/$module_name/class.overlib.php");
$ol = new Overlib();

Is there any1 here that can fix this problem for me?

P.S. Martin, I love the way you have got your site set up, and are trying basically to get my clan site set up the same without much success, if you can give me any help in trying to set mine up I would be very greatful.
 Send a message via ICQ to TuNa  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
01-27-2003, 10:29 AM

Did you make ANY changes since yesterday to ANY files. Or added any hacks or Mods?

Try replacing your viewtopic.php file with the original one. I doubt that will work though.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Member
 
Status: Offline
Posts: 359
Join Date: Nov 2002
Location: Michigan, USA
01-27-2003, 04:32 PM

yeah, make sure you make a backup before changing anything involved with any file. replacing it should work just fine. if not, then it has nothing to do with the viewtopic.php
  Send a message via AIM to ReNeGaDe  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
01-28-2003, 01:34 PM

Are you sure you are looking at the right file? My code for viewtopic.php looks like this.
Code:
if (!eregi("modules.php", $PHP_SELF)) {
    die ("You can't access this file directly...");
}
$module_name = basename(dirname(__FILE__));
require("modules/".$module_name."/nukebb.php");
    
    
define('IN_PHPBB', true);
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);

//
// Start initial var setup
//
if ( isset($HTTP_GET_VARS[POST_TOPIC_URL]) )
{
	$topic_id = intval($HTTP_GET_VARS[POST_TOPIC_URL]);
}
else if ( isset($HTTP_GET_VARS['topic']) )
{
	$topic_id = intval($HTTP_GET_VARS['topic']);
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31