Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
Description
When in dev environment, for everyrequest you do to a ezplatform installation you can see a error in the profiler. error says
Couldn't find any SiteAccess with 'eng-GB' as main language.
and come from https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/Helper/TranslationHelper.php#L263-L271
my ezpublish.yml looks now exactly as
ezpublish: repositories: demo_repository: engine: legacy connection: default siteaccess: # Available siteaccesses list: - demo_site # Siteaccess groups. Use them to group common settings. groups: demo_site_group: [demo_site] default_siteaccess: demo_site match: URIElement: 1 imagemagick: enabled: false # System settings, grouped by siteaccess and/or siteaccess group system: demo_site_group: repository: demo_repository var_dir: var/ezdemo_site languages: - eng-GB session: name: eZSESSID default: content: view_cache: true ttl_cache: true # TTL cache (http) in seconds # Note that Http cache for a given content is always invalidated when publishing that content default_ttl: 300 # Stash is used for persistence cache stash: caches: default: drivers: # When using multiple webservers, you must use Memcache or Redis - FileSystem inMemory: true registerDoctrineAdapter: false # On Windows, using FileSystem, to avoid hitting filesystem limitations # you need to change the keyHashFunction used to generate cache directories to "crc32" # FileSystem # keyHashFunction: crc32
so, i guess that log error is because we have no siteaccess (but siteaccessgroup) defined in this yml file?
Attachments
Issue Links
- relates to
-
EZP-24930 Preview iframe URI assumes the eZ Platform is setup in Host SiteAccess matching
- Backlog