Having Mod Install Errors? - NBS






 

 

Having Mod Install Errors? - NBS

View Full Version : Having Mod Install Errors?


Valethar
16-Jan-2003, 09:54 PM
Greetings!

I think I may have stumbled across the source of some of the install problems we've seen here. (Portals, ACP changes, Online/Offline, etc...)

Depending on the software your server is running, you may need to have your text editor (or whatever you're using) save your edited files with UNIX line breaks. This is especially true for Macintosh users! The Mac saves files with a different format of line breaks/carriage returns, which can cause some confusion on a UNIX based server. In some cases, this also holds true of PC users, again, depending on how your editing software was written to save files.

If you're getting parse errors with unexpected strings (the $ sign in the error code) or fatal errors that point to lines with no active code, your problem may be the line break format that your files have been saved with.

My advice is to check your text editors Preferences settings for 'Save As..' options (or something similar) and look for how it's default line breaks are set up. This option may also be a temporary setting that you need invoke each time you save a file. If you're not sure your editor has this feature, check with the tech support people for the company that published it.

If there's no option to save files with UNIX style line breaks, and you're having trouble with installing mods, it may be worth the effort to search out a new editor and give this a try.

One option for the Mac is BBEdit. The full version little pricey, but does the trick. There's also a 'Lite' version that is free. If you're doing a lot of coding, or anticipate that you will, BBEdit may well be worth the cost. (Take a look at the Bare Bones Software (http://www.barebones.com) website for more info.)

Being a Mac user, I don't know enough about PC software to make a recommendation. However, Im sure one of our intrepid Admins or Mods will be more than happy to educate me! :)