dsw8292301 2017-05-08 13:56
浏览 9
已采纳

WordPress上传没有显示,在某些情况下我看到死亡的白屏

Recently I have installed my own-made theme on my WordPress and after that a few problems have occurred.

Firstly when I upload a photo or file from my site's admin panel it does not show up under Media tab. and when I try to define a thumbnail for a post I cannot see the photos. Therefore I deactivated my own-made theme and changed it to 2017 WordPress theme. after that when I uploaded images they showed up in my Media tab but again when using one of them as a post thumbnail (after reactivating my theme) they showed up like below:

This is how the thumbnail shows on my website

I've tried several ways to fix this issue such as:

1) Deactivating my whole plugins.

2) Increase PHP Memory Limit by editing the wp-config.php file:

define( 'WP_MEMORY_LIMIT', '256M' );

3) Changing file permissions of my site's uploads folder and etc.

Secondly when I activate my own-made theme some times I see the popular white screen of death.(For example when I define a new category and press the publish key I get redirected to a white empty page) And I don't know what problem my theme has that makes this happen.

What changes must be done to my own-made theme in order to fix the white screen of death and uploads issues?

  • 写回答

1条回答 默认 最新

  • douzhan8303 2017-05-10 15:32
    关注

    After trying a lot I turned debugging mode on I found that my functions.php file has a problem as soon as I fixed it both uploads problem and white screen of death issue were disappeared. Thanks a million.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
  • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)