Forumlar / Cotonti / Support / 0.06 search error

musashi9
#1 2009-07-17 08:50
After updating I am getting this error on the search page

Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

where do I set this?
Lombi
#2 2009-07-17 08:52
You need to finally upgrade to PHP5. Mail host, tell them to get in touch with time. (or say please upgrade this account from php4 to php5, thank tyou for your consideration)

Any other things would need to seriously hack into the servers' php.ini which either means you need to be running a VPS or a dedicated server.

In any case register_globals should be off since this is a huge security hole
and you can turn it off if it isnt already inside of .htaccess (file not there? make one)


put that in the file:


php_flag register_globals off
<a href="http://www.domenlo.com">Surreal Art</a>

Bu konu Lombi tarafından düzenlendi(2009-07-17 09:00, 14 yıllar önce)
musashi9
#3 2009-07-17 09:00
I am on 5
"The current PHP version running is PHP 5.0."
I have been using contonti for a good few months now
Lombi
#4 2009-07-17 09:01
Upgrade to 5.2.x or 5.3, also check my edited reply please.
<a href="http://www.domenlo.com">Surreal Art</a>
musashi9
#5 2009-07-17 09:05
hmmm this is a nightmare how do I go back to 0.0.5
even my flash BB code I added has stopped working
Lombi
#6 2009-07-17 09:12
Well no easy way, but to reverse-engineer the SQL upgrade file. It would be much easier to find out what's causing the errors. Please tell us more about the errors and dont forget to mention your site....
<a href="http://www.domenlo.com">Surreal Art</a>
musashi9
#7 2009-07-17 09:19
I set session.bug_compat_warn to off, and the error msg went away
register_globals was already set to off

Bu konu musashi9 tarafından düzenlendi(2009-07-17 09:47, 14 yıllar önce)