WillyXJ / facileManager

A modular suite of web apps built with the sysadmin in mind.
www.facilemanager.com
GNU General Public License v2.0
87 stars 37 forks source link

Issue with Install.php and any other .php file #635

Open sandrob1992 opened 5 days ago

sandrob1992 commented 5 days ago

Hello Community

I'm trying to run FacileManager, i started with server side.

I did everything according to documentation, but when i got to appropriate link to start "install.php" nothing happens, just blank white environment, same happens when i try to open any kind of .php file from appropriate link. For example when i got to >>>>>>>>> http://172.30.128.179/facileManager/install.php <<<<just a white environment....

I am running it on Rocky Linux 9.4 version

PHP 8.0.30 (cli) (built: Aug 3 2023 17:13:08) ( NTS gcc x86_64 ) Copyright (c) The PHP Group Zend Engine v4.0.30, Copyright (c) Zend Technologies with Zend OPcache v8.0.30, Copyright (c), by Zend Technologie

Server version: Apache/2.4.57 (Rocky Linux) Server built: Aug 5 2024 00:00:00

mysql> SELECT VERSION(); +-----------+ | VERSION() | +-----------+ | 8.0.36 | +-----------+

everything is up, i have checked .php support and everything is normal....i don't understand where to search for the issue....

WillyXJ commented 5 days ago

A blank screen can mean the web server threw a code. What do the web server logs say?

sandrob1992 commented 5 days ago

A blank screen can mean the web server threw a code. What do the web server logs say?

Hello Willy

Thanks for your reply

I have passed that issue, now i am gonna install it. In case it will get complicated i will get in touch,,,, thanks again

image

image

it's going better

image

installation is done!


but i'm stuck here....

image

sandrob1992 commented 5 days ago

A blank screen can mean the web server threw a code. What do the web server logs say?

Issue now here

image

image

WillyXJ commented 5 days ago

"No input file specified" is a new one. Are any of these solutions relevant to your environment? fM does use REQUEST_URI.

I've not tested on Rocky 9 yet. Please provide exact steps to duplicate the error so that I can stand up a test environment.

sandrob1992 commented 5 days ago

"No input file specified" is a new one. Are any of these solutions relevant to your environment? fM does use REQUEST_URI.

I've not tested on Rocky 9 yet. Please provide exact steps to duplicate the error so that I can stand up a test environment.

My exact steps where:

1) Rocky 9.4 (with updated packages)

2) dnf install php-mysqlnd.x86_64 (install php with mysql support)

3) dnf install php php-mysqlnd php-mbstring php-xml (i also added additional extensions)

4) dnf install mysql-server.x86_64

5) dnf install httpd.x86_64

6) dnf install php-process (posix-extensions for php)

++++++++++++++++++++++++++++++++++++ httpd.conf

image

this is what i have done....maybe i am doing something wrong? or missing out something before starting installation procedure?

++++++++++++++++++++++++++++++++++++

[root@localhost ~]# php -m | grep -i mysql mysqli mysqlnd pdo_mysql ++++++++++++++++++++++++++++++++++++ [root@localhost ~]# php -v PHP 8.0.30 (cli) (built: Aug 3 2023 17:13:08) ( NTS gcc x86_64 ) Copyright (c) The PHP Group Zend Engine v4.0.30, Copyright (c) Zend Technologies with Zend OPcache v8.0.30, Copyright (c), by Zend Technologies ++++++++++++++++++++++++++++++++++++ mysql> SELECT VERSION(); +-----------+ | VERSION() | +-----------+ | 8.0.36
++++++++++++++++++++++++++++++++++++ [root@localhost ~]# httpd -v Server version: Apache/2.4.57 (Rocky Linux) Server built: Aug 5 2024 00:00:00 ++++++++++++++++++++++++++++++++++++

.htaccess

Header set Cache-Control "max-age=7200" Header set Cache-Control "max-age=2592000" RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L]

++++++++++++++++++++++++++++++++++++

image

i tried to put those core files directly in html folder...without any subdirectories....installed it normally as i said....

i can go to appropriate address, i can see the login page....but as i said after logging in i get "File not found." URL changes to http://172.30.128.179/admin-modules.php

thing is that admin-modules.php does not exists directly in html dir....it exists in "/var/www/html/fm-modules/facileManager/pages"

maybe it's lacking some pre-installation rights?

tomorrow i will try on rocky 8.4

WillyXJ commented 5 days ago

Check your SELinux rules. With a quick test on Rocky9, fM works just fine with SELinux disabled, but denied access to the htaccess file when enabled.