Oh, okay the Theme was modified on the Theme in 0.5.1
So, how can I fix it? Will it last to overwrite theme.php with the new
one or are there more changes to make? I didn't changed much, so it
should be no problem to transfer it to the new template, but for
future it would be helpful to know …
I found the following ones in the Theme.php:
Format::apply( 'nice_date', 'post_pubdate_out', 'F j, Y g:ia' );
// Apply Format::nice_date() to comment date...
Format::apply( 'nice_date', 'comment_date', 'F j, Y g:ia' );
In the Comments-Table the date is set as a timestamp and type int(10).
So it seems to be the old Theme.
Tried it with the new charcoal and it worked all like it should …
Thanks a lot for your help …
Florian
On 22 Okt., 20:28, "Ali B." <[EMAIL PROTECTED]> wrote:
> This error is often caused by an old theme. One that applies the nice_date
> format to comment date in its theme.php.
>
> I can see however that you are using Charcoal. So it's either that the theme
> was not updated or you are using a customized one that you have put in
> /user/themes instead.
>
> Eitherway, check for the following method call in the theme's theme.php, do
> you see any?
>
> Format::apply('nice_date', blah);
>
> On Wed, Oct 22, 2008 at 8:09 PM, Florian Fiegel <
>
>
>
> [EMAIL PROTECTED]> wrote:
>
> > Hi out there,
>
> > I'm using actual Head (0.6alpha) and got the first comment on my Blog.
> > I wanted to approve it and went to the Admin-Panel to do so, but first
> > thing I noticed was that there is a error warning on it.
>
> > In the third column there is displayed the following:
>
> > Notice: Trying to get property of non-object in system/admin/
> > comments_items.php line 15
>
> > Notice: Trying to get property of non-object in system/admin/
> > comments_items.php line 15
>
> >http://schwarzes-gift.de/admin/comments?status=0" class="edit-date"
> > title="
> > Fatal error: Call to a member function format() on a non-object in /
> > var/.../html/system/admin/comments_items.php on line 15
>
> > When I select the entry and want to approve it nothing happens. I
> > don't know where it comes from, but maybe it is associated with the
> > error above. What can I now do? Is this error known?
>
> > regards
> > Florian
>
> --
> Ali B / dmondarkhttp://www.awhitebox.com
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---