Visualizzazione dei risultati da 1 a 3 su 3

Discussione: Digi News

  1. #1
    Utente di HTML.it
    Registrato dal
    May 2004
    Messaggi
    17

    Digi News

    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

  2. #2
    la directory in cui hai messo il file data ha i permessi di scrittura ??

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2004
    Messaggi
    17
    tutti i file (quindi compreso il file data) sono nella stessa cartella.

    Poi scusami l'ignoranza ma sono ancora neofita, come faccio a sapere se una cartella ha i permessi di scrittura?

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.