Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(8 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Support

Fatal error on undefined function


You must be signed-in to post.

AuthorSubject
  Page: 1
guyran
Subject: Fatal error on undefined functionQuote this post in your reply
I am a complete newbie when it comes to installing mysql and php support
but I think I have got everything running on a Libranet 2.8 installation of
Debian (small plug for a Canadian accomplishment: try Libranet if you want
the joys of Debian without the pain ;-)
I haven't put this server online yet so have just left the Apache home address as localhost, but it works and after modifying httpd.conf to get it
to accept php pages, I end up with this fatal error message:

Fatal error: Call to undefined function: cache() in /var/www/ATutor/include/vitals.inc.php on line 428

What have I done wrong? I followed the installation instructions for ATutor
to the letter - except for modifying config.inc.php
In other words I haven't defined the database user passwrds; could this
explain such a fatal thing as this error?
Thanks for any help.
Guy :\
Posted: 2003-07-10 13:06:37
greg

Avatar for greg
Subject: Mysql must be set up firstQuote this post in your reply
Yes that is the problem. ATutor will not run without access to the database.

If you have trouble with cache errors after the database is setup comment out the last line of config.inc.php (see the instructions in the config file)
Posted: 2003-07-10 13:17:52
thebert
Subject: Hosted accounts can sometimes seem trickyQuote this post in your reply
As an example, using phpMyAdmin you'll typhically create a Mysql database (such as 'atutor'), then create a user (such as 'thomas') and finally a password (such as '4325')

The thing to keep in mind is that often your hoster will config phpMyAdmin to actually create something like this:

'yourhosteraccountname_atutor' as the database
and
'yourhosteraccountname_thomas' as the user

It is *these* strings that need to be inserted into the config.inc.php file. Inexplicably, (from my perspective at least) the password you've defined ('4325') does not get put in with the prefix, just '4325'.

btw, many thanks to these board contributors. TEH

wink
Posted: 2003-10-25 17:33:25
 Page: 1

You must be signed-in to post.