On 30-5-2011 18:23, Michele Fiaschi wrote:
> trying your example (with different feed rss) but I always get:
> --Sorry, could not get the feed--
I don't think so, but it could be. However, there is a simpler way to
check what is going wrong. Try to get the contents of the url in a
seperate script, something like this:
<pinp>
$client = ar('http')->client();
$result = $client->get( 'http://..../' );
echo '<pre>';
echo $client->responseHeaders;
echo '</pre>';
echo $result;
</pinp>
That should give you the complete result and the headers. If you
again
don't get any result, then try another url, one that you know should
work and try that. If that also fails, then your webserver is most
likely behind a firewall and cannot access other servers on the
internet...
Try if wget from the command line works to check that. e.g.:
wget
http://www.ariadne-cms.org/
> > ps. Could be something wrong in my ariadne libs? I'm actually using
> > 2.7.3, if I would update to 2.7.5 which is the easiest way? The guy
> > was working as system administrator has changed office, now I can
> > access to mysql db and to the web root (through ssh) but I have not
> > administrator skills..
I haven't checked the changes, but I don't think we did any serious
bugfixes on the http client or rss lib there... I don't know how
Ariadne
is installed on your server. If installed from the zip/tar package
then
it should be a matter of unzipping/untarring the new version over the
old one and checking the grants on the files directory. Make sure you
have a backup first though ( files and database ). If you use svn,
then
svn up to the latest tag (2.7.5, but I think 'latest' will also work.)
You may need to run the upgrade script, which is in the bin
directory.
Make sure you run it as the web user, probably www-data.
If you are not sure about this, first try to restore the backup on
another machine and test the upgrade there. That way you are also
sure
you have a working backup :)
regards,
Auke van Slooten
Muze