Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

no access to php.ini help


big cod

Recommended Posts

Posted

Hi all

 

I've slight problem , I'm getting the message warning at the bottom of the screen when I go to paypal.

 

Warning: session_write_close() [function.session-write-close]: 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 e:\sslroot\gforce-rc\catalog\includes\functions\sessions.php on line 197

TAG session.bug_compat_42 or session.bug_compat_warn.

 

 

 

My ISP doesn't allow me to change the php.ini file any ideas how I can remove this warning ? I've applied the register globals patch and all seems to work fine apart from this warning. I'm using shared ssl hosting :-(

 

 

Andy.

Posted
Hi all

 

I've slight problem , I'm getting the message warning at the bottom of the screen when I go to paypal.

 

Warning: session_write_close() [function.session-write-close]: 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 e:\sslroot\gforce-rc\catalog\includes\functions\sessions.php on line 197

TAG session.bug_compat_42 or session.bug_compat_warn.

My ISP doesn't allow me to change the php.ini file any ideas how I can remove this warning ? I've applied the register globals patch and all seems to work fine apart from this warning. I'm using shared ssl hosting :-(

Andy.

Did you do this?

 

You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in e:\sslroot\gforce-rc\catalog\includes\functions\sessions.php on line 197

Posted
Did you do this?

 

You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in e:\sslroot\gforce-rc\catalog\includes\functions\sessions.php on line 197

 

Hey Baddog , cheers for the reply

Unfortunatly its not that easy

the file its pointing to (sessions.php)is where the function (session_write_close) has been called from.

. The session_write_close function is generating the warning. The warning needs turning off in the php.ini file as they are being generated by the php function. I've a strict ISP which I wont let me have access to the php.ini. ahhh.

Posted
Hey Baddog , cheers for the reply

Unfortunatly its not that easy

the file its pointing to (sessions.php)is where the function (session_write_close) has been called from.

. The session_write_close function is generating the warning. The warning needs turning off in the php.ini file as they are being generated by the php function. I've a strict ISP which I wont let me have access to the php.ini. ahhh.

If you look at some of the posts relating to Register Globals, you will see references to placing php.ini files in your directories and references to changing the settings with .htaccess files placed in the directories. Maybe one of those methds would work. I'll assume you do not have SSH access to the server files.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...