Aggiornamento core 6.29

11 contenuti / 0 new
Ultimo contenuto
Aggiornamento core 6.29

Aggiornandi il core di Drupal dalla 6.28 alla 6.29 durante l'update esce questo errore:
Fatal error: Call to undefined function token_get_values() in /Users/.../modules/page_title/page_title.module on line 564

Qualcuno ha risolto per caso?
grazie

Drupal Version:

a me si è aggiornato normalmente, ma se faccio Rapporto di stato mi esce
Fatal error: Call to undefined function file_create_htaccess() in /web/htdocs/www.miosito.it/home/modules/system/system.install on line 129
per il resto funzia tutto, boh
(sono su aruba)

Nelle note di rilascio si legge
"Important upgrade note:
Upgrading an existing Drupal site to this version requires manual changes to the .htaccess files in the site's files directories. See SA-CORE-2013-003 for instructions."

Capisco che il file .htacess deve essere modificato manualmente.

Se si va sulla pagina indicata sono riportate le novità per il file .htaccess per le versioni 6 e 7

Ma , da ignorante, mi chiedo: con queste variazioni bisogna fare un copia incolla al file .htaccess o in quale modo bisogna modificarlo ?

Grazie per le risposte

Anch'io sono su Aruba, e già il file .htaccess su questo server ha una configurazione particolare, quando ho tempo provo a guardare, ora purtroppo ho altri problemi con altri siti...a volte drupal fa un po' girare le...

So solo che si devono commentare le opzioni, ma questo valeva anche per le versioni precedenti. Nel frattempo il sito sta andando in casino, è lentissimo e non riesco a lavorarci. Che bei momenti.

buonasera a tutti, siete riusciti a capire cosa andare ad inserire nell'htaccess x coloro che stanno su ARUBA?

Seguendo questo tutorial http://bit.ly/18F48L5 bisognerebbe modificare il file .htaccess nella folder sites/miosito.com/files così:

# Turn off all options we don't need.
Options None
Options +FollowSymLinks
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
  # Override the handler again if we're run later in the evaluation list.
  SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php5.c>
  php_flag engine off
</IfModule>
# PHP 4, Apache 1.
<IfModule mod_php4.c>
  php_flag engine off
</IfModule>
# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
  php_flag engine off
</IfModule>

Precedentemente il file .htaccess era diverso:

SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
Options +FollowSymLinks

e su Aruba andavano commentate tutte le righe.

#SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
#Options None
#Options +FollowSymLinks

Inoltre dice di modificare il file .htaccess della folder /tmp così:

# Turn off all options we don't need.
Options None
Options +FollowSymLinks
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
  # Override the handler again if we're run later in the evaluation list.
  SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php5.c>
  php_flag engine off
</IfModule>
# PHP 4, Apache 1.
<IfModule mod_php4.c>
  php_flag engine off
</IfModule>
# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
  php_flag engine off
</IfModule>
Deny from all

Io ora sto cercando di aggiornare un sito su grghosting e non ho ancora provato sui siti Aruba, se riuscite a risolvere mi fate sapere?

grazie.

Ho aggiornato un sito su aruba e ho modificato nella folder /sites/miosito.com/files il file .htaccess cosi: (ho commentano le prime 3 righe)

# Turn off all options we don't need.
#Options None
#Options +FollowSymLinks
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
  # Override the handler again if we're run later in the evaluation list.
  SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php5.c>
  php_flag engine off
</IfModule>
# PHP 4, Apache 1.
<IfModule mod_php4.c>
  php_flag engine off
</IfModule>
# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
  php_flag engine off
</IfModule>

sembra funzionare tutto!

Tuttavia in rapporto stato (admin/reports/status) permane un errore:

"See http://drupal.org/SA-CORE-2013-003 for information about the recommended .htaccess file which should be added to the /tmp directory to help protect against arbitrary code execution."

ma ho letto che se la directory /tmp è al di fuori della root (come nel mio caso) non serve procedere alla modifica.

spero di essere stato utile.

Per chi fosse interessato ho risolto anche su grghosting (era un errore mio col database), il file .htaccess va modificato come scritto qua http://bit.ly/18F48L5

Boh, ho smanettato qua e la (aggiustando anche il maledetto htaccess) e pare che adesso funzioni tutto. Tuttavia se faccio il Rapporto di stato (che adesso funziona) mi esce:
See http://drupal.org/SA-CORE-2013-003 for information about the recommended .htaccess file which should be added to the sites/default/files directory to help protect against arbitrary code execution.

Ho provato ad aggiustare i permessi in ftp, anche consultando la pagina che indicano, ma non ne vengo fuori. Ho anche creato la cartella tmp in sites/default/files e aggiornato il File system. Boh

Prova a controllare qui admin/settings/file-system che percorso di sistema hai settato e se hai metodo di download pubblico o privato...in teoria la cartella /tmp non dovrebbe interessarci...