Jump to content

$sessionDomain = substr($GLOBALS['rootRel'],0, strle


Guest dallas82221

Recommended Posts

Guest dallas82221

I have gotten this fare but now I get this error:

Warning: session_start(): open(/tmp/php-ses/sess_e662d5e305a65a3918fd4409a4d27b9f, O_RDWR) failed: No such file or directory (2) in /nfs/cust/2/49/84/648942/web/includes/sessionStart.inc.php on line 42

and also:

1146: Table 'lititzre.CubeCart_cats_lang' doesn't exist

QUERY = SELECT cat_master_id as cat_id, cat_name FROM CubeCart_cats_lang WHERE cat_lang = 'en'

All other tables I got to create after having to change alot of the PHP statements.

Stumped now can someone PLEASE help

Here is my script for the top error and if someone has a script I can pasts to create the other table I would be forever grateful:)

/*

+--------------------------------------------------------------------------

| CubeCart v3.0.12

| ========================================

| by Alistair Brookbanks

| CubeCart is a Trade Mark of Devellion Limited

| Copyright Devellion Limited 2005 - 2006. All rights reserved.

| Devellion Limited,

| 22 Thomas Heskin Court,

| Station Road,

| Bishops Stortford,

| HERTFORDSHIRE.

| CM23 3EE

| UNITED KINGDOM

| http://www.devellion.com

| UK Private Limited Company No. 5323904

| ========================================

| Web: http://www.cubecart.com

| Date: Thursday, 17th August 2006

| Email: sales (at) cubecart (dot) com

| License Type: CubeCart is NOT Open Source Software and Limitations Apply

| Licence Info: http://www.cubecart.com/site/faq/license.php

+--------------------------------------------------------------------------

| session.php

| ========================================

| Core Session Management

+--------------------------------------------------------------------------

$directory = realpath($_SERVER['DOCUMENT_ROOT'].'tmp/');

session_save_path( $directory );

*/

$sessionDomain = substr($GLOBALS['rootRel'],0, strlen($GLOBALS['rootRel'])-1);

if($glob['rootRel']=="/"){

$sessionName = "ccSID";

} else {

$sessionName = "ccSID-".md5($glob['rootRel']);

}

session_name($sessionName);

@ini_set("session.cookie_path",$sessionDomain);

session_start();

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
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...