Re: Can't update news channels
Rick Emery <[email protected]>
| Newsgroups | gmane.comp.horde.jonah |
|---|---|
| Message-ID | <[email protected]> |
Quoting Marko Djukic <[email protected]>: OK, I'm going to need some help with this one because I'm *way* out of my element here. > no but i seem to recall that there have been a couple commits to > horde/lib/Cache.php so make sure you have all your libs cvs updated... That seems to be where the problem is...I explain below. > try var_dumping a bit in /jonah/news/stories.php to see where it breaks. it's > tough to tell where it is failing from just a white page. > a few people have got external channels running so they seem to work. I've done some debugging, and the problem seems to be related to horde/jonah/lib/News.php line 226: $stories = $cache->getData($url, "Horde_Serialize::serialize(Jonah_News::_fetchExternalStories('$url', '$timestamp'), SERIALIZE_UTF7_BASIC);", $interval); (in the file, that's all on one line) Using var_dump and print, I determined that $url, $timestamp, and $interval appear to contain valid values (they get printed onto the empty white frame I was getting). On the line immediately below the one I listed above, I added "var_dump($stories);" and nothing was displayed. Initially I thought $stories was empty, but I replaced the var_dump with "print('Got here');" and still nothing was displayed. It almost seems as though the script is dying on that line, and nothing after is being processed. I opened up Cache.php to look at getData, and quickly realized that I don't know enough about "the big picture" to understand what it's doing. I updated all of horde from cvs and tried all of this again, with the same results. Also, you mentioned that there have been recent changes to Cache.php, so I stopped php accelerator and flushed my browser cache just to be sure I was using the right one. Thanks in advance for any help, Rick -- Jonah mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]