dpu66046 2018-05-24 15:43 采纳率: 0%
浏览 511

PHP致命错误:require():无法打开所需的'/ mnt / web112 / c3 / 44/58344944 / htdocs / WordPress_SecureMode_01 / wp-includes / random_c

I'll be honest, I have very little programming experience.. Some person offered me to make a website for my mom's dog grooming website and it all went good for a year or so and just recently the page doesnt do what is was supposed to do. I've tried to reload to a backup that my hosting generates from time to time, I guess. SO I've made it to a logfile and this came up;

24.05.2018 17:18:39 kluifje.info [client 143.179.63.0] PHP Fatal error: require(): Failed opening required '/mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/random_compat/random.php' (include_path='.:/opt/RZphp56/includes') in /mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/compat.php on line 435

This is the last line of the log, where it all started with, after I tried to load a backup it gave me this

24.05.2018 12:43:27 kluifje.info [client 212.78.74.0] PHP Fatal error: require(): Failed opening required '/mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/random_compat/random.php' (include_path='.:/opt/RZphp56/includes') in /mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/compat.php on line 435 24.05.2018 12:48:33 kluifje.info [client 212.78.74.0] AH01215: PHP Warning: require(/mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/random_compat/random.php): failed to open stream: No such file or directory in /mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/compat.php on line 435: /home/strato/http/premium/rid/49/44/58344944/htdocs/WordPress_SecureMode_01/wp-login.php 24.05.2018 12:48:33 kluifje.info [client 212.78.74.0] AH01215: PHP Fatal error: require(): Failed opening required '/mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/random_compat/random.php' (include_path='.:/opt/RZphp56/includes') in /mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/compat.php on line 435: /home/strato/http/premium/rid/49/44/58344944/htdocs/WordPress_SecureMode_01/wp-login.php

But I switched back to the most recent backup, so I guess the first blockquote should be back .

Can anyone please help me figure this out? My mom's kinda f*cked because she's losing customers. Might find a decent loyal person to maintain her page..

I am familiar with ftp clients so I should be able to download the files and put them back in if needed.

  • 写回答

1条回答 默认 最新

  • douba9776 2018-05-24 16:07
    关注

    Sounds like your hosting provider updated your wordpress install. This will happen from time to time (depending on hosting service). Were there any modifications (customizations) to the original wordpress site?

    This error is specifically telling you that there is a missing file, that is required by the application to run, and that the loader cannot find it.

    In php, there are 2 different ways to include files, requires (require, require_once) and includes (include, include_once). These tell your application to look here, and bring the contents of this page into the current runtime.

    Require is different than includes because if the required file cannot be found, it will crash your application, as you see in your logs.

    Check out this link on requires.

    Here is the file that your system is trying to locate on github random.php.

    My best guess is that was probably there was an update by your hosting provider that was corrupted for some reason. You can probably work with them to re-install your application.

    评论

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?