Page 1 of 1

Wordpress and linkman: failed to open stream

Posted: Tue Nov 27, 2007 9:18 am
by spookster
Script URL:
Version of script:Linkman 1.03
Hosting company:Newsit.es
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:wordpress and failed to open stream

Write your message below:

Hello

I am trying to install Linkman 1.03 on my wordpress v 2.3.1 and I am encountering a few errors.
I am using the instructions as posted on this blog http://www.romicozone.com/adding-links- ... s-linkman/
for adding my linkman to my wordpress blog.

Bellow is the error I am encountering.

Warning: file() [function.file]: Unable to access linkinfo.txt in /www/newsit.es/s/u/p/supernatural/htdocs/linkman/links.php on line 38

Warning: file(linkinfo.txt) [function.file]: failed to open stream: No such file or directory in /www/newsit.es/s/u/p/supernatural/htdocs/linkman/links.php on line 38

Warning: Invalid argument supplied for foreach() in /www/newsit.es/s/u/p/supernatural/htdocs/linkman/links.php on line 42

I have tried everything and cannot seem to get it to work.

Thank you in advance for your help and support.[/url]

Posted: Tue Nov 27, 2007 12:18 pm
by Klemen
Can't really give support for integration with WP, but try changing

Code: Select all

$settings['linkfile']='linkinfo.txt';
to

Code: Select all

$settings['linkfile']='/www/newsit.es/s/u/p/supernatural/htdocs/linkman/linkinfo.txt';
in settings.php.


By the way, your host has disabled "allow_url_fopen" for PHP meaning you won't be able to use LinkMan (or any similar script that needs to check remote URLs) unless they enable it.

Posted: Tue Nov 27, 2007 12:44 pm
by spookster
Thanks for the help its working perfectly :D