header
Welcome Guest to ServerDoc - Auto Restart crashed servers and programs (game www ftp servers) with remote control panel
ServerDoc

· About ServerDoc
· Download/Purchase
· Getting Started
· User Guide
· Forums
· Feedback/Suggestion
· Mailing List
· Link To Us
· Your Account
· Linux


ServerDoc - Auto Restart crashed servers and programs (game www ftp servers) with remote control panel: Forums

Serverdoc :: View topic - Bug: Runtime Error 13 - Caused by linux LF instead of CRLF
Bug: Runtime Error 13 - Caused by linux LF instead of CRLF

 
Post new topic   Reply to topic    Serverdoc Forum Index -> Serverdoc
View previous topic :: View next topic  

Author Message
oneofthemany



Joined: Apr 05, 2006
Posts: 2
Location: London, UK

PostPosted: Fri May 12, 2006 10:57 pm    Post subject: Bug: Runtime Error 13 - Caused by linux LF instead of CRLF Reply with quote

Whilst auto-generating my wwwconfig.cfg files on a linux box I found that when I transferred them to a windows box to use that they would cause a runtime error 13 in serverdoc.

After a little investigation I found that (seems obvious now) linux, of course, only terminates lines with a LF and not CR+LF.

Serverdoc being a windows app doesnt recognise this and crashes with a runtime error 13.

I've fixed this in my script I use to auto generate the files but thought it may be useful for anyone else who may come across this in the future. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Serverdoc Forum Index -> Serverdoc All times are GMT
Page 1 of 1

 
Jump to:  
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

Powered by phpBB © 2004 phpBB Group
Version 2.1 by Nuke Cops 2003 http://www.nukecops.com
TBlue by DR Designs © 2004

Forums ©
footer
Copyright 2004 serverdoc.com

Web site engine code is Copyright 2003 by PHP-Nuke All Rights Reserved PHP-Nuke is Free Software released under the GNU/GPL license