当我输入任何类型的条目时,会显示这种类型的错误,并且管理面板无法正常工作,但是当我从myphpadmin中删除条目时,一切都会正常
警告: require(C:\ xampp \ htdocs \ app \ cache \ prod / doctrine / orm / Proxies__CG__MediaBundleEntityMedia.php): 无法打开流:在该目录中没有这样的文件或目录 C:\ xampp \ htdocs \ vendor \ doctrine \ common \ lib \ Doctrine \ Common \ Proxy \ AbstractProxyFactory.php 在第209行
严重错误:require():需要打开失败 'C:\ xampp \ htdocs \ app \ cache \ prod / doctrine / orm / Proxies__CG__MediaBundleEntityMedia.php' (include_path ='C:\ xampp \ php \ PEAR')在 C:\ xampp \ htdocs \ vendor \ doctrine \ common \ lib \ Doctrine \ Common \ Proxy \ AbstractProxyFactory.php 在第209行
config_prod.yml
imports:
- { resource: config.yml }
#framework:
# validation:
# cache: validator.mapping.cache.doctrine.apc
# serializer:
# cache: serializer.mapping.cache.apc
#doctrine:
# orm:
# metadata_cache_driver: apc
# result_cache_driver: apc
# query_cache_driver: apc
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
console:
type: console
confing.yml
imports:
- { resource: parameters.yml }
- { resource: security.yml }
- { resource: services.yml }
- { resource: "@AppBundle/Resources/config/services.yml" }
参数: 区域设置:zh files_directory:“%kernel.root_dir%/ .. / public_html / uploads /” files_directory_mp3:“%kernel.root_dir%/ .. / public_html / files /” files_directory_read:'/ uploads /' files_directory_read_mp3:“ / files /” token_app:“ 8cve98hty47h2uf0dfg4re7fg0wdhn24ffr3er3reg67yu20” fire_base_key:AIzaSyCWwALLUkDm_ya6EstPhP3ft-tSCPcCfeU 框架: 译者:{fallbacks:[en]} 秘密:“%secret%” 路由器: 资源:“%kernel.root_dir%/ config / routing.yml” strict_requirements:〜 形式:〜 csrf_protection:〜 验证:{enable_annotations:true} #serializer:{enable_annotations:true} 模板: 引擎:['twig','php'] default_locale:“%locale%” Trusted_hosts:〜 受信任的代理:〜 会议: #handler_id设置为null将使用php.ini中的默认会话处理程序 handler_id:〜 碎片:〜 http_method_override:是
树枝: 调试:“%kernel.debug%” strict_variables:“%kernel.debug%”
学说: dbal: 驱动程序:pdo_mysql 主机:“%database_host%” 端口:“%database_port%” dbname:“%database_name%” 用户:“%database_user%” 密码:“%database_password%” 字符集:UTF8 #如果使用pdo_sqlite作为数据库驱动程序: #1.在parameters.yml中添加路径 #例如database_path:“%kernel.root_dir%/ data / data.db3” #2.取消注释parameter.yml.dist中的database_path #3.取消注释下一行: #路径:“%database_path%”
orm:
auto_generate_proxy_classes: "%kernel.debug%"
naming_strategy: doctrine.orm.naming_strategy.underscore
auto_mapping: true
dql:
string_functions:
SHA1: AppBundle\DQL\Sha1
fos_user: db_driver:orm#其他有效值为'mongodb','couchdb'和'propel' firewall_name:主要 user_class:UserBundle \ Entity \ User
swiftmailer:
运输:“%mailer_transport%”
主机:“%mailer_host%”
用户名:“%mailer_user%”
密码:“%mailer_password%”
假脱机:{类型:内存}
ivory_ck_editor:
配置:
user_config:
语言:“ en”
宽度:“ 100%”
高度:“ 400px”
filebrowserBrowseRoute:“ media_index”
filebrowserBrowseRouteAbsolute:true
工具栏:[['Undo','Redo'],['Cut','Copy','Paste'],[“ Bold”,“ Italic”,“ Underline”,“ TextColor”],['JustifyLeft', 'JustifyCenter','JustifyRight','JustifyBlock'],['NumberedList','BulletedList',“ Checkbox”],[“ BidiLtr”,“ BidiRtl”]]
uiColor:“#ffffff”
removePlugins:'elementspath'
step_config:
语言:“ en”
宽度:“ 100%”
高度:“ 200px”
filebrowserBrowseRoute:“ media_index”
filebrowserBrowseRouteAbsolute:true
工具栏:[['Undo','Redo'],['Cut','Copy','Paste'],[“ Bold”,“ Italic”,“ Underline”,“ TextColor”],['JustifyLeft', 'JustifyCenter','JustifyRight','JustifyBlock'],['NumberedList','BulletedList',“ Checkbox”],[“ BidiLtr”,“ BidiRtl”]]
uiColor:“#ffffff”
removePlugins:'elementspath'
liip_imagine:
解析器:
默认:
web_path:
web_root:%kernel.root_dir%/ .. / public_html /
cache_prefix:上传/缓存
装载机:
默认:
文件系统:
data_root:%kernel.root_dir%/ .. / public_html /
filter_sets:
快取:〜
image_thumb:
质量:100
筛选器:
缩略图:{尺寸:[300,300],模式:出站}
image_image:
质量:100
筛选器:
缩略图:{尺寸:[1024,720],模式:出站}
album_thumb:
质量:100
筛选器:
缩略图:{尺寸:[450,450],模式:出站}
image_thumb_api:
质量:100
筛选器:
缩略图:{尺寸:[400,260],模式:出站}
图片:
质量:100
筛选器:
缩略图:{size:[50000,50000],模式:outbound}
video_thumb_api:
quality: 100
filters:
thumbnail: { size: [400, 200], mode: outbound }
category_thumb:
quality: 100
filters:
thumbnail: { size: [200, 200], mode: outbound }
category_thumb_api:
quality: 100
filters:
thumbnail: { size: [100, 100], mode: outbound }
language_thumb:
quality: 100
filters:
thumbnail: { size: [200, 200], mode: outbound }
language_thumb_api:
quality: 100
filters:
thumbnail: { size: [100, 100], mode: outbound }
application_thumb_icon:
quality: 100
filters:
thumbnail: { size: [100, 100], mode: outbound }
application_thumb_cover:
quality: 100
filters:
thumbnail: { size: [400, 260], mode: outbound }