[Deprecated] Function get_magic_quotes_runtime() is deprecated

GET /co/soporte/technical-video-guides-es-CO/oset-tech-guides-20-0-out-of-the-box-set-up-es-CO/

Line 36 in /home/osetbike/public_html/mysite/code/Site/ip2locationlite.class.php

Source

27 
28 	private function getResult($host, $name){
29 		$ip = @gethostbyname($host);
30 
31 		// if(filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)){
32 		if(filter_var($ip, FILTER_VALIDATE_IP)){
33 			$xml = @file_get_contents('http://' . $this->service . '/' . $this->version . '/' . $name . '/?key=' . $this->apiKey . '&ip=' . $ip . '&format=xml');
34 
35 
36 			if (get_magic_quotes_runtime()){
37 				$xml = stripslashes($xml);
38 			}
39 
40 			try{
41 				$response = @new SimpleXMLElement($xml);
42 

Trace

GET /co/soporte/technical-video-guides-es-CO/oset-tech-guides-20-0-out-of-the-box-set-up-es-CO/

[Notice] Trying to access array offset on value of type null

GET /co/soporte/technical-video-guides-es-CO/oset-tech-guides-20-0-out-of-the-box-set-up-es-CO/

Line 240 in /home/osetbike/public_html/mysite/code/Site/Page.php

Source

231 	{
232 
233 		$visitor = $_SERVER['REMOTE_ADDR'];
234 
235 			$ipLite = new ip2location_lite;
236 
237 			if (!isset($_COOKIE["geolocation"])) {
238 				$ipLite->setKey('7e6adac1e161b5b5277aa7e960f5b84ab4a979674aa8ca969ce724c2cfdb1916');
239 				$visitorGeolocation = $ipLite->getCountry($visitor);
240 				if ($visitorGeolocation['statusCode'] == 'OK') {
241 					$data = base64_encode(serialize($visitorGeolocation));
242 					setcookie("geolocation", $data, time() + 3600 * 24 * 30); //set cookie for 1 month
243 				}
244 			} else {
245 				$visitorGeolocation = unserialize(base64_decode($_COOKIE["geolocation"]));
246 			}

Trace

GET /co/soporte/technical-video-guides-es-CO/oset-tech-guides-20-0-out-of-the-box-set-up-es-CO/

[Notice] Trying to access array offset on value of type null

GET /co/soporte/technical-video-guides-es-CO/oset-tech-guides-20-0-out-of-the-box-set-up-es-CO/

Line 253 in /home/osetbike/public_html/mysite/code/Site/Page.php

Source

244 			} else {
245 				$visitorGeolocation = unserialize(base64_decode($_COOKIE["geolocation"]));
246 			}
247 
248 			//Get errors and locations
249 			$errors = $ipLite->getError();
250 
251 			$locale = substr($this->Locale, -2);
252 
253 			if ((string)$visitorGeolocation['countryCode'] == 'UK') {
254 				(string)$visitorGeolocation['countryCode'] = 'GB';
255 			}
256 
257 			if ((string)$visitorGeolocation['countryCode'] != $locale) {
258 				return true;
259 			} else {

Trace

GET /co/soporte/technical-video-guides-es-CO/oset-tech-guides-20-0-out-of-the-box-set-up-es-CO/

[Notice] Trying to access array offset on value of type null

GET /co/soporte/technical-video-guides-es-CO/oset-tech-guides-20-0-out-of-the-box-set-up-es-CO/

Line 257 in /home/osetbike/public_html/mysite/code/Site/Page.php

Source

248 			//Get errors and locations
249 			$errors = $ipLite->getError();
250 
251 			$locale = substr($this->Locale, -2);
252 
253 			if ((string)$visitorGeolocation['countryCode'] == 'UK') {
254 				(string)$visitorGeolocation['countryCode'] = 'GB';
255 			}
256 
257 			if ((string)$visitorGeolocation['countryCode'] != $locale) {
258 				return true;
259 			} else {
260 				return false;
261 			}
262 
263 	}

Trace

OSET Tech Guides - 20.0 'out of the box set up' - OSET Bikes Colombia

OSET Tech Guides - 20.0 'out of the box set up'

This video shows how to set up your OSET 20.0 from straight out of the box. This would form part of the PDI (pre delivery inspection) that an accredited dealer would perform.