Page 1 of 1

Missing setup_functions.inc.php

Posted: Sat Feb 04, 2017 7:06 am
by ezytec
Hi Mike,

I'm attempting to install MfH 3.0.3 for HESK 2.7.2 and for some reason the setup_functions.inc.php is missing from the inc folder.

Line 58 of install_functions.inc.php calls for it but it wasn't included in the 3.0.3.zip file.

require(HESK_PATH . 'inc/setup_functions.inc.php');

From my error log:

[Sat Feb 04 01:13:06 2017] [error] PHP Fatal error: require(): Failed opening required '../../inc/setup_functions.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/php56/lib/php') in /home/ezytecco/public_html/support/install/install_functions.inc.php on line 58
[Sat Feb 04 01:13:06 2017] [error] PHP Warning: require(../../inc/setup_functions.inc.php): failed to open stream: No such file or directory in /home/ezytecco/public_html/support/install/install_functions.inc.php on line 58
[Sat Feb 04 01:13:06 2017] [error] PHP Warning: require(../../inc/setup_functions.inc.php): failed to open stream: No such file or directory in /home/ezytecco/public_html/support/install/install_functions.inc.php on line 58

Where could this missing file have gone?

Thanks,
Damo

Re: Missing setup_functions.inc.php

Posted: Sat Feb 04, 2017 10:06 am
by Klemen
The missing file is included in Hesk, not in Mods for Hesk.

According to Mods for Hesk instructions, you should first install Hesk, only then start Mods for Hesk installation.

Re: Missing setup_functions.inc.php

Posted: Sat Feb 04, 2017 12:14 pm
by ezytec
Ahh, I see what's happening now. Looks like my "drag and drop" to web server is overwriting whole folders rather than merging the folder contents. That would explain the issues I'm having.

Thanks for your help.