• Resolved magicrichard

    (@magicrichard)


    Hi guys,

    Installed wordpress dozens of times before and never come across this problem, which I can’t resolve.

    On trying to access install.php for the first time I’m being greeted with the following error:

    Fatal error: Call to undefined function get_template_directory() in /home2/magicric/public_html/tom/travel/wp-settings.php on line 418

    The only thing I can think of is that it is being installed on a sub-domain (http://tom.xxxx.co.uk/travel) But i wouldn’t have thought that would cause this problem, if it caused any problem at all in fact!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 1. That’s not a subdomain, it is a subdirectory. But it wouldn’t matter – just for the sake of correct terminology…

    2. An “undefined function…” error always refers to missing or corrupted files. In WP 2.5 the function should be defined in the wp-includes/theme.php file on line #46. Try to upooad a fresh copy of that file.

    Thread Starter magicrichard

    (@magicrichard)

    What would a sub-domain be, out of interest?!

    I’ll try a frseh copy of that file – and report back – thanks!

    Thread Starter magicrichard

    (@magicrichard)

    When i set up a sub-domain with cpanel it gave me that as the path to upload files to.

    So i have tom.xxxx.co.uk/travel for where the blog is, but the path is as above!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Installation problem “call to undefined function”’ is closed to new replies.