| Author |
Message |
taz
Corporal


Joined: Aug 25, 2003
Posts: 58
|
Posted:
Thu Sep 04, 2003 7:52 pm |
  |
I would like to give betaNC a shot, but every copy I have ever downloaded has DOS end of line characters (^M). Is there a copy that is unix compliant? There is just toooooo many files to sit down and manually run dos2unix on ever one of them. |
|
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Fri Sep 05, 2003 3:43 am |
  |
All these sites are on unix compliant servers. What OS are you running? |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
taz
Corporal


Joined: Aug 25, 2003
Posts: 58
|
Posted:
Fri Sep 05, 2003 9:54 am |
  |
I am running FreeBSD.
The copy I downloaded is from this page:
http://www.nukecops.com/downloads-file-125.html
And all the *.php files have ^M's at the end of every line when opened in VI. Therefore the web server spews PHP errors when run.
Any ideas??
Here is a piece of the index.php
| Code: |
<?php^M
^M
/************************************************************************/^M
/* PHP-NUKE: Advanced Content Management System */^M
/* ============================================ */^M
/* */^M
/* Copyright (c) 2002 by Francisco Burzi */^M
/* http://phpnuke.org */^M
/* */^M
/* This program is free software. You can redistribute it and/or modify */^M
/* it under the terms of the GNU General Public License as published by */^M
/* the Free Software Foundation; either version 2 of the License. */^M
/************************************************************************/^M
^M
require_once("mainfile.php");^M
$_SERVER['PHP_SELF'] = "modules.php";^M
$sql = "SELECT main_module from ".$prefix."_main";^M
$result = $db->sql_query($sql);^M
$row = $db->sql_fetchrow($result);^M
$name = $row[main_module];^M
$home = 1;^M
^M
|
|
|
|
    |
 |
taz
Corporal


Joined: Aug 25, 2003
Posts: 58
|
Posted:
Sun Sep 07, 2003 6:47 pm |
  |
Anyone?
I want to use the NC version of phpnuke with all the mods already installed. But this end of line character is a problem. |
_________________ If I take a long time to respond to a thread please email me |
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon Sep 08, 2003 4:10 pm |
  |
Hi'ya been tied up on the server side. I have a script somewhere that can remove all the ^M's. Let me search for it. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
taz
Corporal


Joined: Aug 25, 2003
Posts: 58
|
Posted:
Mon Sep 08, 2003 6:08 pm |
  |
Thanks I would appreciate it.
I have one that does it but it's a cumbersome script that I have to do ever single file individually. "dosunix" script |
_________________ If I take a long time to respond to a thread please email me |
|
    |
 |
taz
Corporal


Joined: Aug 25, 2003
Posts: 58
|
Posted:
Tue Sep 09, 2003 10:14 pm |
  |
No worries. I yanked a copy of betaNC from the CVS and it does not have the ^M characters.... the downloaded package did. Might want to check into that. |
_________________ If I take a long time to respond to a thread please email me |
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Wed Sep 10, 2003 2:20 am |
  |
Ok that's good to know then. The download from snaps? |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
taz
Corporal


Joined: Aug 25, 2003
Posts: 58
|
Posted:
Thu Sep 11, 2003 4:54 pm |
  |
I downloaded/checked out a copy from cvs.nukecops.com using CVS of course |
_________________ If I take a long time to respond to a thread please email me |
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Sat Sep 13, 2003 2:47 pm |
  |
Ok, thanks taz. Its good to know that the downloads are working. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
|
|