SunQuest
 
           General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old December 26th, 2002, 10:33 PM
DivaX007 DivaX007 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 23 DivaX007 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Membership Warning

win98, php4+, localhost, register globals off

members.php is suppose to call memberhandler.php, instead, i am getting this error:

Warning: Failed opening 'lib/memberhandler' for inclusion (include_path='.;c:\php4\pear') in C:\...\htdocs\members\members.php on line 48

as you can see below, this is line 48:
include("{$pm_path}lib/memberhandler$sfx");

members.php:

<?php
// Description: This file directs member management routines.
// It must remain in the "members" directory.

if (!isset($HTTP_GET_VARS['p']))
{
$memdir = get_pref("memdir","1");
return header("location:$memdir$messagespage$sfx");
}

switch ($HTTP_GET_VARS['p'])
{

case "addcomment" : include("{$pm_path}lib/comment.add$sfx");
break;
case "addentry" : include("{$pm_path}lib/weblog.add$sfx");
break;
case "sendmail" : deliver_the_mail($from, $subject, $message, $to);
break;
case "tellafriend" : send_to_friend($name,$to,$from,$message,$what,$pos tid,$where);
break;
case "activate" : member_activation_handler($id);
break;
case "pwreset" : reset_member_password($id);
break;
case "mlist" : add_remove_from_mailinglist($rem,$email);
break;
default : include("{$pm_path}lib/memberhandler$sfx");
break;

}

// END
?>

Reply With Quote
  #2  
Old December 27th, 2002, 09:48 AM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
What path is stored in your $pm_path variable?

Just a quick note, what is the $sfx you have at the end of your filenames? What is stored in that variable?
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #3  
Old December 29th, 2002, 11:46 PM
DivaX007 DivaX007 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 23 DivaX007 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks. got it to work.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Membership Warning


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway