Closed (fixed)
Project:
Web Links
Version:
6.x-1.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Aug 2008 at 09:18 UTC
Updated:
2 Sep 2008 at 03:41 UTC
I receive this error message after opening admin/settings/weblinks/checker.
It looks like the line 681 in weblinks.module is responsible for this error message:
if (ini_get('allow_url_fopen') && function_exists('stream_get_meta_data')) {
I only have very little knowledge of php, but it seems like some providers disable allow_url_fopen for security reasons.
After googling I found a hint for solving this problem by using drupal_http_request:
http://drupal.org/node/136132
Maybe these informations could help too:
http://www.norio.be/blog/2008/06/filegetcontents-vs-drupalhttprequest
http://drupal.org/node/284538
Comments
Comment #1
nancydruActually, we did change to drupal_http_request but forgot to remove that code. You may delete:
Comment #2
nancydruFix committed on both branches.
Comment #3
k74 commentedI deleted that code and it works, I can already see the options checker, I turned off but still appears "As of 22/08/2008 - 19:48, this link is reporting errors." next to the links that once had some errors, as is done so they do not show?
thanks
Comment #4
rmiddle commentedk74 this isn't the same issue. The checker only checks published links. If the link is unpublished it wont check it a again until it is published and once published it will follow the standard flow of checking.
Comment #5
k74 commentedOk , you're right, I deleted the links had been some errors and he returned to create, thanks.
Comment #6
nancydru