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
 apache2triad editor.php empty file bug Status : FIXED
Google
Post new topic Reply to topic
Author Message
mfindlay
 
 


Joined: 06 Mar 2005
Posts: 6

PostPosted: Tue Mar 08, 2005 10:17 pm Reply with quoteBack to top

Whenever I use the Apache httpd.conf editor to modify the httpd.conf file, as soon as I click the "Write to File" it empties out the entire file.

Is this a bug?

Thanks,
Mark
View user's profileSend private message
door33
tester
tester


Joined: 28 May 2004
Posts: 67
Location: US

PostPosted: Wed Mar 09, 2005 3:48 am Reply with quoteBack to top

yes i think mancini is aware of this btw which editor any thing i change in the httpd.conf if use is probally using notepad but using the
http://localhost/apache2triadcp/guihttpd.cgi

gets the job done for some things you need to change.
View user's profileSend private messageAIM AddressMSN Messenger
LiquidSnake
past contributor
past contributor


Joined: 23 May 2004
Posts: 267
Location: Middlesboro, KY

PostPosted: Wed Mar 09, 2005 11:43 am Reply with quoteBack to top

I remember one post quite some time ago about this, the thing is there is no error message, when you open http://localhost/apache2triadcp/editor.php?load=httpdconf it opened a blank file, and it remains a blank file even if you dont click save. All that is left is a httpd.conf with 0 bytes. Happened to me once.


see http://apache2triad.net/forums/viewtopic.php?t=830&highlight=blank+httpd+conf
View user's profileSend private messageSend e-mailYahoo Messenger
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Thu Mar 10, 2005 6:54 am Reply with quoteBack to top

ok here is the fix

on line 42 of editor.php change
Quote:
$feed=$_GET['feed'];

to
Quote:
$feed=stripslashes($_POST['feed']);
View user's profileSend private message
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