PHP register_globals setting is `ON` instead of `OFF`

Moderators: cicans, TheHacker

Locked
Harley
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Aug 01, 2007 11:09 am

PHP register_globals setting is `ON` instead of `OFF`

Post by Harley » Wed Aug 01, 2007 11:25 am

kako da iskljucim ovo za ime boga?  ???

bilo je josh nekih zezalica i sve sam ih iskljucila, ali ovo zaman.. nikako...  :-\

User avatar
Leftfield
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4432
Joined: Fri Dec 08, 2006 3:33 am
Contact:

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by Leftfield » Wed Aug 01, 2007 1:08 pm

Dobrodosla na forum :)

Vec smo o tome :). Elem, sta si sve pokusala da izgasis?
Joomla Templates and Plugins /https://youjoomla.com/

User avatar
BSD
Joomla! Ace
Joomla! Ace
Posts: 1948
Joined: Thu Aug 18, 2005 8:32 am
Location: Belgrade, Serbia
Contact:

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by BSD » Wed Aug 01, 2007 7:46 pm

Ovo smo prezvakali jedno dvesta puta. Search je tako cool opcija na ovom forumu.:)
Marko Milenović
Member of the Serbian Joomla! Translation Team
http://www.joomla-serbia.com/

Harley
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Aug 01, 2007 11:09 am

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by Harley » Wed Aug 01, 2007 9:42 pm

Leftfield wrote: Dobrodosla na forum :)

Vec smo o tome :). Elem, sta si sve pokusala da izgasis?
hvala  :)

a gde ste o tome? :-\
BSD wrote: Ovo smo prezvakali jedno dvesta puta. Search je tako cool opcija na ovom forumu.:)
pa nisam nashla nigde  :-\

da sam nashla, ne bi smarala...

User avatar
Leftfield
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4432
Joined: Fri Dec 08, 2006 3:33 am
Contact:

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by Leftfield » Wed Aug 01, 2007 9:55 pm

Odje mozes naci ponesto: http://www.joomlamontenegro.com/tutorij ... desavanja/

A da ne bude opet, to se pitanje razradilo do iskonskog bola  ;)
Joomla Templates and Plugins /https://youjoomla.com/

Harley
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Aug 01, 2007 11:09 am

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by Harley » Thu Aug 02, 2007 8:51 am

I love you people  :D

trazila sam taj php.ini kao blesava...  :laugh:

gorki
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 149
Joined: Tue Mar 06, 2007 11:13 am

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by gorki » Thu Aug 30, 2007 3:47 pm

Dato uputstvo odnosi se na joomla 1.0.12 i njen globals.php fajl.

kod verzije 1.0.13 je globals.php nesto drugaciji i u liniji 24 se nalazi ovo
24. if( defined( 'RG_EMULATION' ) === false ) {
25. // The configuration file is old so default to on
26. define( 'RG_EMULATION', 1 );
27.    }
promenom linije 26 na 0 nista se ne desava i da li je dalji postupak kao sto je objasnjeno ili je drugaciji?

takodje u configuration.php fajlu verzije 1.0.13 u drugom redu stoji
if(!defined('RG_EMULATION')) { define( 'RG_EMULATION', 0 ); }
Da li ovo nesto menja sa postupkom eliminisanja crvenog iritirajuceg teksta :)
Last edited by gorki on Thu Aug 30, 2007 3:53 pm, edited 1 time in total.

User avatar
Leftfield
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4432
Joined: Fri Dec 08, 2006 3:33 am
Contact:

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by Leftfield » Thu Aug 30, 2007 3:59 pm

Kad je Joomla! 1.0.13 u pitanju jesi li gledao u bekend?  ;)
Dzumlaj malo :)
Joomla Templates and Plugins /https://youjoomla.com/

gorki
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 149
Joined: Tue Mar 06, 2007 11:13 am

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by gorki » Thu Aug 30, 2007 4:45 pm

pa bas i nisam istini za volju :) instalirao i krenuo da resim to kad ono nece. Vidim sad da ima podesavanje ali ono je vec posavljeno na off a kad promenim onda imam dve crvene poruke, stim da je druga
Register Globals Emulation
a ne Register_globals settings

Sta sad raditi?
Last edited by gorki on Thu Aug 30, 2007 5:00 pm, edited 1 time in total.

