dongpu1908 2017-02-13 09:26
浏览 61
已采纳

Wordpress管理页面未加载

I'm a complete newbie on WordPress development. I recently developed a WordPress website on my local machine and hosted to a live server. The website works totally fine, but ever since I hosted, the admin panel is not loading up beyond the progress bar as shown in the pic.

I tried using the duplicator plugin for hosting to the live server and since it doesn't work as mentioned above I tried transferring all the files using FTP but the result was same. Can someone help me on this, please?

The website URL is www.manalodyfamily.com

enter image description here

  • 写回答

2条回答 默认 最新

  • dsgdsf12312 2017-02-14 09:45
    关注

    After digging deep found the issue on the Theme used (TESSERACT Theme). There were this line of code which was trying to open up a file,

    $file_handle = fopen($csvFile, 'r');
            while (!feof($file_handle) ) {
                $line_of_text[] = fgetcsv($file_handle, 1024);
            }
    

    Since the fopen() returned False, the loop went infinite, stopping all further loading of the page. I could solve it making a minor change

    $file_handle = fopen($csvFile, 'r');
            if($file_handle)
                {
                while (!feof($file_handle) ) {
                    $line_of_text[] = fgetcsv($file_handle, 1024);
                }
            fclose($file_handle);
            }
    

    PS: The hosting provider notified me about the size of website getting larger and larger day by day, where It had eaten up 16GB of space in place of 120MB actual required. This leads me tracking the error log and found the bug inside the theme.

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

报告相同问题?

悬赏问题

  • ¥15 单片机配网,继电器开关,广播
  • ¥60 Qcustomplot绘制实时动态曲线
  • ¥20 运用matlab画x-y图
  • ¥15 用idea运行项目,运行tomcat报错:断言失败
  • ¥15 Sqlserver查询链接服务器数据问题
  • ¥15 Bibtex4Word 引用中文文献
  • ¥20 用opencv c/c++ 转换成灰度图,然后做一下直方图均衡,输出mp4文件
  • ¥20 matlab中的双层数值积分
  • ¥50 服务器打印水晶报表问题
  • ¥30 gradle环境下javafx项目如何使用druid连接池