• Previous message: [greg-dev] Debugging gregarius - expat required?
  • Next message: [greg-dev] 0.5.2
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] Debugging gregarius - expat required?

    Marco Bonetti wrote:
    > Tim,
    > I believe that since feeds are being parsed (and added to the temp
    > directory) the problem doesn't reside in PHP's xml library, but I
    > could be wrong.
    > 
    > Let's see, what is the version of the installed (php|mysql|apache) package?
    > 
    phpinfo says  5.0.4, Server API Apache 2.0 Handler
    Server msg: Apache/2.0.54 (Unix) DAV/2 PHP/5.0.4 Server
    
    
    > And you write you can add feeds in the admin interface: do they
    > actually show up?
    
    If I add a feed, it shows up as listed on the admin page, along with the 
    description which gregarious presumably gets by fetching the feed.
    
    When I go to the home page, it says: "
    Feeds
    0 items (0 unread) in 0 feeds"
    
    When I click refresh, I can see that that page goes to update.php, then 
    it refreshes and take me back home -- to no feeds - same message as above.
    
    If I go back to the feed admin page, it shows the feeds there.
    
    I just added a feed, then checked the cache directory -- it appeared there.
    
    In case it makes any difference, these are all running off of port 8080.
    
    
    There are no new entries on the apache error log.
    
    The access log looks like this:
    
    192.168.99.104 - - [26/Sep/2005:00:36:18 -0700] "GET /rss/ HTTP/1.1" 200 
    2701
    192.168.99.104 - - [26/Sep/2005:00:36:21 -0700] "GET /rss/ajax.php?js 
    HTTP/1.1" 304 -
    192.168.99.104 - - [26/Sep/2005:00:36:23 -0700] "GET /favicon.ico 
    HTTP/1.1" 404 305
    192.168.99.104 - - [26/Sep/2005:00:36:59 -0700] "GET /rss/update.php 
    HTTP/1.1" 200 3285
    192.168.99.104 - - [26/Sep/2005:00:37:02 -0700] "GET /rss/ajax.php?js 
    HTTP/1.1" 304 -
    192.168.99.104 - - [26/Sep/2005:00:37:05 -0700] "GET /favicon.ico 
    HTTP/1.1" 404 305
    192.168.99.104 - - [26/Sep/2005:00:37:05 -0700] "GET /rss/index.php 
    HTTP/1.1" 200 2701
    192.168.99.104 - - [26/Sep/2005:00:37:07 -0700] "GET /rss/ajax.php?js 
    HTTP/1.1" 304 -
    192.168.99.104 - - [26/Sep/2005:00:37:11 -0700] "GET /favicon.ico 
    HTTP/1.1" 404 305
    192.168.99.104 - - [26/Sep/2005:00:37:17 -0700] "GET /rss/index.php 
    HTTP/1.1" 200 2701
    192.168.99.104 - - [26/Sep/2005:00:37:19 -0700] "GET 
    /rss/themes/default/css/layout.css HTTP/1.1" 200 5243
    192.168.99.104 - - [26/Sep/2005:00:37:19 -0700] "GET 
    /rss/themes/default/css/look.css HTTP/1.1" 200 6702
    192.168.99.104 - - [26/Sep/2005:00:37:19 -0700] "GET /rss/css/print.css 
    HTTP/1.1" 200 309
    192.168.99.104 - - [26/Sep/2005:00:37:19 -0700] "GET 
    /rss/extlib/fcollapse.js HTTP/1.1" 200 2283
    192.168.99.104 - - [26/Sep/2005:00:37:19 -0700] "GET /rss/ajax.php?js 
    HTTP/1.1" 304 -
    192.168.99.104 - - [26/Sep/2005:00:37:21 -0700] "GET 
    /rss/themes/default/css/media/arrows.gif HTTP/1.1" 200 1904
    192.168.99.104 - - [26/Sep/2005:00:37:21 -0700] "GET 
    /rss/themes/default/css/media/bg.gif HTTP/1.1" 200 48
    192.168.99.104 - - [26/Sep/2005:00:37:22 -0700] "GET /favicon.ico 
    HTTP/1.1" 404 305
    192.168.99.104 - - [26/Sep/2005:00:37:27 -0700] "GET /rss/update.php 
    HTTP/1.1" 200 3285
    192.168.99.104 - - [26/Sep/2005:00:37:29 -0700] "GET /rss/ajax.php?js 
    HTTP/1.1" 304 -
    192.168.99.104 - - [26/Sep/2005:00:37:32 -0700] "GET /favicon.ico 
    HTTP/1.1" 404 305
    192.168.99.104 - - [26/Sep/2005:00:37:32 -0700] "GET /rss/index.php 
    HTTP/1.1" 200 2701
    192.168.99.104 - - [26/Sep/2005:00:37:35 -0700] "GET /rss/ajax.php?js 
    HTTP/1.1" 304 -
    192.168.99.104 - - [26/Sep/2005:00:37:38 -0700] "GET /favicon.ico 
    HTTP/1.1" 404 305
     >
     > What does the feedstats label on the top of your side-column read?
     > Something like "0 items (0 unread) in N feeds", with N>0 ?
     >
     >  -m
     >
    
    Thanks,
    
    Let me know if there is anything else I can do to pin down this problem.
    Tim
    
    > 
    > On 9/26/05, Tim Bishop <geodog at cyberdude.com> wrote:
    > 
    >>I spent tonight trying to get Gregarius working on my little NSLU2 Linux
    >>box, (see http://www.nslu2-linux.org/ for details), but was unable to do
    >>it. Gregarius comes up, says that it has successfully imported database
    >>schema. I can add feeds in the admin interface, files are written in the
    >>cache directory, but they never show up on the home page. I turned on
    >>rss.meta.debug to see if I could get any debugging info, but wasn't
    >>successful. The Apache log doesn't show any permission errors. The only
    >>thing that I could think of was that my phpinfo shows: '--disable-xml'
    >>'--enable-libxml' and I seem to remember reading somewhere that
    >>Gregarius needs the expat xml parser?
    >>
    >>Is that correct, and is that the source of my problems? If not, do you
    >>have suggestions on how I can get better debugging info?
    >>
    >>Thanks,
    >>Tim
    >>
    >>P.S. phpinfo:
    >>
    >>
    >>Configure Command        './configure' '--build=i386-pc-Linux-gnu'
    >>'--host=armv5b-softfloat-Linux' '--target=armv5b-softfloat-Linux'
    >>'--prefix=/opt' '--with-config-file-scan-dir=/opt/etc/php.d'
    >>'--with-layout=GNU' '--disable-static' '--enable-maintainer-zts'
    >>'--disable-dom' '--disable-xml' '--enable-libxml'
    >>'--with-apxs2=/home/slug/optware/nslu2/staging/opt/sbin/apxs'
    >>'--without-pear' '--without-iconv'
    
    
    
    Posted by Tim Bishop [reply] at Mon Sep 26 09:46:57 CEST 2005