PHPBB 3.2.x Attachment Settings Error PHP7

Find best Web Development tips and Tricks.
Post Reply
arnlweb
Site Admin
Posts: 92
Joined: Wed Jun 22, 2016 1:28 pm
Location: India
Contact:

PHPBB 3.2.x Attachment Settings Error PHP7

Post by arnlweb » Fri Sep 15, 2017 12:40 pm

/adm/index.php?sid=dcc5be3d3939e080590ee4f0a89c3c84&i=acp_attachments&mode=attach

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 590: file_exists(): open_basedir restriction in effect. File(/usr/local/bin/) is not within the allowed path(s): ([ROOT]:/home/admin/tmp)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 595: file_exists(): open_basedir restriction in effect. File(/usr/local/bin/) is not within the allowed path(s): ([ROOT]:/home/admin/tmp)


Host settings:

Code: Select all

<VirtualHost 50.30.38.199:8080>

    ServerName forum.example.com
    ServerAlias www.forum.example.com
    ServerAdmin [email protected]
    DocumentRoot /home/admin/web/forum.example.com/public_html
    ScriptAlias /cgi-bin/ /home/admin/web/forum.example.com/cgi-bin/
    Alias /vstats/ /home/admin/web/forum.example.com/stats/
    Alias /error/ /home/admin/web/forum.example.com/document_errors/
    #SuexecUserGroup admin admin
    CustomLog /var/log/apache2/domains/forum.example.com.bytes bytes
    CustomLog /var/log/apache2/domains/forum.example.com.log combined
    ErrorLog /var/log/apache2/domains/forum.example.com.error.log
    <Directory /home/admin/web/forum.example.com/public_html>
        AllowOverride All
        Options +Includes -Indexes +ExecCGI
        php_admin_value open_basedir /home/admin/web/forum.example.com/public_html:/home/admin/tmp
        php_admin_value upload_tmp_dir /home/admin/tmp
        php_admin_value session.save_path /home/admin/tmp
    </Directory>
    <Directory /home/admin/web/forum.example.com/stats>
        AllowOverride All
    </Directory>

    <IfModule mod_ruid2.c>
        RMode config
        RUidGid admin admin
        RGroups www-data
    </IfModule>
    <IfModule itk.c>
        AssignUserID admin admin
    </IfModule>

    IncludeOptional /home/admin/conf/web/apache2.forum.example.com.conf*

</VirtualHost>
Can you solve it?

Post Reply