Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect

Posted: July 16, 2010 in oscommerce
Tags: , , , , ,

fix this issue Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect.

function tep_session_save_path($path = ”) {
if (STORE_SESSIONS != ‘mysql’) { // added this line to turn off this checking if storing session info in db
if (!empty($path)) {
return session_save_path($path);
} else {
return session_save_path();
}
}
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s