Page 1 of 1

Fatal error: Call to undefined function: file_get_contents()

Posted: Mon Aug 24, 2009 10:09 pm
by premiere
Script URL:www.realinnovation4u.com
Version of script:1.7
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hello,

Just installed link manager today every thing works in the admin panel.
I can addlinks from there no prob, but when i try to add one from the user end i get this mesg
Fatal error: Call to undefined function: file_get_contents() in /var/www/html/linkman/addlink.php on line 87
line 87 of addlink.php i have this function

/* Check if the website is banned */
if ($mydata = file_get_contents($settings['banfile']))
etc...
i have nothing in my banned_websites.txt file.
Any ideas.... searched well before posting this mesg but found nothing.

Thank you.
Gill
Chandelier

Posted: Tue Aug 25, 2009 5:34 am
by Klemen
This error means you have a very old (and buggy and insecure) version of PHP on your server. LinkMan will not work with such old versions, you should seriously upgrade to a more recent version (or ask your host to do it if you don't run your own server).

Posted: Tue Aug 25, 2009 2:04 pm
by premiere
Thank you, I will look into it..

Gill
chandelier