[dokuwiki] Re: AFP links & PHP includes
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 28 Jun 2005 21:29:04 +0200
On Tue, 28 Jun 2005 11:38:27 -0600
"Daniel Mitchell" <DanielMitchell@xxxxxxxxxxxxx> wrote:
> > It's the internet blocking software here at work -- tracking
> > things down some more, we end up with a Websense URI coming
> > back somewhere in the middle of the Snoopy processing, and I
> > can't convince the authentication part of Snoopy to work. Ah
> > well, at least I know what the problem is now.
>
> Things are more complex than that, it turns out -- we also have a
> Wordpress install, and the 'wordpress news' page there uses
> Magpie/Snoopy to pull the updates for Wordpress in; in that situation,
> the web blocking stuff doesn't cause any problems. There's no obvious
> difference between the two, except that Dokuwiki is using Magpie v7,
> but Wordpress is using Magpie v5 -- I'd expect things to get _better_
> with newer versions, not worse, and the Snoopy URL fetching stuff is
> exactly the same code in both places.
Okay just to be sure... if you embed an external image like
{{http://someserver.com/foo.jpg}} it works. Correct? Which means there is some
contact to the outer world. The new magpie does charset conversion for feeds I
guess there is the real problem. Please have a look at inc/parser/xhtml.php
around line 754 should be something like this:
$elvl = error_reporting(E_ERROR);
$rss = fetch_rss($url);
error_reporting($elvl);
please comment out both error reporting lines to get something like this:
//$elvl = error_reporting(E_ERROR);
$rss = fetch_rss($url);
//error_reporting($elvl);
Try again. You should get some error (if not in the page then in your errorlogs)
Andi
- References:
- [dokuwiki] Re: AFP links & PHP includes
- From: Daniel Mitchell
Other related posts:
- » [dokuwiki] AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- » [dokuwiki] Re: AFP links & PHP includes
- [dokuwiki] Re: AFP links & PHP includes
- From: Daniel Mitchell