Uncaught Exception
Replace Query: in ./__swift/library/Database/class.SWIFT_Database.php:1059
#0 File: ./__swift/models/Session/class.SWIFT_Session.php Line: 558 Function: SWIFT_Database->Replace(swsessions, (, 0, 0, 0, t0s8xiq2nmr9lirvr1tzfiti3p7xhiv4, 100.26.176.111, integer 1721901017, integer 1721901017, CCBot/2.0 (https://commoncrawl.org/faq/), integer 0, integer 40, 0, 543ibixds2o9biyzhmgnnj04pt27jj1q), (sessionid))
553 			if (!empty($_languageCode) && is_dir('./' . SWIFT_BASEDIRECTORY . '/' . SWIFT_LOCALEDIRECTORY . $_languageCode)) {
554 				$_sessionFields['languagecode'] = $_languageCode;
555 			}
556 		}
557 
558 		$_SWIFT->Database->Replace(TABLE_PREFIX . 'sessions', $_sessionFields, array('sessionid'));
559 
560 		echo $_SWIFT->Database->FetchLastError();
561 
562 		$_SWIFT->Cookie->Set('sessionid' . $_interfaceType, $_sessionID);
563 
#1 File: ./__swift/models/Session/class.SWIFT_Session.php Line: 587 Function: SWIFT_Session::Insert(integer 40, integer 0)
582 			throw new SWIFT_Exception(SWIFT_INVALIDDATA);
583 
584 			return false;
585 		}
586 
587 		$_sessionID = self::Insert($_interfaceType, $_typeID);
588 		if (!$_sessionID)
589 		{
590 			throw new SWIFT_Exception(SWIFT_CREATEFAILED);
591 
592 			return false;
#2 File: ./__swift/library/Controllers/class.Controller_client.php Line: 58 Function: SWIFT_Session::InsertAndStart(integer 0)
53                 }
54 
55 		// We dont check the session when loading CSS...
56 		if (!SWIFT_Session::Start($this->Interface)) {
57 			// Failed to load session
58 			if (!SWIFT_Session::InsertAndStart(0))
59 			{
60 				echo 'Failed to load session';
61 				exit;
62 			}
63 		}
#3 File: ./__swift/apps/core/client/class.Controller_Default.php Line: 33 Function: Controller_client->__construct()
28 	 * @author Varun Shoor
29 	 * @return bool "true" on Success, "false" otherwise
30 	 */
31 	public function __construct()
32 	{
33 		parent::__construct();
34 
35 		return true;
36 	}
37 
38 	/**
#4 File: ./__swift/library/MVC/class.SWIFT_Controller.php Line: 333 Function: Controller_Default->__construct()
#5 File: ./__swift/library/App/class.SWIFT_App.php Line: 176 Function: SWIFT_Controller::Load((object) SWIFT_Interface, (object) SWIFT_App_core, (object) SWIFT_Router, FALSE)
#6 File: ./__swift/library/class.SWIFT.php Line: 16 Function: SWIFT_App->ExecuteController((object) SWIFT_Router)
#7 File: ./__swift/library/class.SWIFT.php Line: 16 Function: SWIFT->Initialize()
#8 File: ./__swift/swift.php Line: 16 Function: SWIFT::GetInstance()
#9 File: ./index.php Line: 28 Function: require_once(./__swift/swift.php)
Copy to clipboard: