Page 1 of 1

Stuck on printtophtml()

Posted: Tue Jul 29, 2008 1:28 pm
by Chrysanthemum
Script URL:
Version of script: 1.3 from November 18, 2006 (fix from 16th Feb 2007)
Hosting company: NetBenefit
URL of phpinfo.php: can't find it
URL of session_test.php:
What terms did you try when SEARCHING for a solution: I searched on the entire error message and then parts of it, and with/without phpjunkyard

Write your message below:

When I try to open my newly-uploaded mboard.php, I receive two error messages (so far). The first one was

require_once('settings.php');

so I removed the _once because I read somewhere that PHP5 doesn't like require_once.

When I tried again, this time the error message was

Fatal error: Call to unsupported or undefined function printtophtml() in /sites/web18318/home/web18318/website/news/bulletinboard/mboard.php on line 87

Then I came here and searched to see if anyone had had the same problem.

Then I registered and while I was waiting for the activation e-mail, I put stuff into my header and footer text files but I can take that out; it didn't fix the Fatal Error.

I feel I am so close to fixing this but going round in circles instead.
Thanks in advance for any help.

Posted: Tue Jul 29, 2008 7:14 pm
by Klemen
Not sure what's wrong but it must be a messed up mboard.php file, try using the original one, even though it has require_once (or just change that to require and leave everything else intact).

Posted: Tue Jul 29, 2008 7:22 pm
by Chrysanthemum
Klemen wrote:Not sure what's wrong but it must be a messed up mboard.php file, try using the original one, even though it has require_once (or just change that to require and leave everything else intact).
Thank you - will try that - when you say "the original one", do you mean the one in the zip file I downloaded today or the pre February 2007 fix (if I can find it)?

Posted: Wed Jul 30, 2008 6:44 pm
by Klemen
The one you download today is the up-tp-date one and should work fine.

Posted: Tue Aug 19, 2008 8:22 am
by Chrysanthemum
Klemen wrote:The one you download today is the up-to-date one and should work fine.
Hi, Klemen, I just wanted to let you know that the problem turned out to be the ISP running an ANCIENT version of the PHP "engine" (version 3 something). Nothing wrong with your script. Of course :-)

I spent DAYS on that and when I found out that it was the ISP that hadn't upgraded the PHP, I could have SCREAMED!

Anyway, the GBook suited my client's requirements better, and that's what we are using (and for which we have bought a licence).