User avatar
BSD
Joomla! Ace
Joomla! Ace
Posts: 1948
Joined: Thu Aug 18, 2005 8:32 am
Location: Belgrade, Serbia
Contact:

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by BSD » Thu Aug 30, 2007 5:07 pm

Emulacija je nesto sto sama Joomla! koristi zbog nekih komponenti koje ti garant nemas. Dakle, da ne bude ponovo "o ovome smo vec pricali" evo jos jednom objanjenje:

1) U omiljenom editoru za HTML otvori globals.php
2) Nadjes red 27 koji izgleda ovako: define( 'RG_EMULATION', 1 );
3) Izmenis to 1 u 0 i sacuvas.
4) Postavis na sajt i gle..nema vise upozorenja.:)

;)
Marko Milenović
Member of the Serbian Joomla! Translation Team
http://www.joomla-serbia.com/

gorki
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 149
Joined: Tue Mar 06, 2007 11:13 am

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by gorki » Thu Aug 30, 2007 6:15 pm

Uradio i nista se nije promenilo

gorki
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 149
Joined: Tue Mar 06, 2007 11:13 am

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by gorki » Thu Aug 30, 2007 8:53 pm

Problem je resen  ;D

dodat je php.ini fajl u root i u direktorijum administrator, te svaki pod direktorijum direktorijuma administrator
register_globals = Off
;)

User avatar
BSD
Joomla! Ace
Joomla! Ace
Posts: 1948
Joined: Thu Aug 18, 2005 8:32 am
Location: Belgrade, Serbia
Contact:

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by BSD » Thu Aug 30, 2007 11:27 pm

Hmm..to onda nije RG emulacija nego RG na serveru.;)
Marko Milenović
Member of the Serbian Joomla! Translation Team
http://www.joomla-serbia.com/

gorki
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 149
Joined: Tue Mar 06, 2007 11:13 am

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by gorki » Fri Aug 31, 2007 6:55 am

Jeste na serveru je instaliran PHPSuExec i rekose da se jedino sa php.ini to moze resiti.

User avatar
BSD
Joomla! Ace
Joomla! Ace
Posts: 1948
Joined: Thu Aug 18, 2005 8:32 am
Location: Belgrade, Serbia
Contact:

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by BSD » Fri Aug 31, 2007 9:33 am

Da, ali to nije RG emulacija.:)
Marko Milenović
Member of the Serbian Joomla! Translation Team
http://www.joomla-serbia.com/

tunta
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Jan 26, 2007 1:20 am

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by tunta » Sat Sep 01, 2007 12:33 am

Meni se isti problem pojavio na svim sajtovima na kojima sam presao na Joomla! 1.0.13 . Takodje sam probao navedene savete, ali bez rešenja. Na Slovenačkom podforumu sam pronašao da treba u fajl .haccess  upisati php_flag register_globals off
:) Više se ne pojavljuje  :)

gorki
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 149
Joined: Tue Mar 06, 2007 11:13 am

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by gorki » Sat Sep 01, 2007 3:08 am

BSD wrote: Da, ali to nije RG emulacija.:)
Hteo sam reci, jeste RG na serveru ali ispalo kao da ti kontriram  :D sorry  ;D

dadotodad
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Jun 02, 2007 6:35 pm

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by dadotodad » Sat Sep 01, 2007 11:04 am

tunta wrote: Meni se isti problem pojavio na svim sajtovima na kojima sam presao na Joomla! 1.0.13 . Takodje sam probao navedene savete, ali bez rešenja. Na Slovenačkom podforumu sam pronašao da treba u fajl .haccess  upisati php_flag register_globals off
:) Više se ne pojavljuje  :)
I meni isto. :) Samo sam to dodao u .haccess i funkcionise i bez php.ini fajlova. Da li je to uredu sada?

User avatar
BSD
Joomla! Ace
Joomla! Ace
Posts: 1948
Joined: Thu Aug 18, 2005 8:32 am
Location: Belgrade, Serbia
Contact:

Re: PHP register_globals setting is `ON` instead of `OFF`

Post by BSD » Sat Sep 01, 2007 12:36 pm

To sve zavisi da li vam je PHP kompajliran kao CGI ili modul. Jedno zahteva sopstveni php.ini a drugo .htaccess.
Marko Milenović
Member of the Serbian Joomla! Translation Team
http://www.joomla-serbia.com/


Locked

Return to “Bezbednost”