фото
_____
Error 'array_diff_key() [function.array-diff-key]: Argument #1 is not an array' at /www/vitruk/www/htdocs/include/irokez/Data/DataModule.php:637 - $data = array_diff_key($this->db->fetch(), array_combine($sys_fields, $sys_fields));
Trace:
#1: ?
#2: /www/vitruk/www/htdocs/include/irokez/Data/DataModule.php:637 - $data = array_diff_key($this->db->fetch(), array_combine($sys_fields, $sys_fields));
#3: /www/vitruk/www/htdocs/handlers/tags/block/tag.php:63 - $section = $Sections->select('*', SQL::quote('handler = ?', 'gallery'), 'rand()', 1);
#4: /www/vitruk/www/htdocs/handlers/tags/block/tag.php:16 - return $this->$method($params);
#5: /www/vitruk/www/htdocs/include/cherokee/Template.php:219 - $content = $tag->handle($arguments);
#6: /www/vitruk/www/htdocs/include/cherokee/Template.php(76) : eval()'d code:47 - 
#7: /www/vitruk/www/htdocs/include/cherokee/Template.php:76 - if (eval('?>' . $template) === false) {
#8: /www/vitruk/www/htdocs/include/cherokee/Template.php:248 - return $this->compile_template($template);
#9: /www/vitruk/www/htdocs/handlers/static/default/index/controller.php:43 - return $this->T->return_template('templates.pages.home');
#10: /www/vitruk/www/htdocs/include/cherokee/Router.php:149 - $content = $controller->$name();
#11: /www/vitruk/www/htdocs/include/cherokee/Router.php:111 - $content = $this->callController($controller);
#12: /www/vitruk/www/htdocs/loader.php:36 - echo $Router->route();
Error 'Undefined index:  id' at /www/vitruk/www/htdocs/handlers/tags/block/tag.php:67 - $this->T->images = $Gallery->select('*', SQL::quote('section = ?', $section['id']), 'rand()', '0:7');
Trace:
#1: /www/vitruk/www/htdocs/handlers/tags/block/tag.php:67 - $this->T->images = $Gallery->select('*', SQL::quote('section = ?', $section['id']), 'rand()', '0:7');
#2: /www/vitruk/www/htdocs/handlers/tags/block/tag.php:16 - return $this->$method($params);
#3: /www/vitruk/www/htdocs/include/cherokee/Template.php:219 - $content = $tag->handle($arguments);
#4: /www/vitruk/www/htdocs/include/cherokee/Template.php(76) : eval()'d code:47 - 
#5: /www/vitruk/www/htdocs/include/cherokee/Template.php:76 - if (eval('?>' . $template) === false) {
#6: /www/vitruk/www/htdocs/include/cherokee/Template.php:248 - return $this->compile_template($template);
#7: /www/vitruk/www/htdocs/handlers/static/default/index/controller.php:43 - return $this->T->return_template('templates.pages.home');
#8: /www/vitruk/www/htdocs/include/cherokee/Router.php:149 - $content = $controller->$name();
#9: /www/vitruk/www/htdocs/include/cherokee/Router.php:111 - $content = $this->callController($controller);
#10: /www/vitruk/www/htdocs/loader.php:36 - echo $Router->route();
Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? group by `id` order by rand() limit 0, 7' at line 6
select `m`.*, `t`.*, `c`.*, ('') or (c.`owner` = 0) or (v.view is not null and v.view) as `view`, ('') or (c.`owner` = 0) or (e.modify is not null and e.modify) as `modify`, ('') or (c.`owner` = 0) or (a.admin is not null and a.admin) as `admin` from `gallery` as `m`
 left join `gallery_trans` as `t` on (t.item = m.id and t.language = 1)
 left join `common` as `c` on (c.item = m.id and c.module = 'gallery')
 left join `access` as `v` on (v.`item` = m.`id` and v.`module` = 'gallery' and v.`group` = 0)
 left join `access` as `e` on (e.`item` = m.`id` and e.`module` = 'gallery' and e.`group` = 0)
 left join `access` as `a` on (a.`item` = m.`id` and a.`module` = 'gallery' and a.`group` = 0) where section = ? group by `id` order by rand() limit 0, 7
Error 'fopen(/www/vitruk/www/htdocs/include/cherokee/Template.php(76) : eval()'d code) [function.fopen]: failed to open stream: No such file or directory' at /www/vitruk/www/htdocs/include/lib/file.php:19 - if ($f = fopen($file, 'rb')) {
Trace:
#1: ?
#2: /www/vitruk/www/htdocs/include/lib/file.php:19 - if ($f = fopen($file, 'rb')) {
#3: /www/vitruk/www/htdocs/include/cherokee/Error.php:78 - $trace .= trim(file::get_line($info['file'], $info['line'])) . "\n";
#4: /www/vitruk/www/htdocs/include/cherokee/DB/Database.php:138 - echo Framework::get_object('Error')->trace();
#5: /www/vitruk/www/htdocs/include/cherokee/DB/Database.php:213 - $this->error('Error ' . $errno . ': ' . $error . '
' . describe($this->query)); #6: /www/vitruk/www/htdocs/include/irokez/Data/DataModule.php:631 - $this->db->query($select->__toString()); #7: /www/vitruk/www/htdocs/handlers/tags/block/tag.php:67 - $this->T->images = $Gallery->select('*', SQL::quote('section = ?', $section['id']), 'rand()', '0:7'); #8: /www/vitruk/www/htdocs/handlers/tags/block/tag.php:16 - return $this->$method($params); #9: /www/vitruk/www/htdocs/include/cherokee/Template.php:219 - $content = $tag->handle($arguments); #10: /www/vitruk/www/htdocs/include/cherokee/Template.php(76) : eval()'d code:47 - #11: /www/vitruk/www/htdocs/include/cherokee/Template.php:76 - if (eval('?>' . $template) === false) { #12: /www/vitruk/www/htdocs/include/cherokee/Template.php:248 - return $this->compile_template($template); #13: /www/vitruk/www/htdocs/handlers/static/default/index/controller.php:43 - return $this->T->return_template('templates.pages.home'); #14: /www/vitruk/www/htdocs/include/cherokee/Router.php:149 - $content = $controller->$name(); #15: /www/vitruk/www/htdocs/include/cherokee/Router.php:111 - $content = $this->callController($controller); #16: /www/vitruk/www/htdocs/loader.php:36 - echo $Router->route();
Trace: #1: /www/vitruk/www/htdocs/include/cherokee/DB/Database.php:213 - $this->error('Error ' . $errno . ': ' . $error . '
' . describe($this->query)); #2: /www/vitruk/www/htdocs/include/irokez/Data/DataModule.php:631 - $this->db->query($select->__toString()); #3: /www/vitruk/www/htdocs/handlers/tags/block/tag.php:67 - $this->T->images = $Gallery->select('*', SQL::quote('section = ?', $section['id']), 'rand()', '0:7'); #4: /www/vitruk/www/htdocs/handlers/tags/block/tag.php:16 - return $this->$method($params); #5: /www/vitruk/www/htdocs/include/cherokee/Template.php:219 - $content = $tag->handle($arguments); #6: /www/vitruk/www/htdocs/include/cherokee/Template.php(76) : eval()'d code:47 - #7: /www/vitruk/www/htdocs/include/cherokee/Template.php:76 - if (eval('?>' . $template) === false) { #8: /www/vitruk/www/htdocs/include/cherokee/Template.php:248 - return $this->compile_template($template); #9: /www/vitruk/www/htdocs/handlers/static/default/index/controller.php:43 - return $this->T->return_template('templates.pages.home'); #10: /www/vitruk/www/htdocs/include/cherokee/Router.php:149 - $content = $controller->$name(); #11: /www/vitruk/www/htdocs/include/cherokee/Router.php:111 - $content = $this->callController($controller); #12: /www/vitruk/www/htdocs/loader.php:36 - echo $Router->route();
Error 'mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource' at /www/vitruk/www/htdocs/include/cherokee/DB/Database.php:272 - $data = mysql_fetch_assoc(end($this->result));
Trace:
#1: ?
#2: /www/vitruk/www/htdocs/include/cherokee/DB/Database.php:272 - $data = mysql_fetch_assoc(end($this->result));
#3: /www/vitruk/www/htdocs/include/irokez/Data/DataModule.php:643 - while ($row = $this->db->fetch()) {
#4: /www/vitruk/www/htdocs/handlers/tags/block/tag.php:67 - $this->T->images = $Gallery->select('*', SQL::quote('section = ?', $section['id']), 'rand()', '0:7');
#5: /www/vitruk/www/htdocs/handlers/tags/block/tag.php:16 - return $this->$method($params);
#6: /www/vitruk/www/htdocs/include/cherokee/Template.php:219 - $content = $tag->handle($arguments);
#7: /www/vitruk/www/htdocs/include/cherokee/Template.php(76) : eval()'d code:47 - 
#8: /www/vitruk/www/htdocs/include/cherokee/Template.php:76 - if (eval('?>' . $template) === false) {
#9: /www/vitruk/www/htdocs/include/cherokee/Template.php:248 - return $this->compile_template($template);
#10: /www/vitruk/www/htdocs/handlers/static/default/index/controller.php:43 - return $this->T->return_template('templates.pages.home');
#11: /www/vitruk/www/htdocs/include/cherokee/Router.php:149 - $content = $controller->$name();
#12: /www/vitruk/www/htdocs/include/cherokee/Router.php:111 - $content = $this->callController($controller);
#13: /www/vitruk/www/htdocs/loader.php:36 - echo $Router->route();

Посмотреть все работы