Post by mohandes_fs » Sat Jan 31, 2009 2:03 am

hi to evrybody
I install open cart easily and it dose'nt work probebly it show me this erore on the top of the page:

Warning: ini_set() has been disabled for security reasons in /home/sanlycd/public_html/shop/library/session/session.php on line 24

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/sanlycd/public_html/shop/library/session/session.php:24) in /home/sanlycd/public_html/shop/library/session/session.php on line 25

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sanlycd/public_html/shop/library/session/session.php:24) in /home/sanlycd/public_html/shop/library/session/session.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /home/sanlycd/public_html/shop/library/session/session.php:24) in /home/sanlycd/public_html/shop/library/cart/currency.php on line 43



and I cant go to admin page also i see thise:



Warning: ini_set() has been disabled for security reasons in /home/sanlycd/public_html/shop/library/session/session.php on line 24

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/sanlycd/public_html/shop/library/session/session.php:24) in /home/sanlycd/public_html/shop/library/session/session.php on line 25

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sanlycd/public_html/shop/library/session/session.php:24) in /home/sanlycd/public_html/shop/library/session/session.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /home/sanlycd/public_html/shop/library/session/session.php:24) in /home/sanlycd/public_html/shop/library/environment/response.php on line 23


what can i do to fix it? 8)

Newbie

Posts

Joined
Sat Jan 31, 2009 1:54 am

Post by Qphoria » Sat Jan 31, 2009 2:30 am

A) get a better host
OR
B) Try commenting that line out and see if it works for you:
EDIT:

Code: Select all

library/session/session.php
FIND:

Code: Select all

ini_set('session.hash_function', '0');
REPLACE WITH:

Code: Select all

//ini_set('session.hash_function', '0');
Last edited by Qphoria on Sat Jan 31, 2009 2:33 am, edited 1 time in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by mbi0 » Fri Sep 02, 2011 10:27 am

Just to let every on know, i had same problem ( dont lnow why since it was working ok till today ) and yes it got solved by comenting the lines 7 and 8 of system.php, ty :)

Newbie

Posts

Joined
Tue Jul 26, 2011 10:01 am
Who is online

Users browsing this forum: Semrush [Bot] and 13 guests