Missing autoload_psr4.php

Be informed that this forum is not an official support forum for Joomla! 4.0. Any issues regarding Joomla! 4.0 must be reported at https://issues.joomla.org/.

Joomla 4.0 is still in Beta stage. This forum should be used for sharing information about Joomla! 4.0.

Moderator: ooffick

Forum rules
Post Reply
skurvish
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Oct 27, 2008 2:41 pm

Missing autoload_psr4.php

Post by skurvish » Thu Jun 04, 2020 12:14 pm

I installed the latest J from github this morning into a clean directory. I switched to the 4.0-dev branch. Ran composer install and npm -ci and all seemed to work OK. Trying to access the installation I immediately get a 500 error.

Using phpstorm I find that namespacemap.php at line 93 is attempting to requite /administrator/cache/autoload_psr4.php which does not exist in my clean installation. There is also no file by this name in the jpath_root directory.

Did I do something wrong on the install or is this actually an issue with the current repo?

 
User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11935
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Missing autoload_psr4.php

Post by brian » Thu Jun 04, 2020 12:46 pm

That file should be automatically generated on load
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
ceford
Joomla! Intern
Joomla! Intern
Posts: 93
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Missing autoload_psr4.php

Post by ceford » Thu Jun 04, 2020 5:00 pm

Is this a write permissions problem?

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11935
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Missing autoload_psr4.php

Post by brian » Thu Jun 04, 2020 9:41 pm

I believe this has been addressed in a duplicate posting on the issue tracker
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

 

Post Reply

Return to “Joomla! 4 Related”