Page 1 of 1

New Version Upgrade: Fatal Error 1109

Posted: Sun Sep 02, 2007 5:34 pm
by CFC
Script URL: www.caribbeanflightcenter.com/gbook
Version of script: Upgraded from 1.43 to1.5
Hosting company: atlantic.net
URL of phpinfo.php: http://www.caribbeanflightcenter.com/phpinfo/
URL of session_test.php: http://www.caribbeanflightcenter.com/session_test/
What terms did you try when SEARCHING for a solution: Fatal Error 1109
I tried to read most the posts that came up with these terms. However I did not see anyone with the same error nor did I find someone with something similar that I could relate to this error. Also searched GOOGLE for Fatal Error, guestbook, etc.

Write your message below:
Just upgraded from 1.43 (We love it - Thank you) to version to 1.5

Read through the readme file several times, not sure what I have missed or entered incorrectly.

Changed the banned_ip.txt files to 666 (rw-rw-rw) permissions.
Note: the entries.txt file is already on my server with the 666 permissions and did not require to be overwritten in the upgrade per the readme file.

I receive this message when trying to enter the guestbook:
Fatal error: Call to undefined function: file_get_contents() in /home/c/a/caribbeanflightcenter.com/html/gbook/gbook.php on line 1109

As you know line 1109 reads as follows:
$myBanned = file_get_contents('banned_ip.txt');
Since my guestbook is located in a folder on my server named gbook do I need to alter this line as follows:
$myBanned = file_get_contents('gbook/banned_ip.txt');

I am making a complete stab in the dark with the above idea - any suggestions?

The 1.4 version was working perfectly (Love It)...however we would like to upgrade to the 1.5 version, especially for the IP address ban as we do receive some SPAM emails consistently that we would like to ban.

Thank you in advance for any information on this subject.

CFC

Posted: Sun Sep 02, 2007 6:25 pm
by Klemen
You have a too old version of PHP. Your version is 4.1.2 (from February 2002!!).

Ask your host to update PHP to the latest version. Running such an old and buggy version is not secure. They should update it for free - if not, I suggest you find a better host, one that keeps their software updated and patched.