[campsite-support] Comment Posts
  • I'm having some difficulty with comment posts...

    The error I'm getting is:

    Fatal error: Call to a member function on a non-object in
    /usr/local/campsite/www-common/html/comment_lib.php on line 150

    I'm unable to post any comments to a story that has no comments.
    However, if an old story has comments, I am able to post additional
    comments.

    TIA,
    Chris
  • 3 Comments sorted by
  • hi Chris!
    what Campsite version are you using?


    On 12/9/06, Christopher Palermo wrote:
    > I'm having some difficulty with comment posts...
    >
    > The error I'm getting is:
    >
    > Fatal error: Call to a member function on a non-object in
    > /usr/local/campsite/www-common/html/comment_lib.php on line 150
    >
    > I'm unable to post any comments to a story that has no comments.
    > However, if an old story has comments, I am able to post additional
    > comments.
    >
    > TIA,
    > Chris
    >


    --
    /holman
  • Just upgraded to 2.6.3, but the problem was present in 2.6.2 as well.
    I just upgraded today.

    Chris

    On 12/9/06, Holman Romero wrote:
    > hi Chris!
    > what Campsite version are you using?
    >
    >
    > On 12/9/06, Christopher Palermo wrote:
    > > I'm having some difficulty with comment posts...
    > >
    > > The error I'm getting is:
    > >
    > > Fatal error: Call to a member function on a non-object in
    > > /usr/local/campsite/www-common/html/comment_lib.php on line 150
    > >
    > > I'm unable to post any comments to a story that has no comments.
    > > However, if an old story has comments, I am able to post additional
    > > comments.
    > >
    > > TIA,
    > > Chris
    > >
    >
    >
    > --
    > /holman
    >
  • Ok... problem solved.

    Here is what happened to me, if it helps anyone out.

    I could post comments to old issues, but not to new issues.

    We had a problem a few weeks ago (which we are grateful to Mugur for
    fixing!) where our users got messed up.

    So, I had everyone here in the office creating issues with my username
    (which still worked for some reason).

    The problem was that in our table phorum_users there is supposed to be
    user_id which corresponds to a foreign key in the regular users table.
    Well, for my account (which apparently is the owner of the first new,
    blank post), I had 'NULL' in the value for the foreign key.

    Once I put in the correct value, voila - it works.

    I don't know if this will help anyone, but I hope so.

    On 12/9/06, Christopher Palermo wrote:
    > Just upgraded to 2.6.3, but the problem was present in 2.6.2 as well.
    > I just upgraded today.
    >
    > Chris
    >
    > On 12/9/06, Holman Romero wrote:
    > > hi Chris!
    > > what Campsite version are you using?
    > >
    > >
    > > On 12/9/06, Christopher Palermo wrote:
    > > > I'm having some difficulty with comment posts...
    > > >
    > > > The error I'm getting is:
    > > >
    > > > Fatal error: Call to a member function on a non-object in
    > > > /usr/local/campsite/www-common/html/comment_lib.php on line 150
    > > >
    > > > I'm unable to post any comments to a story that has no comments.
    > > > However, if an old story has comments, I am able to post additional
    > > > comments.
    > > >
    > > > TIA,
    > > > Chris
    > > >
    > >
    > >
    > > --
    > > /holman
    > >
    >