• User

    Avrei bisogno di mettere online uno script

    Salve a tutti gli utenti
    avrei bisogno di una mano,
    io ho questo script che ho messo in locale,poichè nel server (mio spazio web) non funziona.
    Non riesco a metterlo online , quelli sotto sono i dati inseriti (host,user,passw,nome del database) .
    Ho settato tutto come segnala lo script , ho anche creato una directory come richiede, che si chiama : stdClassifieds.
    Ho inserito nel database il file stdClassDbDump-1-03.sql come richiesto, nel database i valori dello script nella tabella si visualizzano
    C'è qualcuno che mi aiuta a metterlo online . Stefano

    PS : Sotto ho scritto i parametri di configurazione che si devono fare e che ho eseguito

    /* This if the info that you'll need for

    • connecting to and talking to you database.
    • You may have to get this info from your
    • web hosting provider.
      */
      $cnfg['dbHost'] = "localhost";
      $cnfg['dbUser'] = "jessy5030";
      $cnfg['dbPass'] = " 8qCUQYv8Njp"; (la passw.è stata variata da me)
      $cnfg['dbName'] = "jessy5030";

    /* deHome - path to index file.
    */
    $cnfg['deHome'] = "localhost/stdClassifieds/path/to/declassifieds/index.php";

    /* deDir - path to classifieds directory.

    • Include trailing slash (/)
      */
      $cnfg['deDir'] = "localhost/stdClassifieds/path/to/declassifieds/";

    Unpacking/installation

    First thing you need to do is unzip the zip file.
    After you unzip the package you should have a directory named "stdClassifieds" with several sub-directories and files beneath it.
    You can rename this top directory whatever you want or you can just copy all of its sub-directories and files into your web root directory.

    Setting up database
    Run the dump file named "stdClassDbDump-1-03.sql" on your database.
    This will create all the tables and data need for the application to start running.
    All the names of the tables that the application uses are prefixed with a "std", i.e.(std_categories).
    So if you're limited to using only one database this should help make the tables that this application uses distinguishable from the other tables in your database.

    Configuration

    Open the file named "path_cnfg.php".
    In this file you will set the paths to the "cnfg", "admin_scripts", "lib", and "templates" directories.
    There are further instructions contained in this file so make sure you read them as well.

    After you have set your path values, open up the file named "cnfg_vars.php" located in the "cnfg" directory.
    There are several values that need to be set in this file, and the rest are optional.
    You will have to provide all of you DB info here and some other stuff.
    There are more instructions contained in the file itself.

    "path_cnfg.php"contains the paths to 4 directories.
    You can put these directories anywhere you want.
    All the other files and directories should NOT be moved.


  • ModSenior

    Ciao dastefan,
    dovresti indicare qual'è il problema specifico, la domanda è troppo generica per poterti aiutare.


  • User

    Ciao Thedarkita
    grazie di aver risposto , il problema è che vorrei sapere quale link devo inserire per installare o mettere sul web lo script . (penso di essermi spiegato,non lo so) .
    Come ho gia spiegato non riesco a trovare il link per metterlo online . Stefano


  • ModSenior

    Devi semplicemente fare l'upload dei file, e dopo importare il file sql mediante phpmyadmin, da quanto c'è scritto.


  • User

    Ciao Thedarkita
    ti ringrazio di aver risposto, upload dei file è stato fatto,ma non ho capito bene..... mi dici di importare il file sql con phpmyadmin , ma importare dove nel database o altro . E poi come installo ........ mi fai sapere qualcosa. Stefano

    NB : Il problema è che non riesco a trovare la directory per fare installazione,tu
    hai capito quale è la directory.

    Devi semplicemente fare l'upload dei file, e dopo importare il file sql mediante phpmyadmin, da quanto c'è scritto.


  • ModSenior

    Te l'ho scritto nel messaggio precedente cosa devi fare, una volta che hai fatto quello che ho detto già funziona, non devi fare nient'altro.