2016-10-19 100 views
0

只是一个新手问题,但我不知道如何处理此错误,请。include_once未能打开流:没有这样的文件或目录 - WordPress的

http://mobitel.esy.es/

警告: include_once(/home/u320415047/public_html/wp-content/themes/thestore/lib/thestore-metaboxes.php): 未能打开流:没有这样的文件或目录中 /home/u320415047/public_html/wp-content/themes/thestore/functions.php 第8行

警告:include_once()的:异常开口 “/家/ u320415047 /的public_html /可湿性粉剂内容/主题/ thestore/lib目录/ thestore-metaboxes.php” ,用于包容(include_path中= ':/选择/ PHP-5.5 /梨')在 /home/u320415047/public_html/wp-content/themes/thestore/functions.php 第8行

警告: include_once(/home/u320415047/public_html/wp-content/themes/thestore/lib/custom-config.php): 无法打开流:没有这样的文件或目录 /home/u320415047/public_html/wp-content /主题/ thestore/functions.php的 第9行

警告:include_once()的:异常开口 '/home/u320415047/public_html/wp-content/themes/thestore/lib/custom-config.php' 为含延髓(include_path中= ':/选择/ PHP-5.5 /梨')在 /home/u320415047/public_html/wp-content/themes/thestore/functions.php 第9行

回答

0

看起来像部你的主题被损坏或没有正确上传。它告诉你,你丢失了一些文件,它的尝试包括:

  • 的wp-content /主题/ thestore/lib目录/定制的config.php
  • 的wp-content /主题/ thestore/lib中/ thestore- metaboxes.php

仔细检查这些文件存在,如果不尝试重新安装你的主题

+0

会做先生:)谢谢 –

+1

这解决了我的问题,谢谢:) –

0

在WordPress当您在functions.php的文件,必须引用正确的文件路径,使用内建get_template_directory()函数

include(get_template_directory() .'/file.php'); 
相关问题