[campsite-dev] Social Web CMS
  • Hi,

    I just wanted to put this CMS on your radar as something that could be
    interesting to use either alongside Campsite or possibly to make it into a
    plugin. A while ago we were contacted by a couple of potential clients who
    wanted to add Digg-like features to their site. We didn't end up doing the
    work, but we did find the Pligg project, which was an attempt to make an
    open source version of Digg, albeit written in Python (meh). Social Web
    CMS, however, uses PHP and Smarty (!) along with MySQL. So there could be
    some nice interoperability with Campsite. -- doug

    http://www.socialwebcms.com/

    What is SWCMS?
    Social Web CMS (SWCMS) is a mature, full-featured, and open source social
    news application written in PHP and utilizing a MySQL backend. From the
    web newbie looking for a simple way to enter the playing field to advanced
    developers hoping to drive social news to the next level, SWCMS is your
    best source for full, free, and actively developed social news
    applications.

    What is Social News?
    Social News refers to a concept pioneered by web 2.0 companies like Digg
    and Reddit. In this model the front-page news is determined not by a small
    group of editors but rather by the viewer community. This helps ensure
    that the topics covered are diverse - featuring multiple viewpoints rather
    than a select group's editorial bias. Social News also helps ensure that
    the news is always the latest and freshest. Drawing on the full resources
    of the internet community social news can far surpass any one company's
    ability to review and prioritize important news items as they happen.
  • 6 Comments sorted by
  • Hi,

    I encountered an error:

    Fatal error: Cannot redeclare class HTTP_Client in
    /var/www/vhosts/krusevacgrad.co.rs/httpdocs/include/pear/HTTP/Request.php
    on line 35

    This is maybe the tenth instance I'm restoring, but first with this
    problem. I restored the instance, ran campsite-indexer etc. It prints this
    error when {{ list_sections }} has to be executed.

    Why is this happening? Is it because of this instance works with three
    different publications?

    Ljuba
  • I get the same error when I try to enter the article listing inside the
    section through the admin interface. It is in the secondary publication,
    not the main one.

    it is this instance:
    http://s1.mediaonweb.org/backup-cs_grad-2008-11-21-16-41-52.tar.gz

    Ljuba

    > Hi,
    >
    > I encountered an error:
    >
    > Fatal error: Cannot redeclare class HTTP_Client in
    > /var/www/vhosts/krusevacgrad.co.rs/httpdocs/include/pear/HTTP/Request.php
    > on line 35
    >
    > This is maybe the tenth instance I'm restoring, but first with this
    > problem. I restored the instance, ran campsite-indexer etc. It prints this
    > error when {{ list_sections }} has to be executed.
    >
    > Why is this happening? Is it because of this instance works with three
    > different publications?
    >
    > Ljuba
    >
    >
    >
    >
    >
  • Hi Ljuba,

    Cannot reproduce the error neither in the frontend nor the admin,
    everything works fine. I just restored the backup and got no
    problems.

    I think it has to be with your system PEAR installation, please check
    if you already have the HTTP_Client package in your system. Campsite
    includes its own one, maybe there is some kind of conflict between
    them, however i am not sure about it as Campsite take care of use its
    own one instead of that in the system.


    On Fri, Dec 5, 2008 at 3:02 AM, wrote:
    > I get the same error when I try to enter the article listing inside the
    > section through the admin interface. It is in the secondary publication,
    > not the main one.
    >
    > it is this instance:
    > http://s1.mediaonweb.org/backup-cs_grad-2008-11-21-16-41-52.tar.gz
    >
    > Ljuba
    >
    >> Hi,
    >>
    >> I encountered an error:
    >>
    >> Fatal error: Cannot redeclare class HTTP_Client in
    >> /var/www/vhosts/krusevacgrad.co.rs/httpdocs/include/pear/HTTP/Request.php
    >> on line 35
    >>
    >> This is maybe the tenth instance I'm restoring, but first with this
    >> problem. I restored the instance, ran campsite-indexer etc. It prints this
    >> error when {{ list_sections }} has to be executed.
    >>
    >> Why is this happening? Is it because of this instance works with three
    >> different publications?
    >>
    >> Ljuba
    >>
    >>
    >>
    >>
    >>
    >
    >
    >



    --
    /holman
  • Hi,

    is this the full error message? Nortmally it says something like:
    "previously declared in somescript.php".

    Best,
    Sebastian

    > -----Original Message-----
    > From: Holman Romero [mailto:holman.romero@gmail.com]
    > Sent: Friday, December 05, 2008 1:14 PM
    > To: campsite-dev@campware.org
    > Subject: Re: [campsite-dev] Cannot redeclare class
    >
    >
    > Hi Ljuba,
    >
    > Cannot reproduce the error neither in the frontend nor the admin,
    > everything works fine. I just restored the backup and got no
    > problems.
    >
    > I think it has to be with your system PEAR installation, please check
    > if you already have the HTTP_Client package in your system. Campsite
    > includes its own one, maybe there is some kind of conflict between
    > them, however i am not sure about it as Campsite take care of use its
    > own one instead of that in the system.
    >
    >
    > On Fri, Dec 5, 2008 at 3:02 AM, wrote:
    > > I get the same error when I try to enter the article listing inside the
    > > section through the admin interface. It is in the secondary publication,
    > > not the main one.
    > >
    > > it is this instance:
    > > http://s1.mediaonweb.org/backup-cs_grad-2008-11-21-16-41-52.tar.gz
    > >
    > > Ljuba
    > >
    > >> Hi,
    > >>
    > >> I encountered an error:
    > >>
    > >> Fatal error: Cannot redeclare class HTTP_Client in
    > >>
    > /var/www/vhosts/krusevacgrad.co.rs/httpdocs/include/pear/HTTP/Request.php
    > >> on line 35
    > >>
    > >> This is maybe the tenth instance I'm restoring, but first with this
    > >> problem. I restored the instance, ran campsite-indexer etc. It
    > prints this
    > >> error when {{ list_sections }} has to be executed.
    > >>
    > >> Why is this happening? Is it because of this instance works with three
    > >> different publications?
    > >>
    > >> Ljuba
    > >>
    > >>
    > >>
    > >>
    > >>
    > >
    > >
    > >
    >
    >
    >
    > --
    > /holman
  • Hello,

    it is the whole error message that is shown in the browser. I get it both
    on frontend (when trying to get list of sections or articles) and backend
    (when trying to navigate into the section of the secondary pub).

    best, Ljuba

    > Hi,
    >
    > is this the full error message? Nortmally it says something like:
    > "previously declared in somescript.php".
    >
    > Best,
    > Sebastian
    >
    >> -----Original Message-----
    >> From: Holman Romero [mailto:holman.romero@gmail.com]
    >> Sent: Friday, December 05, 2008 1:14 PM
    >> To: campsite-dev@campware.org
    >> Subject: Re: [campsite-dev] Cannot redeclare class
    >>
    >>
    >> Hi Ljuba,
    >>
    >> Cannot reproduce the error neither in the frontend nor the admin,
    >> everything works fine. I just restored the backup and got no
    >> problems.
    >>
    >> I think it has to be with your system PEAR installation, please check
    >> if you already have the HTTP_Client package in your system. Campsite
    >> includes its own one, maybe there is some kind of conflict between
    >> them, however i am not sure about it as Campsite take care of use its
    >> own one instead of that in the system.
    >>
    >>
    >> On Fri, Dec 5, 2008 at 3:02 AM, wrote:
    >> > I get the same error when I try to enter the article listing inside
    >> the
    >> > section through the admin interface. It is in the secondary
    >> publication,
    >> > not the main one.
    >> >
    >> > it is this instance:
    >> > http://s1.mediaonweb.org/backup-cs_grad-2008-11-21-16-41-52.tar.gz
    >> >
    >> > Ljuba
    >> >
    >> >> Hi,
    >> >>
    >> >> I encountered an error:
    >> >>
    >> >> Fatal error: Cannot redeclare class HTTP_Client in
    >> >>
    >> /var/www/vhosts/krusevacgrad.co.rs/httpdocs/include/pear/HTTP/Request.php
    >> >> on line 35
    >> >>
    >> >> This is maybe the tenth instance I'm restoring, but first with this
    >> >> problem. I restored the instance, ran campsite-indexer etc. It
    >> prints this
    >> >> error when {{ list_sections }} has to be executed.
    >> >>
    >> >> Why is this happening? Is it because of this instance works with
    >> three
    >> >> different publications?
    >> >>
    >> >> Ljuba
    >> >>
    >> >>
    >> >>
    >> >>
    >> >>
    >> >
    >> >
    >> >
    >>
    >>
    >>
    >> --
    >> /holman
    >
    >
  • Hi Ljuba,

    I cannot reproduce this error, anyway I have the system classes installed or
    not.

    Try to move the pear class away:
    cd include/pear
    mv HTTP HTTP.bak

    Or uninstall them from your system:
    pear uninstall HTTP_Client HTTP_Request


    Best,
    Sebastian



    > -----Original Message-----
    > From: ljuba.rankovic@mediaonweb.org
    > [mailto:ljuba.rankovic@mediaonweb.org]
    > Sent: Monday, December 08, 2008 7:19 PM
    > To: campsite-dev@campware.org
    > Subject: RE: [campsite-dev] Cannot redeclare class
    >
    >
    > Hello,
    >
    > it is the whole error message that is shown in the browser. I get it both
    > on frontend (when trying to get list of sections or articles) and backend
    > (when trying to navigate into the section of the secondary pub).
    >
    > best, Ljuba
    >
    > > Hi,
    > >
    > > is this the full error message? Nortmally it says something like:
    > > "previously declared in somescript.php".
    > >
    > > Best,
    > > Sebastian
    > >
    > >> -----Original Message-----
    > >> From: Holman Romero [mailto:holman.romero@gmail.com]
    > >> Sent: Friday, December 05, 2008 1:14 PM
    > >> To: campsite-dev@campware.org
    > >> Subject: Re: [campsite-dev] Cannot redeclare class
    > >>
    > >>
    > >> Hi Ljuba,
    > >>
    > >> Cannot reproduce the error neither in the frontend nor the admin,
    > >> everything works fine. I just restored the backup and got no
    > >> problems.
    > >>
    > >> I think it has to be with your system PEAR installation, please check
    > >> if you already have the HTTP_Client package in your system. Campsite
    > >> includes its own one, maybe there is some kind of conflict between
    > >> them, however i am not sure about it as Campsite take care of use its
    > >> own one instead of that in the system.
    > >>
    > >>
    > >> On Fri, Dec 5, 2008 at 3:02 AM, wrote:
    > >> > I get the same error when I try to enter the article listing inside
    > >> the
    > >> > section through the admin interface. It is in the secondary
    > >> publication,
    > >> > not the main one.
    > >> >
    > >> > it is this instance:
    > >> > http://s1.mediaonweb.org/backup-cs_grad-2008-11-21-16-41-52.tar.gz
    > >> >
    > >> > Ljuba
    > >> >
    > >> >> Hi,
    > >> >>
    > >> >> I encountered an error:
    > >> >>
    > >> >> Fatal error: Cannot redeclare class HTTP_Client in
    > >> >>
    > >>
    > /var/www/vhosts/krusevacgrad.co.rs/httpdocs/include/pear/HTTP/Request.php
    > >> >> on line 35
    > >> >>
    > >> >> This is maybe the tenth instance I'm restoring, but first with this
    > >> >> problem. I restored the instance, ran campsite-indexer etc. It
    > >> prints this
    > >> >> error when {{ list_sections }} has to be executed.
    > >> >>
    > >> >> Why is this happening? Is it because of this instance works with
    > >> three
    > >> >> different publications?
    > >> >>
    > >> >> Ljuba
    > >> >>
    > >> >>
    > >> >>
    > >> >>
    > >> >>
    > >> >
    > >> >
    > >> >
    > >>
    > >>
    > >>
    > >> --
    > >> /holman
    > >
    > >
    >
    >