← CMS - Gestores de Conteúdos

[Ajuda] Instalação do drupal

Lida 2868 vezes

Offline

easynote 
Membro
Mensagens 87 Gostos 0
Troféus totais: 21
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 50 Posts 10 Posts

Boas...

Ao instalar o drupal apareceme o seguinte:
Citar
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings. (Currently using PHP register globals Enabled ('1'))

Alguém sabe como resolver isto?

Obrigado
Offline

Bruno Mota 
Membro
Mensagens 1733 Gostos 3
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

tens de pedir a tua sp para corrigir esse "pequeno" problema... mas aviso que é muito mau ter register globals on
Offline

easynote 
Membro
Mensagens 87 Gostos 0
Troféus totais: 21
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 50 Posts 10 Posts

Obrigado ... vou ja mandar um email...  :lol:
Offline

Bruno Mota 
Membro
Mensagens 1733 Gostos 3
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

de nada
Offline

epsy 
Membro
Mensagens 553 Gostos 1
Feedback +1

Troféus totais: 25
Trófeus: (Ver todos)
Search Windows User Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1

Se no alojamento não puderem desactivar essa opção, podes fazer isso no ficheiro .htaccess, que está na raiz do domínio.
A regra que deves colocar no .htaccess é a seguinte:
 
# ----
php_flag register_globals off
# ---
Offline

easynote 
Membro
Mensagens 87 Gostos 0
Troféus totais: 21
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 50 Posts 10 Posts

Fiz um ficheiro php.ini e resultou :)
Offline

epsy 
Membro
Mensagens 553 Gostos 1
Feedback +1

Troféus totais: 25
Trófeus: (Ver todos)
Search Windows User Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1

Pois, essa é outra hipótese de resolver o problema.
Offline

easynote 
Membro
Mensagens 87 Gostos 0
Troféus totais: 21
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 4 Level 3 Level 2 Level 1 50 Posts 10 Posts

Acabou por resolver mas enviei na mesma email pa SP...

Obrigado a todos ;)