Products
GG网络技术分享 2025-03-18 16:12 14
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
图片转代码服务由CSDN问答提供
感谢您的意见,我们尽快改进~
功能建议我是WordPress开发的全新手。 我最近在我的本地机器上开发了一个WordPress网站并托管到一个实时服务器。 该网站工作得很好,但自从我托管以来,管理面板没有加载到进度条之外,如图所示。</ p>
我尝试使用duplicator插件进行托管 实时服务器,因为它不能像上面提到的那样工作,我尝试使用FTP传输所有文件,但结果是相同的。 有人可以帮帮我吗?</ p>
网址是www.manalodyfamily.com </ p>
在此输入图片说明 </ p>
</ div>
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.
###
The problem is in charset of db. Open wp-config.php file and just change charset to utf8 & comment the old one.
define(\'DB_CHARSET\', \'utf8\');
Thanks
Demand feedback