I installed the module, activated it, posted a new blog and got this error immediately:

warning: file_get_contents(/sites/all/modules/relatedlinks/relatedlinks.css) [function.file-get-contents]: failed to open stream: No such file or directory in C:\apache\htdocs\paseo11\includes\common.inc on line 1523.

Comments

Zen’s picture

and does your installation have relatedlinks.css?

softtouch’s picture

Yes. I don't understand why it can't be read by the function.
I installed the 5.x-2.1, and it has the .css included...
Will try it again in a while.

softtouch’s picture

Figured it out.
If you enable "Aggregate and compress CSS file", you get from time to time that error (only with related links installed).
Weird is also that it shows similar links in the block which has nothing to do with the content at all.
For example, I display an image (no body text, just an image) with the title Vallejo, and it offer me forum topics related to virus and router setups... totally wrong in my opinion.
It should have listed other images of vallejo in the title.
Anyway, great module.

Zen’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

alexic’s picture

Status: Closed (fixed) » Needs review

i think that the problem was in the .module file, about line 286
$path = '/'.drupal_get_path('module', 'relatedlinks');
it gives me an error related to the fact that php tries to search a file starting from the root of the server.

I think i solved by removing the '/'.

$path = drupal_get_path('module', 'relatedlinks');

Zen’s picture

Status: Needs review » Fixed

Fixed in 5-2-dev.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.