Visualizzazione risultati 1 fino 9 di 9

Discussione: Non visualizzo il mio sito appena creato

  1. #1
    Guest

    Predefinito Non visualizzo il mio sito appena creato

    Salve avrei bisogno di un aiuto.
    Ho caricato ieri via ftp il mio sito qui su altervista fatto con prestashop in locale.
    Navigando ho trovato le indicazioni per migrare prestashop da locale a remoto ed ho seguito i suggerimenti trovati; purtroppo però il sito non viene visualizzato, con chrome scrive:

    DNS_PROBE_FINISHED_NXDOMAIN


    Impossibile trovare il server all'indirizzo http perché la ricerca DNS non è riuscita. Il DNS è il servizio di rete che converte il nome di un sito web nel suo indirizzo Internet. Questo errore è causato di solito dall'assenza di una connessione a Internet o da una rete configurata scorrettamente. Può anche essere causato da un server DNS che non risponde o da un firewall che impedisce a Google Chrome di accedere alla rete.

    Avete suggerimenti da darmi? Sto creando questo sito per un esame e sono un po' in ansia per questi problemi che non riesco a risolvere.

    Grazie a chiunque possa darmi una mano. ^^

  2. #2
    L'avatar di saitfainder
    saitfainder non è connesso Sëniör Stäff
    Data registrazione
    06-12-2002
    Residenza
    Torino
    Messaggi
    8,715

    Predefinito

    Accedendo alla tua pagina principale si viene rediretti su questo URL che non ha senso: http://http://creationsugarpaste.altervista.org/


    «È una mia peculiarità distorcere la verità e inventarne di nuove.»
    «I tuoi orientamenti hanno su di me un effetto prossimo allo zero.»


  3. #3
    Guest

    Predefinito

    Ok, ti ringrazio... ho capito il problema! Seguendo le guide trovate in giro per migrare prestashop ho sbagliato a modificare il dominio.
    Grazie infinite per avermelo fatto notare.
    Un'altra domanda, scusa ma non sono per nulla pratica. Ora visualizzo bene il sito però quando clicco le varie sezioni mi scrive:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, info@altervista.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
    Mi sai dare qualche suggerimento?

    Grazie.
    Ultima modifica di karl94 : 18-09-2015 alle ore 15.03.24 Motivo: Formattazione

  4. #4
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Riporta qua il contenuto del file .htaccess.

  5. #5
    Guest

    Predefinito

    Codice:
    # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
    # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
    # http://www.prestashop.com - http://www.prestashop.com/forums
    
    <IfModule mod_rewrite.c>
    <IfModule mod_env.c>
    SetEnv HTTP_MOD_REWRITE On
    </IfModule>
    
    RewriteEngine on
    
    
    #Domain: localhost
    RewriteRule . - [E=REWRITEBASE:/creationsugarpaste/]
    RewriteRule ^api$ api/ [L]
    
    RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
    
    # Images
    RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
    RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
    RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
    RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
    RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
    # AlphaImageLoader for IE and fancybox
    RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
    
    # Dispatcher
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
    </IfModule>
    
    AddType application/vnd.ms-fontobject .eot
    AddType font/ttf .ttf
    AddType font/otf .otf
    AddType application/x-font-woff .woff
    <IfModule mod_headers.c>
    	<FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$">
    		Header add Access-Control-Allow-Origin "*"
    	</FilesMatch>
    </IfModule>
    
    #If rewrite mod isn't enabled
    ErrorDocument 404 /creationsugarpaste/index.php?controller=404
    
    # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
    Ultima modifica di karl94 : 18-09-2015 alle ore 15.04.00 Motivo: Formattazione

  6. #6
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Il file .htaccess è scritto come se l'installazione di Prestashop fosse all'interno di una cartella chiamata creationsugarpaste, potrebbe essere dovuto al fatto che hai corretto le impostazioni, ma il file deve essere ancora rigenerato col i dati corretti.
    Che guida hai seguito per la migrazione? Non c'è un passaggio che spiega come forzare la rigenerazione del file .htaccess?

  7. #7
    Guest

    Predefinito

    Ho seguito delle direttive su un blog in cui spiegava che le modifiche da apportare erano sul file
    settings.inc.php

    e poi nel database sulle tabelle PS_SHOP_DOMAIN (inserisci http://www.nomesito.it)
    in PS_SHOP_DOMAIN_SSL (http://www.nomesito.it)

    ma nulla riguardo il file .htaccess

    Ora girando in internet sto leggendo quanto segue:

    Sometimes it is necessary to regenerate htaccess file. After some changes in SEO & URL’s settings, after adding image types into Preferences -> Images section, after activating and modifying the multistore some features may not work properly in your PrestaShop front office. In this case you must regenerate .htaccess file.

    Enter your website server via FTP or cPanel File manager.

    Navigate to your store root directory.

    Download .htaccess file to your computer to back it up.

    Select the file on your server and click Delete button
    Log into your PrestaShop admin panel.

    Navigate to Preferences -> SEO and URLs.

    Set Friendly URL option to No and click Save button
    Enable Friendly URL back and save the changes.

    .htaccess should be successfully regenerated in your store.

    Forse devo provare così... non so!

  8. #8
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Sì, prova così dovrebbe andare.

  9. #9
    Guest

    Predefinito

    Ok ho provato come ho scritto nel post precedente ed è andata!

    Grazie mille per il supporto.

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •