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: 130
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: 130
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: 130
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

denlow1990
Newbie
Posts: 2
Post Re: A PHP Error was encountered
on: September 27, 2022, 14:08

If you went to the site https://freepaperwriter.com/ in search of information, it means that you have already made a decision to order a job. This is natural and understandable, because it is impossible to have time for everything at once. To buy a term paper is very often the only right decision, since there is a sorely lack of time for its worthy design. Coursework to order will help save you valuable time, make your work schedule less stressful

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