General > Support
Fatal error: Unsupported operand types in /Mibew/libs/classes/Mibew/Cache/CacheFactory.php
Dmitriy Simushev:
I've just missed one more mistake in your configs section. The correct one is:
--- Code: ---# Cache subsystem
cache:
# This value determines where the cached data will be stored. Possible
# values are "none", "file_system" and "memcached".
#
# If "none" is used the caching will be disabled. This option should be used
# only if none of the other options works.
#
# If "file_system" is used the cached data will be stored in files within
# the "cache/" directory. Notice, that the file system storage does not work
# on NFS systems bucause exclusive file locks are not supported where.
#
# If "memcached" is used the cached data will be stored in Memcached
# storage. Before using this kind of storage make sure PHP's memcached
# extension is installed and enabled.
storage: file_system
# The lines below represents default Memcached server configurations. They
# will be used only if the "storage" option is set to "memcached".
memcached_servers:
- host: localhost
port: 11211
# The "weight" field is optional and can be omitted.
weight: 0
# Actually, one can use any number of memcached servers he wants. Just
# add servers description like the one above.
--- End code ---
You would be better to read something about YAML format before asking more questions...
stanhills11:
Thank you very much Dmitriy Simushev. I had a few other issues as well but I fixed those. Actually this was a new thing for me and I was basically in testing phase. Thank you very much for you help and support. :)
Navigation
[0] Message Index
[*] Previous page
Go to full version