Another - The file environment.yml does not exist

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
knowntobe
Registered User
Posts: 26
Joined: Thu Oct 04, 2007 5:27 pm

Another - The file environment.yml does not exist

Post by knowntobe » Fri Aug 03, 2018 9:26 am

Support Request Template
What version of phpBB are you using? phpBB 3.2.2
What is your board's URL? http://mydoor.co.uk
Who do you host your board with? APSnix
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? No
What version of phpBB3 did you update from? phpBB 3.1.0
What styles do you currently have installed? Default
What language(s) is your board currently using? English
Which database type/version are you using? MySQL 5
What is your level of experience? Comfortable with PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? moved my live 3.0.9 board/files to a test domain. removed all mods, did a DB clearn. Upgraded to 3.1 because going to 3.2.2 failed repeatedly. Now trying from 3.1 to 3.2.2 by removing all the files, uploading new, updating database, which was successful.

Admin panal works fine but main site does not.
Please describe your problem. I did find this post:
https://tracker.phpbb.com/browse/PHPBB3-15168

which was done back in April. I have the same errors listed by the OP and by that bug tracking report.

I would stick with a working 3.1 except thats not working properly. While all the pages load I have issues with CSS/JS files as phpbb is using server physcial file paths i.e. C:/HostingSpace/Domain/wwwroot/ etc for all mod related things (including built in ones).
Generated by SRT Generator

knowntobe
Registered User
Posts: 26
Joined: Thu Oct 04, 2007 5:27 pm

Re: Another - The file environment.yml does not exist

Post by knowntobe » Fri Aug 03, 2018 9:27 am

topic made, as requsted. Duplicate of issue found here viewtopic.php?f=556&t=2430796

Cache folder has Read/Write. Hosting is Windows. Board 3.0.9 works perfectly well and has done for many years.

knowntobe
Registered User
Posts: 26
Joined: Thu Oct 04, 2007 5:27 pm

Re: Another - The file environment.yml does not exist

Post by knowntobe » Fri Aug 03, 2018 2:47 pm

as Im mucking about trying to get this fixed, the full error I get on trying to load the index page is :


Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The file "config/production/routing/environment.yml" does not exist ( in: ).' in C:\HostingSpaces\username\domainname\wwwroot\vendor\symfony\config\FileLocator.php:67 Stack trace: #0 C:\HostingSpaces\username\domainname\wwwroot\vendor\symfony\routing\Loader\YamlFileLoader.php(46): Symfony\Component\Config\FileLocator->locate('config/producti...') #1 C:\HostingSpaces\username\domainname\wwwroot\vendor\symfony\config\Loader\DelegatingLoader.php(40): Symfony\Component\Routing\Loader\YamlFileLoader->load('config/producti...', 'yaml') #2 C:\HostingSpaces\username\domainname\wwwroot\phpbb\routing\router.php(116): Symfony\Component\Config\Loader\DelegatingLoader->load('config/producti...', 'yaml') #3 C:\HostingSpaces\username\domainname\wwwroot\phpbb\routing\router.php(261): phpbb\routing\router->get_routes() #4 C:\HostingSpaces\username\domainname\wwwroot\phpbb\routing\router.php(246): phpbb\routing\router->create_dumped_url_generator() #5 in C:\HostingSpaces\username\domainname\wwwroot\vendor\symfony\config\FileLocator.php on line 67

knowntobe
Registered User
Posts: 26
Joined: Thu Oct 04, 2007 5:27 pm

Re: Another - The file environment.yml does not exist

Post by knowntobe » Fri Aug 03, 2018 3:25 pm

Have tried a fresh install. Newly uploaded 3.2.2 to a blank hosting space. Fresh database newly created.
Exact same errors. Admin CP works, main site shows the above errors.

User avatar
david63
Registered User
Posts: 16103
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Another - The file environment.yml does not exist

Post by david63 » Fri Aug 03, 2018 3:37 pm

Have you tried the workaround in the tracker?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

knowntobe
Registered User
Posts: 26
Joined: Thu Oct 04, 2007 5:27 pm

Re: Another - The file environment.yml does not exist

Post by knowntobe » Fri Aug 03, 2018 3:47 pm

I have no idea how to apply it or I would.

I've dabbled with php but nothing complicated so not sure what Im supposed to edit. If anyone can provide some pointers I've love to try them.

knowntobe
Registered User
Posts: 26
Joined: Thu Oct 04, 2007 5:27 pm

Re: Another - The file environment.yml does not exist

Post by knowntobe » Sat Aug 04, 2018 8:48 am

have tried installing the latest RC1 in case its a bug thats been fixed, result was the same.

Its an inbuilt issue with phpbb sadly and without pointers theres nothing I can do about it.

knowntobe
Registered User
Posts: 26
Joined: Thu Oct 04, 2007 5:27 pm

Re: Another - The file environment.yml does not exist

Post by knowntobe » Mon Aug 06, 2018 7:17 pm

Is there any official way to get this confirmed as a bug? as it stands now theres no way I can ever upgrade

User avatar
3Di
Former Team Member
Posts: 13690
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Another - The file environment.yml does not exist

Post by 3Di » Mon Aug 06, 2018 8:12 pm

What PHP version are you running there?
Have you upgraded from 3.0.9 to 3.1.?? exactlY?
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

knowntobe
Registered User
Posts: 26
Joined: Thu Oct 04, 2007 5:27 pm

Re: Another - The file environment.yml does not exist

Post by knowntobe » Tue Aug 07, 2018 6:50 pm

I updated from 3.0.9 to 3.1 successfully but had the issue with extension css/js (even built in ones) paths using the servers physical path instead of relative i.e. trying to load css from C:/hosting space etc. So as thats no good I then...

upgraded successfully from 3.1 to 3.2.2. All goes through, admin panel works but the main site gets the above error. So..

Deleted everything, installed fresh phpbb 3.2.2 inc fresh database, Same issue.

tried upgrading to the latest RC, which went through ok but didn't fix the error.


As mentioned in the first post this is an issue that was discovered before, months ago, so its not unique. Examples are given of why it does this but no solutions offered yet.

I tried php 5.6 and 7. 5.6 to start with on all versions then 7 on the 3.2.

knowntobe
Registered User
Posts: 26
Joined: Thu Oct 04, 2007 5:27 pm

Re: Another - The file environment.yml does not exist

Post by knowntobe » Sat Aug 11, 2018 9:00 am

so....
knowntobe wrote:
Mon Aug 06, 2018 7:17 pm
Is there any official way to get this confirmed as a bug? as it stands now theres no way I can ever upgrade

User avatar
david63
Registered User
Posts: 16103
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Another - The file environment.yml does not exist

Post by david63 » Sat Aug 11, 2018 9:13 am

knowntobe wrote:
Sat Aug 11, 2018 9:00 am
so....
knowntobe wrote:
Mon Aug 06, 2018 7:17 pm
Is there any official way to get this confirmed as a bug? as it stands now theres no way I can ever upgrade
As it is already in the Bug Tracker awaiting on somebody to look into it then until the bug is actioned the answer to your question is probably no. I would suggest that you add your comments in the Bug Tracker linking back to this topic.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Sikro
Registered User
Posts: 2
Joined: Wed Sep 26, 2018 7:35 pm

Re: Another - The file environment.yml does not exist

Post by Sikro » Wed Sep 26, 2018 7:37 pm

Any news on this? I am getting the exact same error. No idea how to solve this. My entire board is not functioning.

Post Reply

Return to “[3.2.x] Support Forum”