The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Fatal error after install - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Fatal error after install (/showthread.php?tid=908)



Fatal error after install - NailenBarkins - 01-09-2018

Hi,

after instalation i got this message:

<pre>
Code:
Warning: require_once(/home/www/uctenka.eu/www/users/helpers/helpers.php): failed to open stream: No such file or directory in /home/www/uctenka.eu/subdomains/coinstock3/users/init.php on line 24

Fatal error: require_once(): Failed opening required '/home/www/uctenka.eu/www/users/helpers/helpers.php' (include_path='.') in /home/www/uctenka.eu/subdomains/coinstock3/users/init.php on line 24
</pre>


On the line 24 is code:
Code:
require_once $abs_us_root.$us_url_root.'users/helpers/helpers.php';

I try add this code:

<pre>
Code:
echo "<pre>";
var_dump($abs_us_root);
var_dump($us_url_root);
echo "</pre>";
</pre>


I got the same message. var_dump contein this:

<pre>
Code:
string(24) "/home/www/uctenka.eu/www"
string(1) "/"
</pre>


Where could be problem? Thanks

Nailen


Fatal error after install - mudmin - 01-09-2018

Before we start digging through code, can you give me a little bit of info about your server?

Is it a shared host, vps, or on your local machine? Guessing it's one of the first two.
Do you know what version of php you're using?



Fatal error after install - NailenBarkins - 01-09-2018

Hi mudmin,

I have webhosting https://ebola.cz/webhosting
I have tariff Advanced. But is not described English.
I use PHP 7.1 I can switch to 7.0, 5.6,...




Fatal error after install - mudmin - 01-09-2018

Yeah. There has to be some sort of configuration issue with apache/nginx because you're getting
require_once
/home/www/uctenka.eu/www/users/helpers/helpers.php
but init.php is in
/home/www/uctenka.eu/subdomains/coinstock3/users/init.php


So what happens if you copy the entire userspice install to
/home/www/uctenka.eu/www