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
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatal error after install
#1
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
  Reply
#2
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?
  Reply
#3
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,...

  Reply
#4
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

  Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)