Root Ownership problem
"Forbidden
You don't have permission to access /index.php on this server.
Server unable to read htaccess file, denying access to be safe
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."
public_html user:user
All folder are same user:user
But folder > folder it's different root.
I need this to default cpanel permissions / ownership by username.
I used EasyApache 4.
Apache 2.4
config
config-runtime
mod_asis
mod_bwlimited
mod_cgi
mod_deflate
mod_env
mod_expires
mod_headers
mod_mpm_prefork
mod_proxy
mod_proxy_http
mod_security2
mod_ssl
mod_suexec
mod_suphp
mod_unique_id
mod_version
tools
PHP 7.1
pear
php-cli
php-common
php-devel
php-ftp
php-iconv
php-litespeed
php-posix
php-xml
runtime
Others
apr
apr-util
cpanel-tools
documentroot
libmcrypt
modsec-sdbm-util
php-cli
php-cli-lsphp
profiles-cpanel
-
Forbidden You don't have permission to access /index.php on this server. Server unable to read htaccess file, denying access to be safe
Hello, Could you let us know the output to /usr/local/apache/logs/error_log when this happens? Please also see this thread: SOLVED - Permissions and Ownerships issues Thank you.0 -
I just fixed it, Today i deleted all folder and php script for root:root, then i uploaded from cPanel file manager only. Then extract unzip it's works fine. -------------------------------- But i got keep for error ErrorException: Fatal Error: Cannot use lexical variable $eventName as a parameter name - A non-numeric value encountered in /home/xxxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 523: 522: $userBar_headerTabHeight_outer = ''; 523: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom')); 524: $__compilerVar6 .= '
I enabled debug mode by library/config.php I use PHP 7.1 (EasyApache 4) Apache 2.4 config config-runtime mod_bwlimited mod_cgi mod_deflate mod_expires mod_headers mod_mpm_prefork mod_proxy mod_proxy_fcgi mod_proxy_http mod_ruid2 mod_security2 mod_ssl mod_unique_id tools PHP 7.1 libc-client pear php-bcmath php-calendar php-cli php-common php-curl php-devel php-fpm php-ftp php-gd php-iconv php-imap php-litespeed php-mbstring php-mcrypt php-mysqlnd php-pdo php-posix php-sockets php-xml runtime Others apr apr-util cpanel-tools documentroot libmcrypt modsec-sdbm-util php-cli php-cli-lsphp profiles-cpanel
MySQL Version: 10.1.20-MariaDB0 -
ErrorException: Fatal Error: Cannot use lexical variable $eventName as a parameter name -
Hello, It's possible you are installing a version of the script that doesn't support PHP 7.1. However, this error doesn't relate to the cPanel software itself. You should contact the support team for the script you are installing or post on their support forums for help with that error message. Thanks!0 -
Hello, It's possible you are installing a version of the script that doesn't support PHP 7.1. However, this error doesn't relate to the cPanel software itself. You should contact the support team for the script you are installing or post on their support forums for help with that error message. Thanks!
However, Another my shared server ultimate from Namecheap, it's on PHP 7.0 it's works fine, there no error. I moved to vps server happens enabled for PHP 7.1, it's getting error. You told me this must to addon disable. I disabled all addon, it's keep error,Template Errors: PAGE_CONTAINER- ]
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 505: 504: $headerTabHeight_outer = ''; 505: $headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('headerTabHeight') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-top-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-top') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-bottom')); 506: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 505: 504: $headerTabHeight_outer = ''; 505: $headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('headerTabHeight') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-top-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-top') + XenForo_Template_Helper_Core::styleProperty('navTabs.padding-bottom')); 506: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 509: 508: $uix_fixedNavigationHeight_outer = ''; 509: $uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigationHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-bottom')); 510: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 509: 508: $uix_fixedNavigationHeight_outer = ''; 509: $uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigationHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-bottom')); 510: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 509: 508: $uix_fixedNavigationHeight_outer = ''; 509: $uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigationHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-bottom')); 510: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 509: 508: $uix_fixedNavigationHeight_outer = ''; 509: $uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigationHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-bottom')); 510: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 514: 513: $uix_tabLinksHeight_outer = ''; 514: $uix_tabLinksHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeight') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-top-width')); 515: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 514: 513: $uix_tabLinksHeight_outer = ''; 514: $uix_tabLinksHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeight') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-top-width')); 515: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 518: 517: $uix_tabLinksHeightSticky_outer = ''; 518: $uix_tabLinksHeightSticky_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeightSticky') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-top-width')); 519: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 518: 517: $uix_tabLinksHeightSticky_outer = ''; 518: $uix_tabLinksHeightSticky_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeightSticky') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-top-width')); 519: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 518: 517: $uix_tabLinksHeightSticky_outer = ''; 518: $uix_tabLinksHeightSticky_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeightSticky') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-top-width')); 519: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 523: 522: $userBar_headerTabHeight_outer = ''; 523: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom')); 524: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 523: 522: $userBar_headerTabHeight_outer = ''; 523: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom')); 524: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 523: 522: $userBar_headerTabHeight_outer = ''; 523: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom')); 524: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 523: 522: $userBar_headerTabHeight_outer = ''; 523: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom')); 524: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 527: 526: $userBar_uix_fixedNavigationHeight_outer = ''; 527: $userBar_uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-bottom')); 528: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 527: 526: $userBar_uix_fixedNavigationHeight_outer = ''; 527: $userBar_uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-bottom')); 528: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 527: 526: $userBar_uix_fixedNavigationHeight_outer = ''; 527: $userBar_uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-bottom')); 528: $__compilerVar6 .= '
- A non-numeric value encountered in /home/xxxxxxx/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 527: 526: $userBar_uix_fixedNavigationHeight_outer = ''; 527: $userBar_uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-bottom')); 528: $__compilerVar6 .= '
I need change to PHP 7.0? Will be working?0 -
I need change to PHP 7.0? Will be working?
This is an issue with the specific PHP script as opposed to the cPanel/WHM software. You can try enabling PHP 7.0 for that account via "WHM >> MultiPHP Manager" to see if it works under PHP 7.0. Thank you.0 -
This is an issue with the specific PHP script as opposed to the cPanel/WHM software. You can try enabling PHP 7.0 for that account via "WHM >> MultiPHP Manager" to see if it works under PHP 7.0. Thank you.
SenpaiMichael! Thank you, it's worked issue. How i do install a imagick and latest version?0 -
How i do install a imagick and latest version?
There's a thread on that at: Installing Imagick CentOS 7 Thanks!0
Please sign in to leave a comment.
Comments
7 comments