Installation problem. No autoload_psr4.php

Need help installing Joomla! 4.x? For all Joomla! 4.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
MaDamO
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Oct 24, 2022 11:35 am

Installation problem. No autoload_psr4.php

Post by MaDamO » Mon Oct 24, 2022 11:42 am

Hello,

I wanted to install Joomla on the new server and here's a surprise. The first screen and the problem:

Code: Select all

An error has occurred while processing your request.
0 Failed opening required '/var/www/html/joomla/administrator/cache/autoload_psr4.php' (include_path='.:/usr/share/pear:/usr/share/php:/usr/share/pear:/usr/share/php')

Code: Select all

# php -v
PHP 8.1.11 (cli) (built: Sep 28 2022 09:08:05) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.11, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.11, Copyright (c), by Zend Technologies

# ls
Joomla_4-2-3-Stable-Full_Package

# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
I read on the web that autoload_psr4.php should be generated automatically during the installation process. However, when I check the path, it is not there. php.ini - in the original, I didn't change anything there.

Perhaps someone met with such a mistake and fought it?

Thank you in advance for any suggestions.

Mario
Last edited by imanickam on Mon Oct 24, 2022 12:50 pm, edited 1 time in total.
Reason: Moved topic » from General Questions/New to Joomla! 4.x to Installation Joomla! 4.x

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 15453
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Installation problem. No autoload_psr4.php

Post by toivo » Tue Oct 25, 2022 12:08 am

MaDamO wrote:
Mon Oct 24, 2022 11:42 am

Code: Select all

# ls
Joomla_4-2-3-Stable-Full_Package
The name of the package is different from the usual Joomla_4.2.3-Stable-Full_Package.zip. Where did you download Joomla 4.2.3 from?
Toivo Talikka, Global Moderator

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 42363
Joined: Sat Apr 05, 2008 9:58 pm

Re: Installation problem. No autoload_psr4.php

Post by Webdongle » Thu Dec 01, 2022 10:54 am

Hi MaDamO welcome

please see https://forumpostassistant.github.io/docs/ by running that script and posting the results here we can help better.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Post Reply

Return to “Installation Joomla! 4.x”