A TimThumb error has occured,主题出现这个错误puock

我的主题是puock-2.7.10,其他的主题应该也差不多,出现这种问题时


Warning: touch(): Utime failed: Permission denied in /www/wwwroot/jiuliang/wp-content/themes/wordpress-theme-puock-2.7.10/timthumb.php on line 219

A TimThumb error has occured

The following error(s) occured:

  • Could not create the index.html file - to fix this create an empty file named index.html file in the cache directory.



Query String : w=280&h=160&a=c&zc=1&q=90&src=http://jiuliang/wp-content/themes/wordpress-theme-puock-2.7.10/assets/img/random/1.jpg
TimThumb version : 2.8.14

解决方法:

把主题中的cache缓存目录改成777权限,我的是bt面板所以直接改

命令行可以:

 chmod 777 cache

完美解决

相关推荐

  1. 为什么会出现粘包这个问题

    2024-02-07 12:30:05       35 阅读
  2. npm install 出现canvas错误

    2024-02-07 12:30:05       18 阅读
  3. Prokka: ubuntu安装的时候出现错误

    2024-02-07 12:30:05       50 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-07 12:30:05       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-07 12:30:05       106 阅读
  3. 在Django里面运行非项目文件

    2024-02-07 12:30:05       87 阅读
  4. Python语言-面向对象

    2024-02-07 12:30:05       96 阅读

热门阅读

  1. Makefile 和 Bash 脚本之间区别和联系

    2024-02-07 12:30:05       51 阅读
  2. Python面试题1-6

    2024-02-07 12:30:05       46 阅读
  3. Bug地狱 #1 突然宕机,企业级应用到底怎么了

    2024-02-07 12:30:05       53 阅读
  4. home work day5

    2024-02-07 12:30:05       52 阅读
  5. 2024/2/6

    2024-02-07 12:30:05       49 阅读
  6. 计算机网络相关题目及答案(第四章)

    2024-02-07 12:30:05       56 阅读
  7. win11安装mysql8.3.0压缩包版 240206

    2024-02-07 12:30:05       55 阅读
  8. 拼音笔记笔记

    2024-02-07 12:30:05       52 阅读
  9. 什么是大模型

    2024-02-07 12:30:05       47 阅读
  10. #P12365. 相逢是首歌

    2024-02-07 12:30:05       44 阅读
  11. SQL--DQL

    SQL--DQL

    2024-02-07 12:30:05      39 阅读
  12. Postgresql自定义函数—表名作为函数参数

    2024-02-07 12:30:05       56 阅读
  13. postgresql 初始化驱动支持高可用配置

    2024-02-07 12:30:05       43 阅读