Fuel\Core\Database_Exception [ 1146 ]: Table 'clubnew.ostin_redirect_log' doesn't exist [ INSERT INTO `ostin_redirect_log` (`club_user_id`, `created`, `is_authorized`, `code`, `ip`, `user_agent`, `request`) VALUES (null, '2024-03-28 11:57:08', 0, 'open', '35.175.236.44', 'claudebot', '/ref_ostin/?l=https%3A%2F%2Fostin.com%2Fru%2Fru%2F%3Futm_source%3Dmnogoru%26utm_medium%3Dpartner%26utm_campaign%3Dsite') ]
245 { 246 // This benchmark is worthless 247 \Profiler::delete($benchmark); 248 } 249 250 throw new \Database_Exception($this->_connection->error.' [ '.$sql.' ]', $this->_connection->errno); 251 } 252 253 // check for multiresults, we don't support those at the moment 254 while($this->_connection->more_results() and $this->_connection->next_result()) 255 {
251 catch (CacheNotFoundException $e) {} 252 } 253 254 // Execute the query 255 \DB::$query_count++; 256 $result = $db->query($this->_type, $sql, $this->_as_object); 257 258 // Cache the result if needed 259 if (isset($cache) and ($this->_cache_all or $result->count())) 260 { 261 $cache->set_expiration($this->_lifetime)->set_contents($result->as_array())->set();
1145 */ 1146 public function insert() 1147 { 1148 $res = \DB::insert(call_user_func($this->model.'::table'), array_keys($this->values)) 1149 ->values(array_values($this->values)) 1150 ->execute($this->connection); 1151 1152 // Failed to save the new record 1153 if ($res[0] === 0) 1154 { 1155 return false;
1075 $query->set($p, $this->{$p}); 1076 } 1077 } 1078 1079 // Insert! 1080 $id = $query->insert(); 1081 1082 // when there's one PK it might be auto-incremented, get it and set it 1083 if (count($primary_key) == 1 and $id !== false) 1084 { 1085 $pk = reset($primary_key);
1019 } 1020 } 1021 $this->unfreeze(); 1022 1023 // Insert or update 1024 $return = $this->_is_new ? $this->create() : $this->update(); 1025 1026 $this->freeze(); 1027 foreach($this->relations() as $rel_name => $rel) 1028 { 1029 if (array_key_exists($rel_name, $this->_data_relations))
43 'code' => 'open', 44 'is_authorized' => (int) !empty($_SESSION['UserInfo']['id']), 45 'ip' => $_SERVER['REMOTE_ADDR'], 46 'user_agent' => $_SERVER['HTTP_USER_AGENT'], 47 'request' => $_SERVER['REQUEST_URI'], 48))->save(); 49 50if (!empty($_SESSION["UserInfo"]["id"])) { 51 $info = \Model\Partners\Ostin\OstinUsers::get_record(array(array('club_user_id', $_SESSION["UserInfo"]["id"]))); 52 if (!empty($info)) { 53 Model\Partners\Ostin\OstinRedirectLog::forge(array(
487 var_dump(12); 488 @ob_flush(); 489 @flush(); 490} 491 492include_once $DOCUMENT_ROOT . "/templates/$templ"; 493$main_["SID"] = session_name() . "=" . session_id(); 494 495if (!empty($_GET['test_full'])) { 496 var_dump(13); 497 @ob_flush();