NewsPro : Upgrading NewsPro

Click here to download the latest version of NewsPro, 3.8 (in ZIP format).


After downloading the NewsPro ZIP file, follow the instructions below.

Upload only these files to your server:

- newspro.cgi
- viewnews.cgi
- nplib.pl
- npa_add.pl
- nplang.pl
Do not upload any other files. Overwriting some of your current files - notably newsdat.txt, npconfig.dat, ndisplay.pl, and npconfig.pl - will cause loss of data.

p>After uploading new files, rename npconfig.dat (which should already be in your NewsPro directory) to nsettings.cgi (there is no need to CHMOD the file).

Due to a bug in a previous version, if you upgraded from version 2.x, then your ndisplay.pl file likely has been "repeated" - i.e. its contents were accidentally inserted again at the end of the file, so it repeats itself. While this won't prevent NewsPro from working, it may disrupt news style editing. The easiest way to fix this is to, after upgrading, copy in the backup copy of ndisplay.pl that you made before upgrading to version 3, and then allow the automatic upgrade procedure to modify it. If you don't have a backup copy, then edit ndisplay.pl and delete everything after the following lines

sub DoSearchHTML {
&DoNewsHTML;
}

but still remembering to leave the line

1;

at the end of ndisplay.pl.

After files have been uploaded and the new version is working, look at this FAQ page, which provides important security information.