Upgrade from 3.2.8 to 3.3.13 is resulting in multiple "PHP Warning" error messages; unable to access site index page.

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
MWmetalhead
Registered User
Posts: 26
Joined: Sat Oct 22, 2005 11:46 am

Upgrade from 3.2.8 to 3.3.13 is resulting in multiple "PHP Warning" error messages; unable to access site index page.

Post by MWmetalhead »

URL:
https://www.mibuzzboard.com/phpBB3/index.php

I am unable to see my forum listing, and instead, see a white page displaying the following debug errors:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/composer/ClassLoader.php on line 576: include([ROOT]/vendor/composer/../symfony/yaml/Parser.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/composer/ClassLoader.php on line 576: include(): Failed opening '[ROOT]/vendor/composer/../symfony/yaml/Parser.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear')
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/composer/ClassLoader.php on line 576: include([ROOT]/vendor/composer/../symfony/yaml/Parser.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/composer/ClassLoader.php on line 576: include(): Failed opening '[ROOT]/vendor/composer/../symfony/yaml/Parser.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear')
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/composer/ClassLoader.php on line 576: include([ROOT]/vendor/composer/../symfony/yaml/Parser.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/composer/ClassLoader.php on line 576: include(): Failed opening '[ROOT]/vendor/composer/../symfony/yaml/Parser.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear')[/quote]


I've tried clearing the cache and reinstalling the vendor folder, but unfortunately, that did not do the trick.

Many thanks in advance to anyone who is able to assist!
Last edited by Mick on Tue Oct 15, 2024 9:08 am, edited 1 time in total.
Reason: Code tags added for clarity.
User avatar
RomaamoR
Registered User
Posts: 289
Joined: Tue Feb 24, 2015 4:45 pm
Location: Ukraine
Name: Roman

Re: Upgrade from 3.2.8 to 3.3.13 is resulting in multiple "PHP Warning" error messages; unable to access site index page

Post by RomaamoR »

The errors you see indicate a problem with including the Parser.php file from the symfony/yaml package. More specifically:

File not found: The error says that the script is trying to include the Parser.php file, but it can't find it.

This file may be missing or incorrectly installed in the vendor/composer/../symfony/yaml/ folder.
Problem with include_path: The path where PHP is trying to find the file may also be incorrect. In your case, it uses the default .:/opt/cpanel/ea-php74/root/usr/share/pear, which probably doesn't contain the necessary files.

Possible solutions:
Reinstall dependencies via Composer:

Try composer install or composer update to make sure all dependencies, including the symfony/yaml package, are installed correctly.
Check for file presence:

Make sure the Parser.php file exists in the vendor/symfony/yaml/ directory. If it is not there, the problem may be with incomplete installation of packages.
Check PHP version:

Errors show that PHP 7.4 (ea-php74) is being used. Make sure that the PHP version matches the requirements of your project.
These steps should help resolve this issue.
User avatar
warmweer
Jr. Extension Validator
Posts: 11784
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Upgrade from 3.2.8 to 3.3.13 is resulting in multiple "PHP Warning" error messages; unable to access site index page

Post by warmweer »

MWmetalhead wrote: Mon Oct 14, 2024 4:42 pm ...
I've tried clearing the cache and reinstalling the vendor folder, but unfortunately, that did not do the trick.

Many thanks in advance to anyone who is able to assist!
I can see your board perfectly fine.

Try clearing board and browser cache.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
MWmetalhead
Registered User
Posts: 26
Joined: Sat Oct 22, 2005 11:46 am

Re: Upgrade from 3.2.8 to 3.3.13 is resulting in multiple "PHP Warning" error messages; unable to access site index page

Post by MWmetalhead »

I've determined that when the Extensions module is active in ACP, the issue appears.

When the Extensions module is disabled, the issue does not occur.

Why would this be? I would like to be able to reinstall Extensions for use on my site.
User avatar
RomaamoR
Registered User
Posts: 289
Joined: Tue Feb 24, 2015 4:45 pm
Location: Ukraine
Name: Roman

Re: Upgrade from 3.2.8 to 3.3.13 is resulting in multiple "PHP Warning" error messages; unable to access site index page

Post by RomaamoR »

warmweer wrote: Mon Oct 14, 2024 5:07 pm
MWmetalhead wrote: Mon Oct 14, 2024 4:42 pm ...
I've tried clearing the cache and reinstalling the vendor folder, but unfortunately, that did not do the trick.

Many thanks in advance to anyone who is able to assist!
I can see your board perfectly fine.

Try clearing board and browser cache.
This is all I see.
Image

Return to “[3.3.x] Support Forum”