Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with register globals


Recommended Posts

I have tried and tried to figure this out but just can't get this to work! I think that if i explain what i've done so far it'll be alot easier to understand!

 

I need to install my website with ssl and fasthosts (my hosting provider) only supply shared ssl space.

So i followed fasthosts instructions to achieve all this by installing oscommerce on both my standard web space and my shared SSL space.

 

Then they tell you to upload register_globals which i did and then add this line of text at the end of the includes\configure.php file:-

 

define('WARN_CONFIG_WRITEABLE','false');

 

So all this is done and when i enter my site and click on the 'Account' link, im redirected to my shared space but it shows up this :-

 

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (e:\sslroot;c:\winnt\temp;) in e:\sslroot\mysecuredspace\includes\functions\sessions.php on line 252

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at e:\sslroot\mysecuredspace\includes\functions\sessions.php:252) in e:\sslroot\mysecuredspace\includes\functions\sessions.php on line 98

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at e:\sslroot\mysecuredspace\includes\functions\sessions.php:252) in e:\sslroot\mysecuredspace\includes\functions\sessions.php on line 98

 

Warning: Cannot modify header information - headers already sent by (output started at e:\sslroot\mysecuredspace\includes\functions\sessions.php:252) in e:\sslroot\mysecuredspace\includes\functions\general.php on line 33

 

 

This is where im really confused and havn't got a clue what to do!! Please can someone help as im going out my mind trying to figure it out!

 

Thanks in advance

 

Steve

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...