Pagina 1 di 6 1 2 3 ... ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 58
  1. #1

    [Installare e configurare Drupal in locale]

    Ciao a tutti.

    Sulla piattaforma Apache 2.2 + MySQL 5.0 + Phh 5.0.67 + PhMyAdmin 2.11.8.1 in locale sul mio pc ho tentato di installare e configurare Drupal 6.9, ma sono rimasto bloccato alle prime battute, e non so dove ho sbagliato.

    Ho fatto così:

    Download di drupal-6.9.tar.gz

    Estrazione di drupal con FadeOut Zip.it nella cartella di installazione miodrupal del percorso: C:\Programmi\Apache Software Foundation\Apache2.2\htdocs\miodrupal
    In una nota ‘mini HOWTO’ viene dato questo consiglio: copiate i file contenuti nella directory drupal-xxx nella directory di installazione(“miodrupal”). Non copiare l’intera directory drupal-xxx(miodrupal/drupal-xxx).
    Ho fatto così: ho copiato le 7 cartelle e gli 11 file, ma non la cartella senza nome con i due puntini a fianco, situata in cima alla lista, nella cartella mio drupal, per cui alla fine ho
    ../miodrupal/drupal-6.9
    , ma non sono sicuro di avere interpretato bene.

    Nel file settings.php, ottenuto a partire da {miodrupal}\sites\default\default.settings.php, in :
    $db_url = “mysql://root:@localhost/miodb
    sostituisco ‘miodb’ con ‘drupal_db’ , il database vuoto creato da me.


    Poi digito l’URL nel mio browser, ("http://localhost/miodrupal"), e mi esce questo messaggio:
    Site off-line
    The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.
    ________________________________________
    If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider.
    The mysql error was: Access denied for user 'username'@'localhost' (using password: YES).

    Dove sbaglio? Qualcuno mi aiuta?


    Cicerone80

  2. #2
    Per la dir devo creare "miodrupal" dove vuoi e poi metterci il **contenuto** di quello che "unzippi" (includes, misc, modules etc... compresi i file...).
    Poi, senza toccare nulla vai su /sites/defaultdefault.settings.php e lo duplichi rinominandolo in settings.php
    STOP
    Vai sul browser e richiami http://localhost/miodrupal
    Fantasupermegafavolipermeramagicultra irresistibili
    4 10 30 100 1001 personaggi insuperabili fantaincredibili ultraimpossibili iperterribili irresistibili!!!

    "... a quell'età ... bastava un dito per fare la pace ..."
    fotine

  3. #3

    [Installare e configurare Drupal in locale]

    Egregio Ricman.

    Ho fatto come tu mi hai detto, e cioè così:

    - Download di drupal-6.9.tar.gz in una cartella 'Download' del percorso /Documenti/Download.
    - Creazione di una cartella 'miodrupal' in Documenti (cioè, un posto qualsiasi , come da te suggerito)
    - Estrazione del **contenuto** (15cartelle e 11 file) nella cartella miodrupal.
    - In /sites/default/default.settings.php ho rinominato questo file in grassetto settings.php
    Faccio puntare il browser a http://localhost/miodrupal,; mi esce l' Index of/miodrupal, clicco su drupal_6.9, e però mi esce purtroppo il solito messaggio di 'Site off-line'

    Almeno, come faccio io (duplicare default.settings.php, rinominare la copia settings.php, lasciando inalterato default.settings.php) ho un file 'settings.php' pulito , su cui poter fare la configurazione !
    Poi, sappiamo che Apache 2.2, MySQL 5.0, Php 5.0.67, PhMyAdmin 2.11.8.1, e Drupal interagiscono tra di loro. Quindi, Drupal va messo in 'htdocs', dove appunto Apache 2.2 va a cercarlo.
    Poi,se in 'settings.php' scrivo:
    - $db_url = 'mysql://usernameassword@localhost/drupal_db, il messaggio di Sites off-line é: The mysql error was: Access denied for user 'username'@'localhost' (using password: YES) ;
    se invece in 'settings.php' scrivo:
    - $db_url = 'mysql://root:@localhost/drupal_db, il messaggio di Sites off-line é: The mysql error was: Access denied for user 'root'@'localhost' (using password: NO) .
    In definitiva, c'è un errore che non riesco ad individuare (comunque, la suddetta interazione è evidente!), e perciò a me sembra che c'è da discutere!

    A presto risentirci, spero.

    Cicerone80

  4. #4
    Non ci siamo capiti... che è "drupal_6.9"??? Immagino che sia un dir che ti fa quando unzippi. Devi copiare il suo contenuto dentro "miodrupal".
    Il file del setting come dicevo lo devi DUPLICARE e rinominare (il duplicato in setting.php) e NON LO DEVI APRIRE nè modificare.

    Mi ero scordato di dirti che devi avere GIA' creato un Db vuoto (da phpmyadmin, ad esempio)
    Fantasupermegafavolipermeramagicultra irresistibili
    4 10 30 100 1001 personaggi insuperabili fantaincredibili ultraimpossibili iperterribili irresistibili!!!

    "... a quell'età ... bastava un dito per fare la pace ..."
    fotine

  5. #5
    codice:
    INSTALLATION
    ------------
    
    1. DOWNLOAD DRUPAL AND OPTIONALLY A TRANSLATION
    
       You can obtain the latest Drupal release from http://drupal.org/. The files
       are in .tar.gz format and can be extracted using most compression tools. On a
       typical Unix command line, use:
    
         wget http://drupal.org/files/projects/drupal-x.x.tar.gz
         tar -zxvf drupal-x.x.tar.gz
    
       This will create a new directory drupal-x.x/ containing all Drupal files
       and directories. Move the contents of that directory into a directory within
       your web server's document root or your public HTML directory:
    
         mv drupal-x.x/* drupal-x.x/.htaccess /var/www/html
    
       If you would like to have the default English interface translated to a
       different language, we have good news. You can install and use Drupal in
       other languages from the start. Check whether a released package of the
       language desired is available for this Drupal version at
       http://drupal.org/project/translations and download the package. Extract
       the contents to the same directory where you extracted Drupal into.
    
    2. CREATE THE CONFIGURATION FILE AND GRANT WRITE PERMISSIONS
    
       Drupal comes with a default.settings.php file in the sites/default
       directory. The installer uses this file as a template to create your
       settings file using the details you provide through the install process.
       To avoid problems when upgrading, Drupal is not packaged with an actual
       settings file. You must create a file named settings.php. You may do so
       by making a copy of default.settings.php (or create an empty file with
       this name in the same directory). For example, (from the installation
       directory) make a copy of the default.settings.php file with the command:
    
         cp sites/default/default.settings.php sites/default/settings.php
    
       Next, give the web server write privileges to the sites/default/settings.php
       file with the command (from the installation directory):
    
         chmod o+w sites/default/settings.php
    
      So that the files directory can be created automatically, give the web server
      write privileges to the sites/default directory with the command (from the
      installation directory):
    
         chmod o+w sites/default
    
    3. CREATE THE DRUPAL DATABASE
    
       Drupal requires access to a database in order to be installed. Your database
       user will need sufficient privileges to run Drupal. Additional information
       about privileges, and instructions to create a database using the command
       line are available in INSTALL.mysql.txt (for MySQL) or INSTALL.pgsql.txt
       (for PostgreSQL).
    
       To create a database using PHPMyAdmin or a web-based control panel consult
       the documentation or ask your webhost service provider.
    
       Take note of the username, password, database name and hostname as you
       create the database. You will enter these items in the install script.
    
    4. RUN THE INSTALL SCRIPT
    
       To run the install script point your browser to the base URL of your website
       (e.g., http://www.example.com).
    
       You will be guided through several screens to set up the database,
       create tables, add the first user account and provide basic web
       site settings.
    
       The install script will attempt to create a files storage directory
       in the default location at sites/default/files (the location of the
       files directory may be changed after Drupal is installed). In some
       cases, you may need to create the directory and modify its permissions
       manually. Use the following commands (from the installation directory)
       to create the files directory and grant the web server write privileges to it:
    
         mkdir sites/default/files
         chmod o+w sites/default/files
    
       The install script will attempt to write-protect the settings.php file and
       the sites/default directory after saving your configuration. However, you
       may need to manually write-protect them using the commands (from the
       installation directory):
    
         chmod a-w sites/default/settings.php
         chmod a-w sites/default
    
       If you make manual changes to the file later, be sure to protect it again
       after making your modifications. Failure to remove write permissions to that
       file is a security risk. Although the default location for the settings.php
       file is at sites/default/settings.php, it may be in another location
       if you use the multi-site setup, as explained below.
    Fantasupermegafavolipermeramagicultra irresistibili
    4 10 30 100 1001 personaggi insuperabili fantaincredibili ultraimpossibili iperterribili irresistibili!!!

    "... a quell'età ... bastava un dito per fare la pace ..."
    fotine

  6. #6

    [Installare e configurare Drupal in locale]

    Egregio ricman,

    scusami, non ti avevo capito.

    Ora, ti dico che cosa andrò a fare in base a quello che ho capito:
    [list=1][*]creazione db vuoto (ce l'ho già: drupal_db)[*]in /sites/default/ metto il file settings.php (derivato da default.settings.php) senza aprirlo nè modificarlo [*]faccio puntare il browser all' URL locale[/list=1]
    Anzi, parto proprio daccapo e utilizzo i due link, per il download di drupal e della sua traduzione, che tu mi hai messo nel codice (beato te che conosci anche linux ... io sono anchilosato solo in Win, però credo di averne capito il filo logico, e se mi avanza tempo tra qualche mese vorrei proprio impararlo questo linux!).

    Vado a lavorare...e incrocio le dita!
    ... a presto, spero!

    cicerone80

  7. #7

    [Installare e configurare Drupal in locale]

    OK, ricman!

    Non mi sembra vero. E' uscito il benvenuto di Drupal.

    GRAZIE (ma come hai fatto ad imparare queste scorciatoie validissime ed efficientissime ?)

    Ora, ho qualche perplessità a come scegliere la traduzione in italiano. Non voglio rovinare tutto per la fretta, e quindi...
    TI RINGRAZIO, VADO A DOCUMENTARMI, POI CENO, POI SPERO DI RIUSCIRE AD INSTALLARE LA TRADUZIONE, E POI ... INIZIA LA SECONDA PARTE, E CIOE' CAPIRE DRUPAL, PER POTERLO GESTIRE CORRETTAMENTE.

    di nuovo, grazie.
    cordialmente.
    cicerone80

    P.S. da questo momento in poi, ho deciso di utilizzare come nickname cicerone80 anzichè Cicerone80 . mi sembra più politically correct. intelligenti pauca!

  8. #8

    [Installare e configurare Drupal in locale]

    Egregio ricman,

    per la scelta della lingua, clicco su http://localhost/miodrupal/drupal-6.9/install.php?profile=default]Learn how to install Drupal in other languages[/URL], ma c'è un papiello che non finisce più. c'è una scorciatoia anche per la scelta della lingua?

    scusami, solo un altro pò di pazienza.

    cicerone80

  9. #9

    [Installare e configurare Drupal in locale]

    Egregio ricman,

    questo è il link corretto:
    Impara come scegliere un linguaggio

    cicerone80

  10. #10

    [Installare e configurare Drupal in locale]

    Egregio ricman,

    sono andato avanti per vedere quello che succedeva, ed infatti pare che ho tralasciato qualcosa ... a parte la scelta del linguaggio:

    Requirements problem
    The following error must be resolved before you can continue the installation process:
    The Drupal installer requires that you create a settings file as part of the installation process.
    Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php.
    Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the on-line handbook.
    More details about installing Drupal are available in INSTALL.txt.
    Please check the error messages and try again.

    che faccio?
    cicerone80

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.