-
Notifications
You must be signed in to change notification settings - Fork 13
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
WordPress can't locate any of the assets #17
Comments
The Dudestack installation debug:
And the WordPress debugs:
|
Could probably relate to some problems with nginx / php-fpm. Could probably try to uninstall / remove all the packages with related confs and reinstalling macos-lemp. Now can't locate any errors which could cause the problem. /opt/homebrew/etc/nginx/nginx.conf:
/opt/homebrew/etc/nginx/php.conf:
/opt/homebrew/etc/php/8.3/php-fpm.d/www.conf:
|
I reinstalled macOS LEMP and went through the installation process again, but the issue persisted, likely due to nginx configuration settings. I performed a fresh WordPress installation directly into the root directory of the project at /var/www/project using the same environment (macOS LEMP as provided by you). It’s now working as expected. Additionally, while trying Dudestack, I had to hardcode the .env variables into /askvars.sh to ensure the WordPress installation was successful. Without this, the installation was failing. |
After following Macos LEMP instructions (https://github.com/digitoimistodude/macos-lemp-setup/blob/master/README.md) and using Dudestack createproject WordPress can't locate any of the assets.
Using Macbook Pro M1
GET https://project.test/wp/wp-includes/css/admin-bar.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:17 GET https://project.test/wp/wp-includes/css/dashicons.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:22 GET https://project.test/wp/wp-includes/js/thickbox/thickbox.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:23 GET https://project.test/wp/wp-admin/css/common.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:26 GET https://project.test/wp/wp-admin/css/dashboard.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:24 GET https://project.test/wp/wp-admin/css/forms.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:25 GET https://project.test/wp/wp-admin/css/admin-menu.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:28 GET https://project.test/wp/wp-admin/css/edit.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:27 GET https://project.test/wp/wp-admin/css/list-tables.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:29 GET https://project.test/wp/wp-admin/css/revisions.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:30 GET https://project.test/wp/wp-admin/css/media.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:31 GET https://project.test/wp/wp-admin/css/themes.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:32 GET https://project.test/wp/wp-admin/css/about.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:33 GET https://project.test/wp/wp-admin/css/nav-menus.css?ver=6.7 net::ERR_ABORTED 404 (Not Found) options-general.php:35
php -v:
PHP 8.3.15 (cli) (built: Dec 17 2024 18:18:02) (NTS) Copyright (c) The PHP Group Zend Engine v4.3.15, Copyright (c) Zend Technologies with Xdebug v3.4.0, Copyright (c) 2002-2024, by Derick Rethans with Zend OPcache v8.3.15, Copyright (c), by Zend Technologies
which php:
/opt/homebrew/opt/[email protected]/bin/php
sudo nginx -t:
nginx: the configuration file /opt/homebrew/etc/nginx/nginx.conf syntax is ok nginx: configuration file /opt/homebrew/etc/nginx/nginx.conf test is successful
nginx/error.log doesn't give any clues of the problem.
The text was updated successfully, but these errors were encountered: