I uploaded my website on a webserver and now it displays following error:
Fatal error: Call to undefined function getactualeventid()
This function is defined in my file functions.php
and i include it on the top of my index.php
file by following line:
include '.\functions.php';
The file functions.php
is in the same directory as my index.php
. Are there settings on the server that I need to change?
//EDIT
In the beginning I used include 'functions.php';
but only a blank page has been loaded, so I tried it with include '.\functions.php'; and then I got at least a clear error message.
I also tried include_once but it doesn't work. I tested the whole stuff on my localhost by using XAMPP where it runs without any problems.
I still don't know what the problem is.