dqy006150 2016-12-09 21:35
浏览 38
已采纳

Wordpress - localhost - 无法上传图片,搜索插件

I've seen a handful of people with this exact same issue but nothing I found fixed the issue for me.

I’ve recently created a new WordPress on localhost (wordpress 4.7 on wampserver, windows) with a child theme running off of twentyseventeen main theme. I can access the site itself and the admin dashboard however when I try and access the media library, the loading spinner just keeps spinning and never loads the library.

From within a page/post/library I can upload a media file but get an error on the front end of the dashboard: ‘An error occurred in the upload. Please try again later.’

If I look in the uploads folder the image is there along with all size variations.

I also can’t search for a plugin, when I enter a search term it just keeps showing the loading spinner and nothing ever happens.

Another user had the same issue but said changing the .php file encoding to utf-8 with BOM fixed his issue. I tried encoding all to utf-8 with and without BOM but neither worked.

Someone has to have been able to fix this issue, any ideas?

  • 写回答

2条回答 默认 最新

  • dongra1984 2016-12-09 23:58
    关注

    Nope, everything was good. There was no issues with local permissions, no additional plugins were causing any errors either. I decided to lose the twentyseventeen theme and use the naked theme as the base for my custom child theme and the problem was solved. There seams to be something wrong with the twentyseventeen theme. Atleast running locally.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