MySQLi Error: #3<div style="float:right;margin-bottom:-35px;"> [localhost]</div>
MySQLi Error: #3
[localhost]
MySQLi Error: #3
[localhost]
Error writing file '/tmp/MYuUfNWF' (Errcode: 28)
Invalid SQL query:
SELECT id, login, firstname, lastname, country, city_name, main_photo FROM users u LEFT JOIN users_profile up ON up.setid=u.id WHERE active=1 AND type=1 AND company='' ORDER BY main_photo DESC, id DESC LIMIT 0, 20
Debug Backtrace:
8) /home/admin/web/djrankings.org/public_html/tpls/dj/classes/MyClass.php on line 4489
DB::getAll('SELECT id, login, fi... id DESC LIMIT 0, 20', false, array(2));
4485)    }
4486) 
4487)     $sql = 'SELECT id, login, firstname, lastname, country, city_name, main_photo FROM '.DB_PREFIX.'users u LEFT JOIN '.DB_PREFIX.'users_profile up ON up.setid=u.id WHERE active=1'.$f.' ORDER BY main_photo DESC, id DESC LIMIT '.$this->offset.', '.$this->limit.'';
4488)     $data = array();
4489)     $data['list'] = DB::getAll($sql,false,array($this,'getUser'));
4490)     $this->total = DB::one('SELECT COUNT(1) FROM '.DB_PREFIX.'users u LEFT JOIN '.DB_PREFIX.'users_profile up ON up.setid=u.id WHERE active=1'.$f);
4491)     $data['pager'] = Pager::get(array(
4492)       'total'  => $this->total,
4493)       'limit'  => $this->limit,
4494)       'page'  => $this->page
4495)     ));
7) /home/admin/web/djrankings.org/public_html/tpls/dj/classes/MyClass.php on line 5268
MyClass::users();
5264)        $this->contact();
5265)         Factory::call('content')->setLimit(10)->setOrder('dated DESC, sort, id DESC')->setFilter('')->getContent();
5266)       break;
5267)       case 'unranked_djs':
5268)         $this->users();
5269)         $this->display('pages/unranked_djs.tpl');
5270)       break;
5271)       case '':
5272)       case URL_KEY_HOME:
5273)         $this->main();
5274)         $this->Index->Smarty->display('pages/DJ.tpl');
6) /home/admin/web/djrankings.org/public_html/mod/Mainarea.php on line 86
MyClass::page();
82)    $this->mainarea = true;
83)     $params = array();
84)     if (SITE_TYPE!='ajax') echo '<div id="center-area">'; // <-- do not remove, needed for ajax container in the middle
85)     if ($this->show('ajax_header') && ($this->show('header') || Site::$ajax) && is_file(FTP_DIR_TPL.'ajax_header.tpl') && url(0)!='crm') $this->displayFile('ajax_header.tpl');
86)     $this->My->page();
87)     if ($this->content && $this->content['keywords']) {
88)       $this->setVar('keywords',html($this->vars['keywords'].', '.$this->content['keywords']));
89)     }
90)     if (!$this->mainarea) {
91)       header('HTTP/1.0 404 Not Found');
92)       if (!$this->tree) $this->setVar('title',html(lang('_404 - page not found')));
5) /home/admin/web/djrankings.org/public_html/mod/Mainarea.php on line 149
Mainarea::printMain();
145)      //  if (!Site::$mini) $this->My->showTopMessage(false);
146)         $this->displayFile('header'.$this->My->prefix().'.tpl');
147)       }
148)       if ($this->show('main')) {
149)         $this->printMain();
150)       }
151)       if ($this->show('footer')) {
152)         $this->displayFile('footer'.$this->My->prefix().'.tpl');
153)       }
154)     }
155)     if ($this->show('head') && !Site::$ajax) {
4) /home/admin/web/djrankings.org/public_html/mod/Mainarea.php on line 115
Mainarea::ajaxel();
3) /home/admin/web/djrankings.org/public_html/inc/Index.php on line 235
Mainarea::printIndex();
2) /home/admin/web/djrankings.org/public_html/inc/Site.php on line 249
Index::document();
1) /home/admin/web/djrankings.org/public_html/index.php on line 54
Site::init();
Ajaxel CMS v8.1