FileLocatorFileNotFoundException accessing board

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Bugrup
Registered User
Posts: 2
Joined: Tue Apr 20, 2021 11:28 am

FileLocatorFileNotFoundException accessing board

Post by Bugrup »

Hi folks,

I've tried installing the software twice now, phpBB 3.3.3, and both times I've had the same result.

The process completes, and when I click "Take me to the ACL" it logs me in and opens the management pages etc just fine, and I can browse about, create categories and forums, etc.

https://mysite/adm/index.php <-- works fine

But when I attempt to access the actual board, it falls over with a missing file error.

https://mysite ( also https://mysite/index.php ) <-- falls over with...

Code: Select all

Fatal error: Uncaught Symfony\Component\Config\Exception\FileLocatorFileNotFoundException: 

The file "config/production/routing/environment.yml" does not exist (in: ""). in <my site>\vendor\symfony\config\FileLocator.php:71 

Stack trace: #0 <my site>\vendor\symfony\routing\Loader\YamlFileLoader.php(46): 

Symfony\Component\Config\FileLocator->locate('config/producti...') 

#1 <my site>\vendor\symfony\config\Loader\DelegatingLoader.php(40): 

Symfony\Component\Routing\Loader\YamlFileLoader->load('config/producti...', 'yaml') 

#2 <my site>\phpbb\routing\router.php(116): 

Symfony\Component\Config\Loader\DelegatingLoader->load('config/producti...', 'yaml') 

#3 <my site>\phpbb\routing\router.php(261): 

phpbb\routing\router->get_routes() 

#4 <part of my site> in <my site>\vendor\symfony\config\FileLocator.php on line 71
Well, it looks pretty simple at first glance : The file "config/production/routing/environment.yml" does not exist

Except it does. I checked. It contains the following...

Code: Select all

core.default:
    resource: ../../default/routing/routing.yml
I thought perhaps somethat had gone wrong the first time, so I deleted everything (files and database tables) and started again from scratch.

Exactly the same outcome.

The only thing I noticed was at the very end of the stack trace...

Code: Select all

#4 <part of my site> in <my site>\vendor\symfony\config\FileLocator.php on line 71
It didn't list the entire site path in the first part (everywhere else did).

The site path ends in "/public_html", which is where the root of the site sits.

That particular line ended in "/public", missing out the "_html" on the end.

But only for the first part, as I said, the bit before the "in", the bit after the "in" listed it all correctly, as did everywhere else.

Any thoughts or advice, please?

Thanks!
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: FileLocatorFileNotFoundException accessing board

Post by david63 »

How did you install your board - was it by using the files from this site or did you use your hosts "one click" install?

If you used the files from here did you unzip them on the server or on your local machine and then upload them?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
Bugrup
Registered User
Posts: 2
Joined: Tue Apr 20, 2021 11:28 am

Re: FileLocatorFileNotFoundException accessing board

Post by Bugrup »

david63 wrote: Tue Apr 20, 2021 12:37 pm How did you install your board - was it by using the files from this site or did you use your hosts "one click" install?

If you used the files from here did you unzip them on the server or on your local machine and then upload them?
I downloaded the ZIP file from here ( phpBB-3.3.3.zip ), unzipped it to my local machine, and then uploaded them via FTP.

Went to the base of the site ( https://mysite ) and that started up the Install process.

Followed that through, all completed ok, so I clicked "Take me to the ACL", and all that side works fine.

But going back to the base of the site ( https://mysite ) now gives the above error, and clicking "Board Index" from the ACL pages takes me to https://mysite/index.php?sid=<key> which gives the exact same error.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: FileLocatorFileNotFoundException accessing board

Post by david63 »

It would make life a lot easier if you were to have the correct url for your site so that we can take a look at what is happening
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: FileLocatorFileNotFoundException accessing board

Post by thecoalman »

Is this Windows server? It's likely related to this:

https://tracker.phpbb.com/browse/PHPBB3-15168
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
Post Reply

Return to “[3.3.x] Support Forum”