Vorrei spostare un sito dal server locale a quello del provider.
Mi hanno fornito accesso via ftp e creato un database vuoto,
gestibile con phpmyadmin.
Installazione 6.19 eseguita correttamente.
Clicco su Administer e dopo parecchio tempo carica la pagina dicendo:
One or more problems were detected with your Drupal installation. Check the status report for more information.
vado a vedere status report e mi indica l'errore:
HTTP request status Fails
Ho scritto al provider chiedendo di aprire il firewall in uscita
verso drupal.org 140.211.166.21 ma l'errore rimane.
A quale altro indirizzo drupal vuole accedere?
Poi ho caricato hosting-tests. Tra l'altro vedo che il mod_rewrite
non è caricato per cui niente clean-url, sul sito li avevo attivati.
posto l'output di hosting-tests, mi servirebbe capire cosa chiedere
ai gestori dell'hosting per sbloccare la situazione:
Hosting tests for Drupal 6.x - Version 0.4.0
PHP Environment Information
System:
Linux web5 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686
Web Server:
Apache/2.2.14 (Ubuntu)
Server API:
Apache 2.0 Handler
PHP Version:
5.3.2-1ubuntu4.5
PHP memory_limit:
PHP register_globals:
PHP safe_mode:
MySQL Client API version:
5.1.41
MySQLi Client API version:
5.1.41
PostgreSQL Version:
-
Drupal Requirements Tests
PHP phpversion() check:
PHP phpversion() acceptable.
PHP memory_limit check:
PHP memory_limit acceptable.
PHP register_globals check:
PHP register_globals acceptable.
PHP safe_mode check:
PHP safe_mode acceptable.
PHP Unicode support check:
PHP Unicode support acceptable.
PHP (ImageApi) GD check:
GD library: 2.0.
PHP (ImageApi) GD support acceptable.
Upload progress check:
Warning: Your server is capable of displaying file upload progress through APC, but it is not enabled. Add apc.rfc1867 = 1 to your php.ini configuration. Alternatively, it is recommended to use PECL uploadprogress, which supports more than one simultaneous upload.
Overridden PHP settings (.htaccess) check:
Overridden PHP settings accepted.
Overridden PHP settings (php.ini) check:
Warning: Overridden values of PHP settings not accepted.
Overridden PHP settings (ini_set()) check:
Overridden PHP settings accepted. If all other PHP settings overrides fail, consider using Drupal Tweaks.
Directory files check:
The directory hosting-tests/files exists, is readable, writable, and traversable.
Directory files-alt check:
The directory hosting-tests/files-alt exists, is readable, writable, and traversable.
Server rewrite module check:
Error: No rewrite module installed on the server.
External HTTP request check:
External HTTP request: http://updates.drupal.org/release-history/drupal/6.x
External HTTP request successful - code: 200.
HTTP request check:
HTTP request: hosting-tests/favicon.png
Error: HTTP request failed - error code: -110.
Server rewrite check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test succeeds if a page similar to this is displayed showing a success message, otherwise the test fails.
Missing (404) redirect check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test succeeds if a page is displayed showing a message "You aren't allowed to see this", otherwise the test fails.
Retrieve image in files directory check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if you don't see an image after clicking the link.
Retrieve script in files directory check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if the browser does not offer to download the file, but instead displays a text file with the words 'This script should not be executed'.
Directory files listing protection check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if the browser provides a file listing of the directory.
Retrieve image in files-alt directory check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if you don't see an image after clicking the link.
Retrieve script in files-alt directory check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if the browser does not offer to download the file, but instead displays a text file with the words 'This script should not be executed'.
Directory files-alt listing protection check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if the browser provides a file listing of the directory.
Il messaggio più importante è:
HTTP request check:
HTTP request: hosting-tests/favicon.png
Error: HTTP request failed - error code: -110.
E' questo che blocca anche Drupal.
Non riesce a caricare una pagina da se stessa. Cioè http://www.sito.it/qualcosa falisce. L'errore e del tipo network 110, cioè la connessione è andato in timeout (tempo scaduto).
HTH
John
Più imparo, più dubito.
Ho disattivato clean-url nel server locale, pulito la cache.
Esportato dal server locale il database
poi importato in quello del provider, tutto ok.
Copiato di brutto la cartella drupal da un server all'altro,
poi sono andato a vedere e ha avuto qualche tentennamento,
ancora negli url, disattivati di nuovo con query al db.
Dopo è partito, tutto ok, nonostante gli errori funziona.
Per riabilitare i clean-url il provider deve metterci le mani in apache.
Comunque mi pare tutto abbastanza rallentato, pensavo
andasse più veloce che nel vecchio server che uso, invece no...
Adesso posso dire che il sito gira.
10/12 ore al giorno ci stò passando.
Installato anche Ubercart, più avuti errori.
Meglio così.
Ciao!
Salve a Tutti,
Da qualche settimana riscontro il seguente errore: Http Request Failed... su installazioni Drupal 6.x, su un server dedicato.
ho effettuato molte ricerche sul web provando già tutto o quasi le correzioni su Drupal, (ho notato che l'errore è condiviso da molti e per cause molto diverse in particolare qui si evidenziano le diversità di "soluzioni" http://drupal.org/node/245990)
Il gestore del server mi dice che hanno effettuato un'istallazione standard e che guardando nei log del dominio potrei risalire all'errore ma nei log non ho trovato nulla) a questo punto ho trovato l'utilissimo "non modulo" Hosting-test che porta alla luce molto ma che dalla mia poca esperienza in ambito sistemistico non saprei dove intervenire o cosa indicare al gestore del server.
Hosting tests for Drupal 6.x - Version 0.4.0
PHP Environment Information
System:
Linux www.xxxxxxx.com 2.6.18-194.17.4.el5PAE #1 SMP Mon Oct 25 16:35:27 EDT 2010 i686
Web Server:
Apache/2.2.3 (CentOS)
Server API:
CGI/FastCGI
PHP Version:
5.2.14
PHP memory_limit:
128M
PHP register_globals:
Off
PHP safe_mode:
Off
MySQL Client API version:
5.0.90
MySQLi Client API version:
5.0.90
PostgreSQL Version:
-
Drupal Requirements Tests
PHP phpversion() check:
PHP phpversion() acceptable.
PHP memory_limit check:
PHP memory_limit acceptable.
PHP register_globals check:
PHP register_globals acceptable.
PHP safe_mode check:
PHP safe_mode acceptable.
PHP Unicode support check:
PHP Unicode support acceptable.
PHP (ImageApi) GD check:
GD library: bundled (2.0.34 compatible).
PHP (ImageApi) GD support acceptable.
Upload progress check:
Warning: Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC.
Overridden PHP settings (.htaccess) check:
Warning: Overridden values of PHP settings not accepted.
Overridden PHP settings (php.ini) check:
Warning: Overridden values of PHP settings not accepted.
Overridden PHP settings (ini_set()) check:
Overridden PHP settings accepted. If all other PHP settings overrides fail, consider using Drupal Tweaks.
Directory files check:
The directory hosting-tests/files exists, is readable, writable, and traversable.
Directory files-alt check:
The directory hosting-tests/files-alt exists, is readable, writable, and traversable.
Server rewrite module check:
Warning: No server information found.
External HTTP request check:
External HTTP request: http://updates.drupal.org/release-history/drupal/6.x
Error: External HTTP request failed - error code: -13.
HTTP request check:
HTTP request: hosting-tests/favicon.png
Error: HTTP request failed - error code: -13.
Server rewrite check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test succeeds if a page similar to this is displayed showing a success message, otherwise the test fails.
Missing (404) redirect check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test succeeds if a page is displayed showing a message "You aren't allowed to see this", otherwise the test fails.
Retrieve image in files directory check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if you don't see an image after clicking the link.
Retrieve script in files directory check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if the browser does not offer to download the file, but instead displays a text file with the words 'This script should not be executed'.
Directory files listing protection check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if the browser provides a file listing of the directory.
Retrieve image in files-alt directory check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if you don't see an image after clicking the link.
Retrieve script in files-alt directory check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if the browser does not offer to download the file, but instead displays a text file with the words 'This script should not be executed'.
Directory files-alt listing protection check:
Warning: The check cannot be tested automatically. Use this link to test manually.
Error: The test fails if the browser provides a file listing of the directory.
Grazie in anticipo per eventuali considerazioni
Luigi