Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS on homepage not loading and all subpage produces 404 errors #1124

Open
jemiller1963 opened this issue Jun 23, 2023 · 2 comments
Open

CSS on homepage not loading and all subpage produces 404 errors #1124

jemiller1963 opened this issue Jun 23, 2023 · 2 comments

Comments

@jemiller1963
Copy link

The install completed fine, but when the homepage is loaded, it is evident that the CSS files are not loaded. Please take a look at the screenshot I've attached. In addition, none of the subpages, e.g. /help/about, /blog, render. They produce a 404 error.

Here is my Environment:
Apache/2.4.38 (Debian)
PHP 8.0.19
MySQL Server 5.7.29

Here is the directory structure:
docker-compose exec webserver bash
root/pH7-Social-Dating-CMS@fa1c6bc7d461:/var/www/html# ls -lag
total 144
drwxr-xr-x 28 root 896 Jun 23 19:42 .
drwxr-xr-x 1 root 4096 May 28 2022 ..
-rw-r--r-- 1 root 6148 Jun 23 19:58 .DS_Store
-rw-rw-rw- 1 root 771 Apr 13 12:10 COPYRIGHT.md
-rw-rw-rw- 1 root 330 Apr 13 12:10 HELP_US.txt
-rw-rw-rw- 1 root 1105 Apr 13 12:10 LICENSE.md
-rw-rw-rw- 1 root 19155 Apr 13 12:10 README.md
-rw-rw-rw- 1 root 1242 Apr 13 12:10 README2.txt
-rw-rw-rw- 1 root 2611 Apr 13 12:10 WebsiteChecker.php
-rw-r--r-- 1 www-data 2480 Jun 23 20:08 _constants.php
drwxr-xr-x 9 root 288 Apr 13 12:10 _protected
drwxr-xr-x 8 root 256 Apr 13 12:10 _repository
drwxr-xr-x 3 root 96 Jun 23 19:42 assets
-rw-rw-rw- 1 root 3514 Apr 13 12:10 composer.json
drwxr-xr-x 6 root 192 Apr 13 12:10 data
-rw-rw-rw- 1 root 5558 Apr 13 12:10 favicon.ico
-rw-r--r-- 1 root 2905 Jun 23 19:42 homepage.php
-rw-rw-rw- 1 root 1244 Apr 13 12:10 humans.txt
-rw-rw-rw- 1 root 1107 Apr 13 12:10 index.php
-rw-rw-rw- 1 root 1208 Apr 13 12:10 'installation-instructions-(start-here).txt'
-rw-r--r-- 1 root 18 Jun 23 19:42 phpinfo.php
-rw-rw-rw- 1 root 523 Apr 13 12:10 robots.txt
-rw-rw-rw- 1 root 38439 Apr 13 12:10 sample.htaccess
-rw-rw-rw- 1 root 2464 Apr 13 12:10 service-worker.js
drwxr-xr-x 9 root 288 Apr 13 12:10 static
drwxr-xr-x 5 root 160 Apr 13 12:10 templates
-rw-r--r-- 1 root 419 Jun 23 19:42 test_db.php
-rw-r--r-- 1 root 372 Jun 23 19:42 test_db_pdo.php

Screenshots / Screencasts
Screen Shot 2023-06-23 at 4 53 42 PM
Screen Shot 2023-06-23 at 4 53 05 PM

@3N3R4M0
Copy link

3N3R4M0 commented Jul 26, 2023

same problem happening here, please we need a fix asap, thanks

@ggtd
Copy link

ggtd commented Aug 8, 2023

@jemiller1963

  1. Be sure to enable "mod_rewrite":

$a2enmod rewrite

  1. Try to find "AllowOverride" in your Apache Config

And change "AllowOverride" to "All"

  1. Restart Apache
apache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants