Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: A PHP Error was encountered
r3nato
Newbie
Posts: 4
Post A PHP Error was encountered
on: September 14, 2019, 08:24

Hello, i got this error on my sites:

A PHP Error was encountered
Severity: Warning
Message: file_exists(): open_basedir restriction in effect. File(/tmp/ftt2_geo.mmdb) is not within the allowed path(s): (/home/admin/web/domain.com/public_html:/home/admin/tmp)
Filename: ftt2/functions.php
Line Number: 18

also all the hits that goes to ftt2/o.php is going to filtered trafific, not to trades.

please help

admin
Administrator
Posts: 129
Post Re: A PHP Error was encountered
on: September 14, 2019, 08:54

Hello, can you turn off open_basedir in php.ini?

r3nato
Newbie
Posts: 4
Post Re: A PHP Error was encountered
on: September 14, 2019, 09:10

the open_basedir is turned off from start.

admin
Administrator
Posts: 129
Post Re: A PHP Error was encountered
on: September 14, 2019, 09:28

Maybe in .user.ini or in php-fpm configuration directory. You can upload phpinfo.php file with contents: <?php phpinfo() ?> and look for the output of open_basedir and parsed config files.

r3nato
Newbie
Posts: 4
Post Re: A PHP Error was encountered
on: September 14, 2019, 09:31

http://babegirl.icu/info.php

I see that open_basedir is at:

/home/admin/web/babegirl.icu/public_html:/home/admin/tmp

admin
Administrator
Posts: 129
Post Re: A PHP Error was encountered
on: September 14, 2019, 09:37

Look for parsed config files, find open_basedir in that files and change it to none. If you use control panel - do it in control panel.
It may be in apache config file also. As
php_admin_value open_basedir "blablabla"

r3nato
Newbie
Posts: 4
Post Re: A PHP Error was encountered
on: September 14, 2019, 09:55

I have checked all mentioned files. The open_basedir is disabled on all of it, so it must be other solution for this. I wanna let you know that I use a proxy server, maybe has anything related to this.

Thanks

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.33.3 ; Page loaded in: 0.025 seconds.