MySQL server has gone away
Error Nr.: 2006
Query:
SELECT *
FROM `sys_files`
WHERE
(trash, active) = (0,1) AND
`module` = 'product' AND
`record_id` = '220' AND
`key` IS NULL
ORDER BY `order` ASC
in sys/class/mysql.php on line 114
sys/custom/library.php
getFirst('
		SELECT * 
		FROM files 
		WHERE 
			(trash, active) = (0,1) AND 
			 AND 
			 AND
			`key` IS NULL
		ORDER BY `order` ASC
	', Array
    (
        [module] => product
        [record_id] => 220
        [key] => 
    )
)
25             ".($key ? "<<key>>" : "`key` IS NULL")."
26         ORDER BY `order` ASC
27     ", array(
28         'module' => $module,
29         'record_id' => $record_id,
30         'key' => $key
31     ));
32     if($image) {
33         $image['filepath'] = 'upload/product/'.$image['record_id'].($key ? '_'.$image['key'] : '').'_'.$image['id'].'.'.$image['type'];
34         return $image;
35     }
page/bestellung-warenkorb.php
getImage('220', 'product')
56         </tr>
57 <?
58         foreach($_SESSION['warenkorb']['produkte'] as $key => $val) {
59             $summe = $val['price'] * $val['menge'];
60             $gesamtsumme += $summe;
61             $image = getImage($val['id'], 'product');
62 
63             $title = $val['titel'];
64             if(preg_match('/^([0-9]+\s[a-z]+){1}$/', $val['konfektion_menge'], $matches))
65                 $title .= ' - '.$matches[1];
66             if($temp = herstellerkonfektion(false, $val['konfektion']))
sys/template.php
include('/www/htdocs/w01a2832/projekte/kunden/shop.dolcevitahotels.com/page/bestellung-warenkorb.php')
08 
09 // Die Seite wird geladen und in Variable gespeichert
10 $debug->timeStart('template page');
11 if(SYS_AMP && file_exists_cache($ampfile = str_replace('.php', '.amp.php', $include)))
12     $include = $ampfile;
13 include($include);
14 $debug->timeEnd('template page');
15 $page = trim(ob_get_clean());
16 
17 // Neuer Ausgabe Buffer wird gestartet
18 ob_start('ob_gzhandler');
sys/library.php
include('/www/htdocs/w01a2832/projekte/kunden/shop.dolcevitahotels.com/sys/template.php')
2077  */
2078 function sys_template($include) {
2079     extract($GLOBALS, EXTR_SKIP);
2080     if(!file_exists_cache($include))
2081         $include = 'template/sys/404.php';
2082     include('sys/template.php');
2083 }
2084 
2085 /**
2086  * @version 1.0.2
2087  */
router.php
sys_template('page/bestellung-warenkorb.php')
24 
25     header('Content-Language: '.SYS_LANG);
26 
27     // URL Rewrite
28     if((SYS_URL == '/'.SYS_LANG.'/'.sys_var('navigation/urlrewrite/'.SYS_NAV.'/'.$sys_url['lang']) || strpos(SYS_NAV, '?')) && file_exists_cache(sys_var('navigation/active/file'))) {
29         sys_template(sys_var('navigation/active/file'));
30     // Sprachordner
31     } elseif($sys_url['lang'] == SYS_LANG && !$sys_url['site']) {
32         if($_SERVER['QUERY_STRING']) $_SERVER['QUERY_STRING'] = '?'.$_SERVER['QUERY_STRING'];
33         header_location(sys_var('menu/?/'.sys_var('navigation/default').'/url'));
34     // Shortlinks
index.php
include('/www/htdocs/w01a2832/projekte/kunden/shop.dolcevitahotels.com/router.php')
20 ob_start();
21 
22 session_name(str_replace(array('www.', '.'), '', $_SERVER['HTTP_HOST']));
23 @session_start();
24 
25 include('router.php');
26 
27 $debug->end($_GET['sys']);

Root Pfad: /www/htdocs/w01a2832/projekte/kunden/shop.dolcevitahotels.com/
Request URL: /de/warenkorb?p=355&t=0.09645900+1780528811
Referer URL:
Post Variablen: Array ( )