Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 05:12 am EST

Geeklog Forums

RDF Feed/Portal Block Problem..


Status: offline

LVDave

Forum User
Newbie
Registered: 07/05/04
Posts: 1
confused
:banghead:
Hi All!
Am trying to set up some rdf feeds, I created a portal block
and I consistantly get the following error: "There was a problem reading this feed (see error.log for details)." The error log shows: "Tue Jul 13 20:46:10 2004 - Geeklog can not reach the feed at http://wifinetnews.com/index.rdf. "..
I can see the feed just fine with a browser... I've added the .htaccess entry "php_flag allow_url_fopen on" ..
In my case, there is no apparent effect to this flag.. I've tried placing copies of the .htaccess file in various subdirs along with the one in the geeklog dir.. I've tried contacting my hosting admins, and all they say is that their PHP install -should- work with this.. I've searched for info in both several PHP tutorials and the apache docs to get to the bottom of this.. No joy! Anybody got any tips? I'm a noob on PHP and my hosting guys are no help... Thanks in advance

daveATfrandinDOTorg

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
If you're not sure about the allow_url_fopen setting and whether you can successfully override it, upload a file that only has
Text Formatted Code
<?php phpinfo(); ?>
 
in it (or use the info.php from the admin/install directory that shipped with Geeklog). Call it up in the browser and see what the setting for allow_url_fopen really is.

bye, Dirk
 Quote

dfrandin

Anonymous
sad
Thanks for the tip.. However, my hosting provider has apparently disabled this.. I get this when I run it...

Warning: phpinfo() has been disabled for security reasons. in /z1/dfrandin/public_html/wifi/test.php on line 1

Guess its time to move to another ISP who doesn't screw their PHP up...

Dave
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Try this then:
Text Formatted Code
<?php

$fopen = ini_get ('allow_url_fopen');

echo "allow_url_fopen is ";
if ($fopen == '1') {
    echo "enabledn";
} else {
    echo "disabledn";
}

?>
 

bye, Dirk
 Quote

dfrandin

Anonymous
gloomy
Thanks again.. According to that snippet, allow_url_fopen is enabled on my host.. What else could be causing the error?

Dave
 Quote

Status: offline

w2swr

Forum User
Newbie
Registered: 07/03/04
Posts: 3
I am having the same problem. but mine was working, then while setting up some other blocks I lost it. I tried to trace back what I did, but couldn't resolve it. on top of the "There was a problem reading this feed" message, im also getting, "Warning: fopen(/logs/error.log): failed to open stream: Permission denied in /public_html/lib-common.php on line 1500. I think I corrected this by chmod 777, but im still not able to get rid of the first message. If I knew all the files that are relivant to a portal block, I could probably figure this one out myself.
 Quote

All times are EST. The time is now 05:12 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content