Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 - 5 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Globals
by Peekay on 2006/11/21 11:14:41

Xoops itself doesn't require register_globals to be on.

If you have globals 'off' and a module will run (but not properly) you can sometimes hack it by switching on PHP debug in Xoops, taking note of the 'undefined variable' notices and defining those vars in the code.

I did this recently with a classified ads module. My notes are in this post if they are of any help. Sometimes just a few changes can fix it, but sometimes not.

If you don't want to hack the module code, you *may* be able to override your default server settings with an htaccess file containing the command:

le="color: #000000"><?php php_flag register_globals on


It's worth a try, but many hosts and Apache server configurations do not allow this.
Re: Globals
by frankblack on 2006/11/21 11:06:21

XOOPS (core) itself does not need register_globals to be on, but some of the older modules (some not maintained anymore) need it. Most of the modules should work with off.

If you want to be on the "safe" side you have to hack these modules to be working with off. IMHO there is no quick AND safe solution for this.
Globals
by tapto on 2006/11/21 10:20:37

I have noticed that quite some modules require register globals = on.

Does XOOPS requiere this parameter to be on ?

Any suggeted workaround to avoid this setting ?

Who's Online

203 user(s) are online (171 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits