Шестеренка "Новости" / Баг-трекер / cogear - система управления сайтами, бесплатная cms для социальной сети http://cogear.ru/shesterenka-novosti-449.html/ ru http://cogear.ru http://cogear.ru/templates/cogear/img/logo.png cogear - система управления сайтами, бесплатная cms для социальной сети <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7861 http://cogear.ru/shesterenka-novosti-449.html#comment-7861 Varhal Sun, 05 Sep 2010 16:35:33 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7849 http://cogear.ru/shesterenka-novosti-449.html#comment-7849 Varhal Sat, 04 Sep 2010 22:51:04 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7847 http://cogear.ru/shesterenka-novosti-449.html#comment-7847 dreycorp Sat, 04 Sep 2010 22:45:57 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7845 http://cogear.ru/shesterenka-novosti-449.html#comment-7845
Severity: Notice

Message: Trying to get property of non-object

Filename: library/template.class.php

Line Number: 48

вот так пишет( ]]>
Varhal Sat, 04 Sep 2010 22:37:22 GMT
<![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7842 http://cogear.ru/shesterenka-novosti-449.html#comment-7842 Добавить после 188 строки в файл models/news.php
$this->builder->h2(t('news last_news'),false,true); $yesterday = date('Y-m-d', mktime(0, 0, 0, date("m") , date("d") - 1, date("Y"))); $this->db->select('news.*',FALSE); $this->db->select('users.avatar,users.url_name as author_url_name,users.name as author'); $this->db->join('users','users.id = news.aid','inner'); $this->db->where('news.published','true'); $this->db->where('news.created_date > ',$yesterday); $this->db->order_by('news.position','asc'); $news=$this->db->get('news')->result(); foreach ($news as $num=>$item) { $this->show($item,'short'); } и в файл lng шестеренки добавить значение для last_news ]]>
dreycorp Sat, 04 Sep 2010 22:30:20 GMT
<![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7838 http://cogear.ru/shesterenka-novosti-449.html#comment-7838 Varhal Sat, 04 Sep 2010 22:00:50 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7837 http://cogear.ru/shesterenka-novosti-449.html#comment-7837 Varhal Sat, 04 Sep 2010 21:59:21 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7831 http://cogear.ru/shesterenka-novosti-449.html#comment-7831 dreycorp Sat, 04 Sep 2010 21:37:21 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7830 http://cogear.ru/shesterenka-novosti-449.html#comment-7830 Varhal Sat, 04 Sep 2010 21:25:26 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7829 http://cogear.ru/shesterenka-novosti-449.html#comment-7829 архив с шестеренкой на данный момент называется news3.zip, возможно последний раз ты скачал news2.zip ]]> dreycorp Sat, 04 Sep 2010 21:24:15 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7818 http://cogear.ru/shesterenka-novosti-449.html#comment-7818 Varhal Fri, 03 Sep 2010 23:26:59 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7816 http://cogear.ru/shesterenka-novosti-449.html#comment-7816 Varhal Fri, 03 Sep 2010 23:22:57 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7814 http://cogear.ru/shesterenka-novosti-449.html#comment-7814 файл templates/news_main.tpl ]]> dreycorp Fri, 03 Sep 2010 19:46:03 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7813 http://cogear.ru/shesterenka-novosti-449.html#comment-7813 dreycorp Fri, 03 Sep 2010 19:45:45 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7808 http://cogear.ru/shesterenka-novosti-449.html#comment-7808 daytrade.com.ua/news — каким то неимоверным способом заработали.
но теперь, daytrade.com.ua/news/test/, отображается как: daytrade.com.ua/test/. Где то теряет /news ]]>
Varhal Fri, 03 Sep 2010 14:17:00 GMT
<![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7806 http://cogear.ru/shesterenka-novosti-449.html#comment-7806 Graid Fri, 03 Sep 2010 13:51:07 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7805 http://cogear.ru/shesterenka-novosti-449.html#comment-7805 Varhal Fri, 03 Sep 2010 13:42:01 GMT <![CDATA[]]> http://cogear.ru/shesterenka-novosti-449.html#comment-7804 http://cogear.ru/shesterenka-novosti-449.html#comment-7804 4. Закомментировать строку routes[] = "news = community/news" (добавить # в начало строки) в файле /gears/community/community.info Сделали?
Вообще наверно лучше было к dreycorp обратиться. ]]>
Graid Fri, 03 Sep 2010 13:30:50 GMT