Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

getting 2 Error messages Please help


ty74403

Recommended Posts

Posted

Hi I am getting 2 error messages Please help me get it fixed.

here they are:

Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid is 32152 is not allowed to access owned by uid 0 in /home/ty74403/public_html/oscommerce/includes/functions/sessions.php on line 118

 

And

 

Warning: Cannot modify header information - headers already sent by (output started at /home/ty74403/public_html/oscommerce/includes/functions/sessions.php:118) in /home/ty74403/public_html/oscommerce/includes/functions/general.php on line 1174

 

Thanks

Posted

The second error is caused by the first. To remove the first error edit the last line of both configure.php files to read 'mysql' where indicated, and this will store sessions in the database and not in a tmp folder.

 

Vger

Posted
The second error is caused by the first.  To remove the first error edit the last line of both configure.php files to read 'mysql' where indicated, and this will store sessions in the database and not in a tmp folder.

 

Vger

 

Thanks for your help. :c)

Can I do this in the ctrl pannle? Or do I

 

have to do it in the file?... If so where are both config files located? I found 1 in the oscommerce admin dir.

I really thank you for the help :c)

Posted

includes/configure.php

admin/includes/configure.php

 

Read the 'Parse Error?' link below my name for how to edit files.

 

Vger

Posted
includes/configure.php

admin/includes/configure.php

 

Read the 'Parse Error?' link below my name for how to edit files.

 

Vger

 

Thanks, just so you know I used Fantastico to set it up so I don't know how to set the config file to 777 lol, But I will figuer it out.

:c)

Posted
Thanks, just so you know I used Fantastico to set it up so I don't know how to set the config file  to 777 lol, But I will figuer it out.

:c)

 

Ok i did this both files, the last line reads like this:

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

But I am still getting errors.

Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid is 32152 is not allowed to access owned by uid 0 in /home/ty74403/public_html/oscommerce/includes/functions/sessions.php on line 118

 

Warning: Cannot modify header information - headers already sent by (output started at /home/ty74403/public_html/oscommerce/includes/functions/sessions.php:118) in /home/ty74403/public_html/oscommerce/includes/functions/general.php on line 1174

 

Sorry to be such a noob :o}

Thanks

Posted

You've got two threads running on this, and you only need one.

 

Posting multiple threads on the same problem is against forum rules and wastes people's time.

 

Vger

Posted
You've got two threads running on this, and you only need one.

 

Posting multiple threads on the same problem is against forum rules and wastes people's time.

 

Vger

I'm sorry I had another error in the other thred if you care to look.

And again thanks for your help. It seems I am stuck in some kind of safe mode and I can't uninstall the program now. I installed the program while the domain servers were still trying to park my domain. I may have incurred a glitch there. At any rate I will get in touch with the webserver and have them try to get it resalved.

Archived

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

×
×
  • Create New...