Fatal error: Call to undefined function: file_get_contents()

Problems installing LinkMan?
Post Reply
premiere
Posts: 2
Joined: Mon Aug 24, 2009 9:58 pm

Fatal error: Call to undefined function: file_get_contents()

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
premiere
Posts: 2
Joined: Mon Aug 24, 2009 9:58 pm

Post by premiere »

Thank you, I will look into it..

Gill
chandelier
Post Reply