PDA

Zobacz pełną wersję : Problem z register_globals



jacul
16-10-2006, 17:41
W mojej Joomli 1.0.14 PL mam problem z register_globals. W System Info mam taki komunikat:



Following PHP Server Settings are not optimal for Security and it is recommended to change them:

PHP register_globals setting is ’ON’ instead of ’OFF’
Joomla! RG_EMULATION setting is ’ON’ instead of ’OFF’ in file globals.php
’ON’ by default for compatibility reasons

Czytałem tematy o tym na forum i znalazłem cos takiego zeby wstawic w .htaccess

php_flag register_globals off
Tak też zrobiłem, ale po wejściu na strone mam taki komunikat:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, tech@ovh.net 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.

Apache/1.3.37 Server at 1000gp.ovh.net Port 80
Co mam zrobic?

Dylek
16-10-2006, 20:51
Jak tylko developerzy Joomli dojda do wersji 1.0.14 to na bank ten problem rozwiaza :)
A tak w ogole - wylacz sobie emulacje register_globals w pliku globals.php - a drugi komunikat olej - nie masz na niego wplywu jesli nie jestes adminem serwera.

yogi009
27-11-2006, 21:15
i nie wiem, gdzie dokładnie się wyłącza register_globals. Generalnie ten plik to kawałek kodu i ten parametr występuje jako element składowy instrukcji (funkcji). Ktoś mógłby prosto napisać, jak to ustawić na OFF ?

yar3k
28-11-2006, 10:58
Zajrzyj sobie tutaj: http://www.joomla.pl/pomoc/index.php?searchword=register_globals&option=com_search&Itemid=5