Menu

headlines cache.xml error

Help
2002-07-17
2002-07-31
  • Matthew A. Kurowski

    Warning: stat failed for cache.xml (errno=2 - No such file or directory) in /home/groups/p/ph/phpwsplugins/htdocs/plug-ins/phpheadlines/phpheadlines.inc on line 26

    This error (actually on the phpWebSite plugins forge for a few days now, is exactly (same errorno and file) what I am getting on one of my Linux machines running 4.1.2php and phpWebSite 0.8.2. All permissions are correct though I've tried varying owners between apache, self and root with same results.

    Slashdot had created a cache file fine but I still get that error. Other feeds so far have been 0-byte cache.

    I've also tried the headlines-mods to the same result.

    All core works well.

    Any one else seen this? Google and other searches only show people getting the error (in past or realtime) not any indication of a fix or issue.

    I'll start looking for other things that might indicate that this is just a symptom but so far I'm hard pressed...

    TIA

    Best,
    Matthew Kurowski

     
    • Amgine Neilson

      Amgine Neilson - 2002-07-17

      Haven't seen this particular error, Mathew. But I too had many difficulties getting the news system up and running. Since you're not getting any answers from the gurus, maybe we fumblers can try to work out a solution?

      Can you post the information you're using? urls etc. I'll take a shot at getting it, or polling my resources (both of 'em.)

      Amgine

       
    • Matthew A. Kurowski

      i fixed it thanks.

      headlines, though nice, needs to be updated in a big way.

      1. sql script error in create (think a bad period)
      2. mod_headlines hard code without $prefix in inc.
      3. odd path errors, such as ./mod/... ref not referencing docroot.

      i went through and changed the table references, manually entered the sql below, and put the path straight.

      best,
      matthew kurowski

      here's the sql:

      CREATE TABLE phpws_mod_headlines (hid int(11) NOT NULL auto_increment,
      sitename varchar(30) NOT NULL,
      url varchar(100) NOT NULL,
      headlinesurl varchar(200) NOT NULL,
      status tinyint(1) DEFAULT '0' NOT NULL,
      show_limit int(2) DEFAULT '5' NOT NULL,
      display_order int(4) DEFAULT '9999' NOT NULL,
      lifetime int(10) DEFAULT '1800' NOT NULL,
      PRIMARY KEY (hid)) TYPE=ISAM PACK_KEYS=1

       
      • Matthew A. Kurowski

        suppose the other thing i would fix in it...

        and yes i'll do it if i get some glory ;-)

        would be to actually have the install/uninstall integrated... having to spec the path to the setup/removal file shouldn't be needed.

        nomorenags...

         
        • Amgine Neilson

          Amgine Neilson - 2002-07-18

          Well, you'll get some glory if you do it. At least, 'mongst us users. (you'll get worship if you actually write docs for it.)

          Amgine

           
          • Matthew A. Kurowski

            Ok. I'll whip something up really quick.

            I don't want to break etiquette though, so I'll also send off an email to the authors after I'm done and post as I know how difficult it is to test everything especially when it's volunteer work...

            I would have been swamped to have to write what they did from scratch. It's the least I can do for you all (dev and fellow users).

            I should have it up by this weekend.

            Cheers,
            Matthew

             
    • Amgine Neilson

      Amgine Neilson - 2002-07-18

      That'll be great!

      And if there's anything I can do to help (I'm a words person) I'd be glad to do so...

      Amgine

       
    • Edward Ritter

      Edward Ritter - 2002-07-31

      Not sure what version of Headlines you were using, but it was fully updated to support .81 last I recall. However, with .82, Hubit is the way to go.

      Ed

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.