Ciao a tutti,
ho scaricato lo scipt per la gestione delle news ma ho qualche problema. In locale funziona bene, ma quando vado ad uploadarlo nel host in internet non va. Mi spiego, questi sono i passi di installazione:
1. Open "admin.php" and "news.php", in a TEXT-ONLY editor. Notepad or any
other editor will suffice. Do not use an HTML editor or Word.
Edit the lines that read:
$digiNewsPath = '/path/to/digi-news/news.dat';
require '/path/to/digi-news/news.inc.php';
You should change the absolute paths to mirror your directory structure. It is recommended that you place news.dat in a directory not accessible from
the web.
----------------------------------------------------
ho inserito il file news.dat ed il file news.inc.php nella principale, quindi ho settato i file admin.php e news.php con queste path:
$digiNewsPath = './news.dat';
require './news.inc.php';
giusto?
-----------------------------------------------------
2.) Edit "template.htm" to match the look and feel of your web site. This
file is used to render the display of an individual news entry.
-------------------------------------------------------
fatto! ho inserito in Template Path: ./template.htm
-------------------------------------------------------
3.) Upload all files into a directory named digi-news. All files should be
uploaded in ASCII mode. It is recommended that you place news.dat in a
directory not accessible from the web, so not in the directory digi-news.
-------------------------------------------------------
Allora ho creato la cartella digi-news e ho inserito tutto dentro. Riesco a fare login, ma quando vado ad inserire una nuova news, inserisco il testo e quando spingo il pulsante SAVE mi da una pagina bianca e se torno alla lista delle news vedo che non l'ha inserita.
Vi prego aiutatemi perchè non riesco a venirne furoi, Grazie in anticipo