I have made no changes to my site since I last knew it was working (> 90 days ago).
Now when accessing www.simfra.com (home page) it is giving me this message: Whoops \ Exception \ ErrorException (E_WARNING)
require(/home/simfraco/public_html/cms/application/config/doctrine/proxies/__CG__ConcreteCoreEntitySiteSiteTree.php): failed to open stream: No such file or directory.
The directory is indeed completely empty.
How can I reset?
If you have ssh access to your web server Iâd run the c5:ent:refresh CLI command
Do generated entities time out like cache entries? If not, perhaps they should, so all entities get refreshed every 6 hours or so and also connected to cache clearing so entities are refreshed when the cache is cleared.
Warning! Be advised, this advise is from someone that doesnât have a good understanding of how and why the doctrine/proxies files get created.
That being said, I have a sandbox server with a couple v9.02 default installs, Elemental and Atomik.
- Using the serverâs file manager I renamed proxies to proxies.tmp, then created an new empty proxies folder
- I was able to create the same error
- I copied the contents of the the Atomic proxies folder to Elemental
- The Elemental site opened and seemed okay, but I canât be 100% sure it wouldnât be causing some other problem
If you donât have shell access, maybe you can create a new default instance of Concrete on the same server, and copy the proxies files set.
I can send a copy of my files, but Iâm assuming they would have server specific attributes, and have less chance of working.
I hope that helps, I know what itâs like when a site youâre administrating wonât run (Note, it wasnât ConcreteCMS site)
I ran concrete/bin/concrete5 c5:entities:refresh.
Now the proxies directory has been populated with many __CG__ConcreteCoreEntity⌠files but not the âŚSiteSiteTree.php thatâs still missing, causing the error that still occurs.
I notice in the code shown around the error that there appears to be an âautogenerateâ option of AUTOGENERATE_FILE_NOT_EXISTS - is it possible to set this somewhere? The code appears to find a value of AUTOGENERATE_NEVER.
Can v9.0.2 run okay on concrete.charset âUTF-8â?
The âEnvironment & details:â error created shows UTF-8.
You will get issues. You need a database configured for UTF-8 MB4
Humm⌠just had a staging site lose all Doctrine proxies overnight. It was working when I went to bed and when I woke up, the application/config/doctrine/proxies folder was empty. How did that happen? Who knows. Garbage collection gone wild? Luckily, I had a recent proxies folder on my localhost that I uploaded and all seems to work fine. Question⌠why is the system so fragile as to completely crash if these are gone? Perhaps regenerate if theyâre missing?
All of my doctrine/proxy/__CG__ConcreteCoreEntity files disappeared on updating from 9.2 to 9.3. I have a backup of these files on the server but canât copy them into the proxies folder, either per sftp or provider webspace explorer accessâŚ
