Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
First of all, thank you Matthias Steffens & Richard Karnesky and all who helped
developing this fantastic piece of software. I'm using it every day and it looks
and works really great. It really makes my day. (I'm always a bit afraid that the
development might stop some day, since the last release is so long ago.)
However - since today (first day of a new month) my refbase-installation stops
working properly. Probably my webhoster changed things today , they
announced something about a new php-version someday. (Unfortunately
I lost the mail.) I think it's PHP 5.2 now, but might already be 5.3.
Two obvious bugs occured:
1) I don't get the last five entries on the mainpage any more.
2) More even important - I can't import from pubmed anymore.
I get the following error message: "Error occurred: Failed to open http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmode=text&rettype=medline&tool=refbase&email=info%40refbase.net&id=21561765"
Haven't checked the rest for bugs.
Can you give me a hint please?
Thanx very much in advance
I'm using PHP 5.3.9 with the current release of refbase and the svn version with no problems. Can you please look at your error logs (increasing the level of logging that is done if needed)?
Hi Ralf, thanks for the kind words, we appreciate it!
Fetching of the most recently added publications (on the main page) as well as PubMed import is done via function 'fetchDataFromURL()' (in file 'includes/include.inc.php')) which in turn uses the PHP function 'fopen()'.
What about your server's 'php.ini' setting for 'allow_url_fopen'? Is in set to "On"?
See also: http://www.refbase.net/index.php/Required_PHP-INI_Settings
Besides that, when googling for "PHP 5.2 fopen" there seem to be others who had issues with 'fopen()' on PHP 5.2.x, so it may be worth investigating a bit.
Thank you very much for your suggestions. As I am a bit busy at the moment, I will check this beginning next week. (I am really missing my refbase-installation at the moment, indeed)
I got the reply of my provider, that they disabled "allow_url_fopen" for security reasons and that this feature won't be available in PHP 5.3. (They will switch to PHP 5.3 in April.) Is there any workaround?
(It's a pain not work without refbase or at least without it's import function. I have got very used to it.Thanx again for refbase:)
Does your host support the cURL functions?
rawit: Click Tracker, then Feature requests, and you'll find my patch for this, which uses the cURL functions.