Closed jvlang closed 2 years ago
I believe I have found the culprit! After reading very carefully through the Drupal installation documentation on drupal.org I found a reference to "Not Found" 404 might be related to 'Clean URLs' settings... So, manually over-riding the 'clean URL' to include the ?p= I am able to navigate to the /admin sections... and so was able to disable the Clean URL setting...
Clean URLs Warning message: The clean URL test failed. Use URLs like example.com/user instead of example.com/?q=user.
Clean URLs cannot be enabled. If you are directed to this page or to a Page not found (404) error after testing for clean URLs, see the online handbook.
The MukurtuCMS installer sets to Clean URLs by default which does not appear to work with MAMP web server? Issue is now resolved. Curious though, why my Drupal v9 worked out of the box, does Drupal v9 have a different way of handling the URLs than v7 that Mukurtu is based on?
@jvlang Glad you hear you figured it out! Clean URLS (since it is so tied to the hosting environment settings, IIS vs Apache, XAMPP, WAMP, MAMP, etc..) can a bit of a pickle. If I remember correctly, the base default Drupal installer (which we customized for Mukurtu CMS) enables clean urls by default. I don't think we have had a need to do a deep dive on the details of the differences between 7 & 9 clean url handling but it is definitely something to keep in the mind. thanks for reaching out and let us know if run into any more issues
Looking into MukurtuCMS for a project I might be heading up soon. I wanted to install a local (LAN) sandbox instance to trail/test and I'm having trouble getting it installed.
I get through to "The install script will run for another 3-5 minutes. After this, you are provided with a link to the site. Click on it to ensure the profile installation was successful." but when I attempt to get to /admin to set permissions or cron etc. i'm presented with the "Not Found" 404 error page. Same with any link/navigation on the initial page presented after "Click on it to ensure the profile installation was successful."
My environment is: Web Server: Apache/2.4.48 (Unix) PHP Version: 7.4.21 Memory limit: 512M Database Version: 5.7.34 System: MySQL
I have a regular Drupal v9 'unami' demo /drupal running along side MukurtuCMS /mukurtu that runs as expected, along with an instance of WordPress /wordpress, so assume the web server is running as expected. Nothing in the MySQL log at all and nothing of interest in the apache log: [Wed Jul 06 12:00:17.204109 2022] [:notice] [pid 2992] FastCGI: process manager initialized (pid 2992) [Wed Jul 06 12:00:17.207892 2022] [mpm_prefork:notice] [pid 2984] AH00163: Apache/2.4.48 (Unix) OpenSSL/1.0.2u PHP/7.4.21 mod_wsgi/3.5 Python/2.7.13 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11 Perl/v5.30.1 configured -- resuming normal operations [Wed Jul 06 12:00:17.208440 2022] [core:notice] [pid 2984] AH00094: Command line: '/Applications/MAMP/Library/bin/httpd' [Wed Jul 06 12:11:26.871725 2022] [authz_core:error] [pid 3077] [client ::1:57244] AH01630: client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store, referer: http://localhost:8888/MAMP/?language=English [Wed Jul 06 12:12:43.746326 2022] [mpm_prefork:notice] [pid 2984] AH00169: caught SIGTERM, shutting down
The DS.store entry is erroneous i believe.
I have added: `$base_url = 'http://localhost:8888/mukurtu'; To the settings.php but still getting the Not Found error.
Any thoughts, and/or steps to help resolve?