Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 help with another error
Google
Post new topic Reply to topic
Author Message
bigredcherokee
 
 


Joined: 27 Aug 2005
Posts: 13
Location: Shreveport, Louisiana

PostPosted: Wed Jan 31, 2007 3:37 am Reply with quoteBack to top

Notice: Undefined index: action in C:\apache2triad\htdocs\apache2triadcp\editor.php on line 41

I get this when I access the error.log link under the apache logo or and toher sub menue.

start of line 41

if($_POST['action'] == "Write to file"){
$feed=stripslashes($_POST['feed']);
$mesg = "Written modifications to $file";
$fhw = fopen("$file", "w");
$ok = fwrite ($fhw,"$feed");
fclose ($fhw);

I'm getting this in the php error log:

[30-Jan-2007 21:40:03] PHP Notice: Undefined index: action in C:\apache2triad\htdocs\apache2triadcp\editor.php on line 41

Also getting this one when I open Proftpd now.

Warning: fopen(C:/apache2triad/ftp/slimftpd.log): failed to open stream: Permission denied in C:\apache2triad\htdocs\apache2triadcp\editor.php on line 44 Warning: fclose(): supplied argument is not a valid stream resource in C:\apache2triad\htdocs\apache2triadcp\editor.php on line 46
View user's profileSend private messageYahoo Messenger
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



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 cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT